☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
April 2020
y_sravan
March 2020
sujith
error while closing CO
y_sravan
March 2020
edited March 2020
in
Python client
seems CO are enabled today after a long time and I'm getting error while closing the order
Order cannot be cancelled as it is being processed. Try later.
order_id:200331000905271, parent_order_id:200331000905271
I could close it manually from web
sujith
March 2020
Can you give us the exact error message from the Kite Connect? We will check and get back to you.
y_sravan
March 2020
edited March 2020
@sujith
this is exactly the error I'm getting in the exception in cancel_order
Order cannot be cancelled as it is being processed. Try later.
sujith
March 2020
You seem to be sending the same order id for both order_id and parent_order_id param.
You need to send second leg order for order_id and parent_order_id for exiting cover order.
y_sravan
April 2020
@sujith
thanks for pointing it.
wonder how same code was working earlier.
anyway we can close this thread, after fixing things are working fine
This discussion has been closed.
Order cannot be cancelled as it is being processed. Try later.
You need to send second leg order for order_id and parent_order_id for exiting cover order.
wonder how same code was working earlier.
anyway we can close this thread, after fixing things are working fine