Here it is
# Callback for tick reception.
def on_ticks(ws, ticks):
if len(ticks) > 0:
insert_ticks.delay(ticks)
# logging.info("Current mode: {}".format(ticks["mode"]))
# Callback for successful connection.
def on_connect(ws,…
@rakeshr Thanks for the quick response. I have checked it and have realized that the prefix is displayed only in the output. It doesn't affect my code. Thanks for pointing it out.
I am also getting the same errors.
1. requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)
2. NetworkException: Request failed (kitetrade-common).
I am making one request per second…