I got the solution the format of packet is struct QuoteModeIndex { public uint Instrumenttocken; //4 bytes public uint Ltp; //4 byte public uint Highprice; public uint Lowprice; public uint Openprice; public uint Closeprice; public uint NetChangeFromClose; } @sujith
Its a humble request to zerodha team to update documentations
@sujith PLEASE UPDATE DOCUMENTATIONS FOR API SOME PPL HAVE A CUSTOM IMPLEMENTATION AND WE FACE HUGE ISSUE TO SOLVE PROBLEMS WHEN THEY ARISE. AND HOW TO GET BSE INDICES ?? THANKS.
packet is
struct QuoteModeIndex
{
public uint Instrumenttocken; //4 bytes
public uint Ltp; //4 byte
public uint Highprice;
public uint Lowprice;
public uint Openprice;
public uint Closeprice;
public uint NetChangeFromClose;
}
@sujith
Its a humble request to zerodha team to update documentations
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.
PLEASE UPDATE DOCUMENTATIONS FOR API
SOME PPL HAVE A CUSTOM IMPLEMENTATION AND WE FACE HUGE ISSUE TO SOLVE PROBLEMS WHEN THEY ARISE.
AND HOW TO GET BSE INDICES ??
THANKS.
We will update it soon.