When does the position and trade data comes in websocket?

I guess when my order get executed I would get trade data via websocket.

What happens to position, will I keep getting the MTM data in position if so how offen will I get?

And when will it stop, I mean If I close the position this data will stop is it (unsubscribe will do it, but I want ti understand the functionality)?

I am not able to get this understanding document, if you have one it will help.

Hi @shyam.cqj9mxeg

The position/trade data only comes when the position is taken / squared off , this data only comes if the position is taken/squared off after the websocket is subscribed , as of now we do not provide MTM through Websocket .