got this error today : HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /orders/191223001184318?order_id=191223001184318 (Caused by ConnectTimeoutError
(, 'Connection to api.kite.trade timed out. (connect timeout…
I had similar problem. I solved it in following manner:
while True:
try:
oid = kite.place_order( details of order here )
except Exception as e:
logging.critical(e)
else:
break
it will keep trying to p…
Even I had it at one occasion. I handled it in my python script like this:
while True:
try:
do something like place order, check order status etc
except Exception as e:
logging.critical(e) #not necessary to log…
@rakeshr I am using flask-script. I start the script like this: python algotrading.py live
This is the live function inside algotrading.py
@manager.command
def live(name):
global token
token = int(name)
kws = KiteTicker(api_key, access…
Thanks Zartimus. That solves the dilemma. I am storing the ticks in a dataframe, creating a new thread inside on_ticks and passing dataframe to this thread.
Thanks Imran.. I find your videos very useful. I shall contact you soon for personal coaching in algo trading.. I need help in setting up algo trading system.
Please confirm if you phone number, as given in youtube video, 9370789912.