Websocket disconnecting frequently.


  • 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


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


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