@rakeshr Thank you. I will take care of this. Just to be sure, the order history request falls under Quote API, right?
Also, is it possible to use multi threading with Kite Connect? As in, I would like to make a script in which one thread takes ca…
My algo keeps on disconnecting and reconnecting to the kiteconnect servers. I am using 5 if conditions which check the status of different orders using this functions:
status = kite.order_hi…
Thankyou for your response. Do you think this will affect the time of execution for the code which handles the buy and sell operations? (considering that it will have to search for this order_id from more than 100 or 200 orders)
@rakeshr Thank you for your response.
What I mean to ask is, let's say I have 100 orders in my order book and I want to check the status of only a single order using order_id.
kite.orders() : this will give me the complete order book
Thanks @Imran for responding.
I tried this:
`if company_data['timestamp'].minute%ohlc[company_data['instrument_token']] == 0 and company_data['timestamp'].second==59 and ohlc[company_data['instrument_token']] == False:
cnt = cnt+1`
Works Great now. Also, I am trying to calculate candles using a script but if this disconnect and reconnect happens in the middle, I get wrong data in my calculations. Any solution you can think of for this problem?
Thanks a lot for such a quick response and an amazing code. Learnt a lot from this code. Why the semi colons(;) though?
From what I understand is, this code is for backtesting EMA crossovers. (Correct me if I am wrong). Can you please…