I am getting the streaming data using the following code for Nifty 50, however am not getting the date & time stamp. Moreover, while my request is for full mode, I am getting only quote. Can you help, what I am missing? ==================================== from kiteconnect import WebSocket api_key = "XXX" public_token = "XXX" user_id = "XXX" tokens =[53372167] pa=WebSocket(api_key,public_token,user_id) def on_tick(tick,wbskt): print(tick)
You seem to be using an old version of Kite Connect which will be deprecated soon. You need to use Kite Connect 3. You can check out the kite3 branch for latest Kite Connect. By default when you subscribe for data, it will be subscribed in Quote mode and from the second tick, you will receive data in full mode.
You can check out the kite3 branch for latest Kite Connect.
By default when you subscribe for data, it will be subscribed in Quote mode and from the second tick, you will receive data in full mode.