Randomly switching my mode from 'full' to 'quote' after reconnection.

dinnu93
dinnu93 edited August 2020 in Python client
: 608}]}, 'mode': 'full', 'last_trade_time': datetime.datetime(2020, 8, 25, 13, 35, 52), 'buy_quantity': 273906, 'oi_day_high': 0, 'instrument_token': 315393}]
ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None)
ERROR:kiteconnect.ticker:Connection closed: 1006 - connection was closed uncleanly (None)
DEBUG:root:Ticks: [{'last_price': 24.65, 'volume': 18297, 'sell_quantity': 49227, 'last_quantity': 1, 'change': -2.1825396825396854, 'average_price': 24.76, 'ohlc': {'high': 25.45, 'close': 25.2, 'open': 24.3, 'low': 24.3}, 'tradable': True, 'mode': 'quote',
How do I not let it happen ?
Tagged:
This discussion has been closed.