Thanks, got it. Below is my code snippet in case some user needs it.
rmessage = b'\x00\x01\x00\x08\x00\x03\xe9\t\x00#`r'
b_id = rmessage[-7:-4]
b_ltp = rmessage[-3:]
id = (int.from_bytes(b_id, byteo…
I had been using kite to get ltp. But it keeps timing out, hence i was advised to use sockets. If you could just guide me about the bytestream structure for 'ltp' that would be great. Example bytestream: :b'\x00\x01\x00\x08\x00\r\x80\x01\x00\x01h\x8…
I tried Websockets, the ltp call returned:
b'\x00\x01\x00\x08\x00\r\x80\x01\x00\x01h\x8c'
I referred to Kite Websocket documentation, it says: LTP. Packet contains only the last traded price (8 bytes).
But, i am unable to extract ltp from the byt…
I also noticed, when these errors occur, Kite web too fails to update chart. Example : if i want to change from Nifty to Banknifty chart, then Kite web takes a long time to bring up the chart.
I have the code running for many years now. I cant m…
I tried tracert to api;kite.trade and to google.com:
tracert api.kite.trade
Tracing route to api.kite.trade [2606:4700:8d73:3271:7bd7:5d:6810:2132]
over a maximum of 30 hops:
1 2 ms 1 ms 1 ms 2405:201:1e:b831:6a14:1ff:fe19:eaf6
2…
10 calls after every 6 seconds. It has always been fine and this has started very recently. I think the ping statistics is relevant, packets are lost and time taken is 59ms which is quite high. Ping to google.com resulted in no packets lost and 6ms …