WebSocket OHLC data incorrect

divyapunj
Hi

I was trying to record the data from the websocket streaming.

What I observed is that the data had the correct last price but the OHLC nested fields of
>Open,
>High,
>Low
>Close

Were incorrect.

Infact for each of the subscribed instrument all the Open values were the same, similarly the case for close, high and open.

ex:-
reliance all open are 1124 (all close would be 1124.2)
ACC all open are 1014 (all close would be 1015)

The fun part is that the Last_Price and all the other values are ticking correctly.

What is the reason for this?

Thanks
Divya Punj
  • sujith
    Hi @divyapunj,
    OHLC, you get in websockets is days' data. Hence it will be same values throughout the day unless high or low gets changed.
Sign In or Register to comment.