Changing variety from 'REGULAR' to 'regular' did the job. I guess there was an issue with the exceptions as it told me invalid api_key/access_token when the real problem was the parameter I had passed.
Thanks
Gotchu here are the logs:
Traceback (most recent call last):
File "place_order.py", line 10, in
order_id = kite.place_order(exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=1, product='MIS', order_type='SL-…
Yes, but that increases my processing by a lot at the benefit of very little additional information. As long as the LTP ticks have negligible lag, my strat is gonna work alright.
No, personally, I have faced no trouble. I was just wondering if there is any lag, as LTP data does not come with a timestamp so I cannot check it for myself.
Thanks for the quick reply!
Thanks that makes a lot of sense. I'm running the ticker in threaded mode and doing my processing on a separate thread, which means that there is no delay on my part.
My question is,
Does the Kite api have an inherent lag (for example, always a mi…