Hi, I m trying to building OHLC data with quote packet..I just need the latest price and time stamp. But the quote data is not providing the timestamp but its shown in the documentation.
so would it make sense to use the current PC time stamp for the tick data using LTP mode of websocket?
Yes, you may if you are just concerned about raw OHLC data for that period. Basically, the exchange timestamp represents the timestamp of the received tick packet. There can be a few microseconds difference w.r.t local system timestamp nothing but major for personal consumption.
Hi Rakesh, i used the websocket with full mode. However, in some of my candles the open or close is a tick behind the live zerodha site...I am getting the tick itslef in the previous timeslot. For eg for 2min candle of 9.17am, the tick at9.17.00 is 690 so its taking 690. but zerodha is showing 689 whihc is the tick of 9.16.59...is this one tick mismatch common?
exchange time stamp
field in the tick. The same is being used for candle formation.