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.
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.
And also if I closed the window from the trade button then no method is called
if I closed the window from the trade button Is there any method got called?