☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2022
Andy2188
February 2022
SRIJAN
February 2022
rakeshr
Unable to exit the Market order.
Andy2188
February 2022
in
Python client
Order is placed successfully and is open. while placing the exit order, it fails with below error:
>>> kite.exit_order(variety=kite.VARIETY_REGULAR, order_id = orderId)
kiteconnect.exceptions.InputException: Order cannot be cancelled as it is being processed. Try later.
Upon checking the order status, the order is in completed state as seen below:
'order_id': '220207500185656', 'exchange_order_id': '1000000064185255', 'parent_order_id': None,
'status': 'COMPLETE',
Am is missing something here? How to exit the open orders?
rakeshr
February 2022
Go through
order placement FAQs here
.
SRIJAN
February 2022
edited February 2022
Exit order is only for co. How can you exit a order which is completed?You have to place a reverse transaction type order with the same quantity you have to exit a position.
Andy2188
February 2022
Hi Rakesh, Srijan,
Got it. Thanks for the update.
This discussion has been closed.
Got it. Thanks for the update.