Historical API returns data for one instrument at a time. I want to have previous days close and ltp for multiple instruments at a very specific time.
Rest assured am not pooling API and using WebSocket as required.
Today it was disconnected only once and reconnected later. But frequent disconnection is a problem.
2018-07-09 09:57:07,657 - kiteconnect.ticker - ERROR - Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection wit…
kite.ltp, kite.position API's are terribly goofed up.
For some reasons when I decided to poll kite.position API to get pnl value it would not show correct pnl.
Due to the frequent disconnection of the ticker, I decided to poll kite.ltp api and en…
@zartimus last_trade_time and timestamp should have correct value . Setting them None will cause issues or more code to handle value None. I'm not sure how feasible that is at your end or if you want the value to be None
Made following changes in ticker.py
to suppress error
# Parse full mode
if len(packet) == 184:
try:
#last_trade_time = datetime.fromtimestamp(_unpack_int(packet, 44, 48))
if _unp…
Run the ticker program in FULL MODE few minutes before the market opens.
I'm using below tokens
tokens=[9843458, 9844994, 9853698, 9872642, 9880066, 9880578, 9883138, 9884674, 9885442, 9886466, 9886978, 9888002, 9889538, 9890050, 9890306, 9890562,…
After reconnection and subscribing for only one token, the first tick was received on 2018-05-31 09:15:08.
2018-05-31 09:15:01,674 - kiteconnect.ticker - ERROR - Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP conne…
The ticker stops working after a while! Can you please check ?
2018-05-29 11:29:25,037 - kiteconnect.ticker - DEBUG - last ping was 2.5006039142608643 seconds back.
2018-05-29 11:29:25,294 - kiteconnect.ticker - DEBUG - last pong was 2.49759697914…
Attached list of tokens I'm subscribing to. In Mode_FULL mode when I subscribe to only one token I'm receiving ticks, but when subscribing to the attached list I'm getting an error.
ProgramData\Anaconda3\lib\site-packages\kiteconnect-3.7.0b11-py3.6.egg\kiteconnect\ticker.py", line 670, in _on_message
File "C:\ProgramData\Anaconda3\lib\site-packages\kiteconnect-3.7.0b11-py3.6.egg\kiteconnect\ticker.py", line 794, in _pa…
https://kite.trade/docs/connect/v3/websocket/ Documentation says 1000, and in one answer you say 2000 and in one answer above you say 200. Please clarify