Atleast, if you can send the exchange update timestamp in microseconds, I can use that field to ignore order updates if the exchange timestamp is less than the last received order update's exchange timestamp.
I updated the kiteconnect to latest. Will run and see If I am hitting the issue. BTW, Is there any example where I reset the connection on the fly?
>pip3 show kiteconnect
Name: kiteconnect
Version: 3.7.4
Summary: The official Python client for t…
My kiteconnect version:-
>pip3 show kiteconnect
Name: kiteconnect
Version: 3.7.0b1
Summary: The official Python client for the Kite Connect trading API
Home-page: https://kite.trade
Author: Zer…
Hi Rakesh,
We are not calling on_close() anywhere.
We only register it.
(env3) [ansuman@kuber]~/env3_projects/Infinity/ticks_collection$
>grep on_close ws_threaded.py
def on_close(ws, cod…
Also observed this with OHLC data:-
Why is the last price not equal to close price? So which one should be taken as the close price?
index instrument_token last_price close high low \
0 NSE:ADANIPORTS 38612…
Figured it out.. Looks like we get timestamps in ticks only in Full mode. Is there any example code to process binary payload in python?
>python3 ws_threaded.py …
ok..Looks like I need to implement the on_message() callback handler to get the new packet structure. I am using on_ticks() which sends data in old format.
Yes.."finally" block gets executed. One more issue I am seeing is even after market times are over, I am getting ticks for NSE instruments like Nifty Bank and Nifty 50. This is Kite3.
Looks like there is some bug in the form. Data in between the greater than and lesser than symbols not coming..
Response [200]
class 'requests.models.Response'
Hi Sujith,
Thanks for your response.
To create a kite context, I am not using request token or access token, I am using api key and secret.
131 try:
132 print(" Cre…