It is the same code as given in the documentation. After running it I am only getting the message for successful subscription.
General : {'code': 1605, 'message': 'Successfully subscribed', 's': 'ok'}
After this message no data is coming through the socket [for trades, positions]. Provided I had open trades when I ran this.
My use case:
Once I place an order I want to receive real-time updates for my position.