Thanks @sujith
Have one last doubt. in the below code, function is expecting Ltp of the trading symbol.
gtt_oco = kite.place_gtt(trigger_type=kite.GTT_TYPE_OCO, tradingsymbol="SBIN", exchange="NSE", trigger_values=[470,480], last_price=473, …
unable to respond to this discussion - https://kite.trade/forum/discussion/13820/how-to-get-all-strikes-of-index-in-less-than-2-sec#latest
When I try to post the content it is saying i am blocked.
Can you please help me to unblock ?
@ANL
I have gone through above links and got the answer and it worked as well.
When i try to run second time same code I am facing this error "ReactorNotRestartable"
When I close and re-open the spyder and run then it is working.
Here is my code…
@ANL
Thanks a lot !
One last question on this thread, I need to stop socket streaming completely once all tokens are done from data fetching.
I see above ws.unsubscribe([tokens]) is stopping the subscription for tokens But, still socket streamin…
@ANL
Ok, I tried using web socket and getting the required details. But, I would like to stop streaming once I receive data for all strikes in the list.
May I know how to achieve this ?
@tahseen , @rakeshr - Ok, I will stop trying to login in automate way . Please help with any documentation how to generate request token and access token and pass it to algo daily before 9:15 am.
Also, please share the valid time for request and ac…
I don't know what went wrong . Monday and Tuesday it did not work but it worked well today without any issue.
I did not change single line of code though .
Code is fine with kite.instruments('NFO') but it's taking more than 1 to 1.5 min to filter out BANKNIFTY contracts based on given expiry. Looking for alternative to get in less time