Questions regarding ZStreamingQuote

balasoft80
@instruritesh
I am using ZStreamingQuote for streaming and just subscribed for one stock tatamotors and this is how I received the data.

Quote: StreamingQuote [time=11:43:51, instrumentToken=884737,
Quote: StreamingQuote [time=11:43:53, instrumentToken=884737,
Quote: StreamingQuote [time=11:43:55, instrumentToken=884737,
Quote: StreamingQuote [time=11:43:56, instrumentToken=884737,
Quote: StreamingQuote [time=11:43:57, instrumentToken=884737,
Quote: StreamingQuote [time=11:44:09, instrumentToken=884737,
Quote: StreamingQuote [time=11:44:12, instrumentToken=884737,
Quote: StreamingQuote [time=11:44:14, instrumentToken=884737,
Quote: StreamingQuote [time=11:44:17, instrumentToken=884737,

So if you see the timing here some are taken 2 seconds, some are taken 5 seconds and some are just 1 second. From my understanding I feel we should receive data for every seconds correct? Correct me if I wrong. I don't have much idea about websocket. Since the time is very critical factor in trading would like to understand is there any gap in code or parsing time or internet slowness which could be corrected.

Please note that I am not faulting the code or something. Just trying to understand where is gap and whether it can be corrected.

If anyone using the same API and aware of it please guide me. thanks much
Sign In or Register to comment.