Websocket Options updates go missing

Hi,

Noticed today that option price updates stop coming for specific options over websockets. This happened twice. Will share details soon.

This happened for about 3-5 mins at the peak of Nifty movement!
I think it will be a good idea to fetch last-traded-price for instrument from ā€˜get-positionsā€™ API every 5 seconds. Between websocket and get-position API, code would give preference to get-positions.ltp for the option.

@Ketan is that reliable enough and a good fallback plan?

In this context, you can retrieve the last traded price from the LTP Quote API. For more details, refer to the documentation

1 Like

Thank you so much! I have a workaround for now. :smiley:

Lemme put my coding hat on and burn some night oil now.