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
Cannot cancel order using python client
This is the error I am getting:
"DELETE /orders/regular/b'181105002237130'?order_id=181105002237130&variety=regular HTTP/1.1" 500
and the exception is this: GeneralException("Couldn't find that `order_id`.",)
But the order_id is correct and there in the system.
Can you re-check order status of above order_id, it would have executed in between, so you are not able to cancel it.
Also, can you retrive
complete individual order status by order_id and check current status
edited November 2018
I placed the order, got order_id and then made request to cancel it. So the order was there in OPEN status. I confirmed the same from web UI as well. This problem is happening with all of the orders. So I think the problem is with API or the Python client.
Can you retrive complete individual order status by order_id and PM me response of those order's?
it's working now.
This discussion has been closed.