Hi, Today morning there was an order for NIFTY17NOV10500CE quantity 600. The API call returned failure status. So the system called the API again, which succeeded. However, later on it is found that there are two orders created - 171101000167019, 171101000167146.
So the first order also went through to the exchange, despite the API returning an error status. This is the first time ever I have seen this behavior. So far, when the API returned an error, no orders were sent to the exchange. Can you pls see this and comment what could possibly be causing this?
Hi @ramatius, This can happen when Kite Connect has placed an order and didn't get a response from OMS. Kite Connect would throw 5xx series of HTTP status code and the message will be gateway timeout. You need to handle and check orderbook before placing next order.
Can you let us know what is the exception message and status code?
This can happen when Kite Connect has placed an order and didn't get a response from OMS.
Kite Connect would throw 5xx series of HTTP status code and the message will be gateway timeout. You need to handle and check orderbook before placing next order.