☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2018
TUSH123
February 2018
sujith
Order update error
TUSH123
February 2018
edited February 2018
in
Python client
please advise:
ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Traceback: : name 'data' is not defined
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/python/log.py:84:callWithContext
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/python/context.py:118:callWithContext
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/python/context.py:81:callWithContext
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/internet/posixbase.py:610:_doReadOrWrite
--- ---
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/internet/posixbase.py:597:_doReadOrWrite
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/internet/tcp.py:209:doRead
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/internet/tcp.py:215:_dataReceived
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/protocols/tls.py:430:dataReceived
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/protocols/tls.py:400:_flushReceiveBIO
/usr/local/lib/python3.6/site-packages/Twisted-16.3.0-py3.6.egg/twisted/protocols/policies.py:120:dataReceived
/usr/local/lib/python3.6/site-packages/autobahn/twisted/websocket.py:131:dataReceived
/usr/local/lib/python3.6/site-packages/autobahn/websocket/protocol.py:1175:_dataReceived
/usr/local/lib/python3.6/site-packages/autobahn/websocket/protocol.py:1187:consumeData
/usr/local/lib/python3.6/site-packages/autobahn/websocket/protocol.py:1553:processData
/usr/local/lib/python3.6/site-packages/autobahn/websocket/protocol.py:1674:onFrameEnd
/usr/local/lib/python3.6/site-packages/autobahn/twisted/websocket.py:159:_onMessageEnd
/usr/local/lib/python3.6/site-packages/autobahn/websocket/protocol.py:627:onMessageEnd
/usr/local/lib/python3.6/site-packages/autobahn/twisted/websocket.py:162:_onMessage
/usr/local/lib/python3.6/site-packages/kiteconnect/ticker.py:71:onMessage
/usr/local/lib/python3.6/site-packages/kiteconnect/ticker.py:649:_on_message
/usr/local/lib/python3.6/site-packages/kiteconnect/ticker.py:683:_parse_text_message
intra_crude_break_v2.py:576:on_order_update
sujith
February 2018
Are you setting callback properly?
Check out
this
callback has two params.
TUSH123
February 2018
yeah fixed, i think "data" fieldname cant be renamed
This discussion has been closed.
Check out this callback has two params.