Navigation

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

    Websocket disconnecting frequently.

    Test
    2
    3
    26
    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.
    • G
      Gulshan Khubnani last edited by

      Websocket disconnecting frequently, due to that we not able to generate proper canddles.

      For instance, In below canddle, Open and high are improper due to the below reasons

      for Open We face disconnect on the websocket so we got start ticker as 703.05.

      For High, From ticker we got the LTT as NA so we just filter out that ticker.
      Can you please help how we treat if LTT comes as NA.

      Values from Historical data from Smart API
      332504cc-d9d3-4782-9a4a-f460059d2610-image.png

      After generate canddle on our end from ticker data.

      d4510acc-ebdf-443c-ba59-585fb60b03f9-image.png

      ticker data on we got from websocket

      0b6516b4-d48c-40ac-bf80-750e1deb766f-image.png
      nse_cm sf 703.05 374 15083 01-11-2021 14:59
      nse_cm sf 702.6 156 15083 NA
      nse_cm sf 702.6 1 15083 NA
      nse_cm sf 702.6 1 15083 01-11-2021 14:59
      nse_cm sf 702.9 1 15083 01-11-2021 14:59
      nse_cm sf 702.55 20 15083 NA
      nse_cm sf 702.55 20 15083 01-11-2021 14:59
      nse_cm sf 702.5 3 15083 NA
      nse_cm sf 702.5 3 15083 01-11-2021 14:59
      nse_cm sf 702.9 19 15083 NA
      nse_cm sf 702.9 19 15083 01-11-2021 14:59
      nse_cm sf 702.9 11 15083 NA
      nse_cm sf 702.9 11 15083 01-11-2021 14:59
      nse_cm sf 702.85 1 15083 NA
      nse_cm sf 702.85 1 15083 01-11-2021 14:59
      nse_cm sf 702.55 10 15083 NA
      nse_cm sf 702.85 50 15083 NA
      nse_cm sf 702.8 1 15083 NA
      nse_cm sf 702.8 1 15083 01-11-2021 14:59
      nse_cm sf 702.8 2 15083 NA
      nse_cm sf 702.65 242 15083 NA
      nse_cm sf 702.65 242 15083 01-11-2021 14:59
      nse_cm sf 702.8 1 15083 NA
      nse_cm sf 702.55 12 15083 NA
      nse_cm sf 702.55 8 15083 NA
      nse_cm sf 702.55 8 15083 01-11-2021 14:59
      nse_cm sf 702.55 24 15083 NA
      nse_cm sf 702.55 24 15083 01-11-2021 14:59
      nse_cm sf 702.65 3 15083 NA
      nse_cm sf 702.65 3 15083 01-11-2021 14:59
      nse_cm sf 702.65 2 15083 01-11-2021 14:59
      nse_cm sf 702.65 42 15083 01-11-2021 14:59
      nse_cm sf 702.95 347 15083 NA
      nse_cm sf 702.95 347 15083 01-11-2021 14:59
      nse_cm sf 702.95 10 15083 NA
      nse_cm sf 702.95 10 15083 01-11-2021 14:59
      nse_cm sf 703.05 4 15083 01-11-2021 14:59
      nse_cm sf 703.05 4 15083 NA
      nse_cm sf 703.2 7 15083 NA
      nse_cm sf 702.95 120 15083 NA
      nse_cm sf 703.2 5 15083 NA
      nse_cm sf 703.05 200 15083 NA
      nse_cm sf 703.05 200 15083 01-11-2021 14:59
      nse_cm sf 703.05 200 15083 01-11-2021 14:59

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @Gulshan Khubnani last edited by

        HI @Gulshan-Khubnani We are working on websocket we will update you on this.

        G 1 Reply Last reply Reply Quote 0
        • G
          Gulshan Khubnani @admin last edited by

          @admin Ok thanks, and how about we consider the value if ltt comes as NA?

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