pandas append not working in on_tick

sanket_one
sanket_one edited May 2020 in Python client
i am trying to add (by using append ie history = history.append({'inst':inst,'open':o,'high':h,'low':l,'close':c},ignore_index=True) ) ohlc data to pandas DataFrame after every tick but i getting an error [1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)].
This discussion has been closed.