Packet structure/format for indices

Please share packet structure/format of indices for LTP and Quote mode.
It seems to be different then scrip quotes.
I have been able to identify packet structure of indices to some extent but still not able to parse it fully correct.
  • sujith
    Hi @jravi96,
    Packet structure for NSE indices is as follows,

    0-4 will be metadata(token)
    4-8 will be last_price
    8-12 will be high
    12-16 will be low
    16-20 will be open
    20-24 will be close
    24-28 will be change

    For more information about parsing binary data, check out python client _parse_binary function here.
  • jravi96
    Thanks @sujith .
    Please mark this discussion closed/resolved.
This discussion has been closed.