I am connecting to websocket for portfolio stream for receiving Position and Holding updates, however no tick is being received after opening the connection. I do see the HTTP status as 101 but nothing post that. The market data feed works fine for me but PortfolioDataStreamer doesn’t.
I am using Upstox JAVA SDK version 1.14.
You will receive position or holding updates only when a new position or holding is created while you are connected to the WebSocket. Changes in the P&L of a position are not provided via the WebSocket. Additionally, if you place an order and subscribe to it in the WebSocket, you will receive updates for that order through the WebSocket.