It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
AMO failing using kite publisher
When I am trying to place multiple AMO's in a loop using KiteConnect(""), most of the times 50% of AMO's are failing with "Error placing order"
Same issue for the last few days. This more or less looks like an issue in Kite's server end. But wonder whey they are asking to raise issue in developers forum.
Can you paste a sample request for which it failed with exact params and response?
The support team is aware of the technicalities of the APIs, they won't be able to provide you with a solution. Hence, they will ask you to post it here.
Below java script is reading values from xml file and adding to kite object
xml file values for which AMO failed.
Please note that for below values AMO was placed successfully in same loop.
(Ignore dot in tags. it is place as tags are messing up in preview)
Response I got for failed AMO's - "Error placing order"
, Any update on above issue?
If you hover over the error message it shows you the full error message. Can you updated us what you are getting?
When I hover over error message "Error placing order" it just says "Too many requests"
edited January 21
, Error is same as Yadhukar reported.
My code has been the same too all along. Have used with 25+ orders too sometimes (even a month ago). This has to be something with server side changes done recently..
To be precise, the code is copy paste of template, nothing special:
var kite = new KiteConnect("................");
& Sujith, Any update?
Any update?? It fails quite regularly. Takes away the ease of scripting/automation.
As a workaround, if you cant fix it now, will adding (automatically) a delay help? But wonder if this can be done without changing individual kite-connect apps..
Could not find any direct way adding delay within a renderButton too.
do we have any update on above issue?
We have informed the concerned team and they are looking into this.
Past 2 days I am able to place AMO's without any error/fail. Anything is done to fix the issue?