Timestamp mismatch in websocket feed



  • Hello,

    I am using the web socket feed and collecting data for around 50 stocks. I am storing the timestamp that is provided in the WebSocket and the system timestamp when I receive the tick. Now, the problem is that my system timestamp shows an earlier time than the time provided by WebSocket. like below:
    Websocket feed timestamp: 09:30:31
    System timestamp: 09:30:30

    Any idea how to resolve this?

    Thanks in advance,
    Regards,
    Rishi A.



  • @rishi123 said in Timestamp mismatch in websocket feed:

    e web socket feed and collecting data for around 50 stocks. I am storing the timestamp that is provided in the WebSocket and the system timestamp when I receive the tick. Now, the problem is that my system timestamp shows an earlier time than the time provided by WebSocket. like below:
    Websocket feed timestamp: 09:30:31
    System timestamp: 09:30:30
    Any idea how to resolve this?
    Thanks in advance,

    post your complete code of websocket, and event handler, subscription, quote update


Log in to reply