There is difference in the price like if at some time price on kite chart for a minute candle is between 2331.47 low and 2331.97 is high , but in live tick candle for the same minute price is 2333.35 . Can you please explain the reason?
But after 15:25 I am not getting data. Is it just for upto 15:25?
For EQ, Websocket streaming is till EQ market close(15:30). For an illiquid contract, there might be no ticks. You can check for few active EQ contracts.
some time price on kite chart for a minute candle is between 2331.47 low and 2331.97 is high , but in live tick candle for the same minute price is 2333.35
Can you let us know the instrument's name with timestamp, etc? Maybe paste a tick debug log.
just now i got this error ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None) INFO:root:Connection error: 1006 - connection was closed uncleanly (None) ERROR:kiteconnect.ticker:Connection closed: 1006 - connection was closed uncleanly (None) INFO:root:WebSocket connection thrown error: 1006 - connection was closed uncleanly (None) I am running my strategies using api . It does not show any connection isuue but i am downloading tick data using web socket every day once or twice it show this error. How to fix this ?
I used thsi piece of code to handle the error but it is also not working def on_error(ws, code, reason): logging.info("Connection error: {code} - {reason}".format(code=code, reason=reason)) if code == 1006: # Connection was closed uncleanly kws.on_reconnect = on_reconnect
Tick data is already available for these instruments till 15:29:59.
PS: Make sure to remove app and client specific tokens.
ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None)
INFO:root:Connection error: 1006 - connection was closed uncleanly (None)
ERROR:kiteconnect.ticker:Connection closed: 1006 - connection was closed uncleanly (None)
INFO:root:WebSocket connection thrown error: 1006 - connection was closed uncleanly (None)
I am running my strategies using api . It does not show any connection isuue but i am downloading tick data using web socket every day once or twice it show this error. How to fix this ?
I used thsi piece of code to handle the error but it is also not working
def on_error(ws, code, reason):
logging.info("Connection error: {code} - {reason}".format(code=code, reason=reason))
if code == 1006: # Connection was closed uncleanly
kws.on_reconnect = on_reconnect