everything was working till yesterday. any help would be really appreciated.
Error
Unhandled Error Traceback (most recent call last): File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\python\log.py", line 96, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\python\log.py", line 80, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\python\context.py", line 117, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\python\context.py", line 82, in callWithContext return func(*args, **kw) --- --- File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\internet\selectreactor.py", line 148, in _doReadOrWrite why = getattr(selectable, method)() File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\internet\tcp.py", line 248, in doRead return self._dataReceived(data) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\internet\tcp.py", line 253, in _dataReceived rval = self.protocol.dataReceived(data) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\protocols\tls.py", line 339, in dataReceived self._flushReceiveBIO() File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\protocols\tls.py", line 305, in _flushReceiveBIO ProtocolWrapper.dataReceived(self, bytes) File "E:\aaa\Myproj\src\venv\Lib\site-packages\twisted\protocols\policies.py", line 110, in dataReceived self.wrappedProtocol.dataReceived(data) File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\twisted\websocket.py", line 291, in dataReceived self._dataReceived(data) File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\websocket\protocol.py", line 1213, in _dataReceived self.consumeData() File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\websocket\protocol.py", line 1225, in consumeData while self.processData() and self.state != WebSocketProtocol.STATE_CLOSED: File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\websocket\protocol.py", line 1591, in processData fr = self.onFrameEnd() File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\websocket\protocol.py", line 1713, in onFrameEnd self._onMessageEnd() File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\twisted\websocket.py", line 319, in _onMessageEnd self.onMessageEnd() File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\websocket\protocol.py", line 634, in onMessageEnd self._onMessage(payload, self.message_is_binary) File "E:\aaa\Myproj\src\venv\Lib\site-packages\autobahn\twisted\websocket.py", line 322, in _onMessage self.onMessage(payload, isBinary) File "E:\aaa\Myproj\src\venv\Lib\site-packages\kiteconnect\ticker.py", line 71, in onMessage self.factory.on_message(self, payload, is_binary) File "E:\aaa\Myproj\src\venv\Lib\site-packages\kiteconnect\ticker.py", line 679, in _on_message self.on_ticks(self, self._parse_binary(payload)) File "E:\aaa\Myproj\src\ticker\ZerodhaTicker.py", line 68, in on_ticks tick.lastTradedQuantity = bTick['last_quantity'] builtins.KeyError: 'last_quantity'
last_traded_quantity
.