Hello, when i place 2 orders, what should be the gap between them. Sometimes i get "Too many requests", and my second trade is ignore. i tried to add a gap of 300 milli seconds, but the error still came.
Thanks for directing me to the post. However i tested it and found that even i have a gap of 1 sec for quote Api, sometimes Kiteconnect gives me same error : "Too many requests".
Support teeam, request you to resolve this problem, this affects the strategies.
@kamaralikhan Request error shouldn't come, if you already have put sleep time of 1 sec.You might be skipping sleep in loop somewhere.Can you paste quote call section of your code.
go through this thread https://kite.trade/forum/discussion/2760/no-of-request-to-api#latest
and https://kite.trade/forum/discussion/comment/16764/#Comment_16764
Thanks for directing me to the post.
However i tested it and found that even i have a gap of 1 sec for quote Api, sometimes Kiteconnect gives me same error : "Too many requests".
Support teeam, request you to resolve this problem, this affects the strategies.
Request error shouldn't come, if you already have put sleep time of 1 sec.You might be skipping sleep in loop somewhere.Can you paste quote call section of your code.
These parameters are working fine for me, though it is a bit relaxed than the specifications.
quoteApi_diff_millisec = 1300
orderApi_diff_millisec = 400
allOtherApi_diff_millisec = 300
Also sleep is never missed in my code, it is called just before placing order.
thanks
kamarali