Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Inconsistent Data using Websocket

    General Discussion
    0
    1
    19
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rohit4417k last edited by

      Hi @Moderator_2 , @Moderator_3 , @admin

      I am using websocket to log the price of two symbols. The connection has been alive since 3 hours, for the first 2 hours the data was consistent (price on angle one app and price fetched through websocket were same) , but after 12 pm, the price fetched using websocket is not even close to price shown by angel one api.
      Websocket Data - https://drive.google.com/file/d/1AtVCjwaK-ENAmSRZkRX6KAhh6YgHAkbv/view?usp=sharing
      Angel One App Data - https://drive.google.com/file/d/1TGGRRGIlArtBaufI1kqylD1yE8GsJr_u/view?usp=sharing

      Time: 12:34:24 -> BANKNIFTY03JUL2453000CE : 201.4 (websocket) , 183.95( Angel One app)
      This is happening after 12pm today, and is still happening as of this moment.
      I am only fetching the result and logging it in the on_data function of websocketv2.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post