Getting the wrong status for orders placed from trade button

finaureus
Getting the wrong status for orders placed from the trade button.
If I placed an order from the trade button aftermarket hours, then we got the following as the Market is closed right now (attachment added for reference)

Then even after the orders are failed I am getting status as a success, that should not be a case.

If all orders are getting failed API should not return success.
  • rakeshr
    @finaureus
    If all orders are getting failed API should not return success
    Can you paste complete response for this?
  • finaureus
    As per Trade Documentation finished method which is called after execution of trades returns only string so don't able to understand what you mean to say complete response.

    Please refer the code below

    KiteConnect.finished((status, request_token) => {
    });


    The parameter status always returns success despite of actual order status.
Sign In or Register to comment.