Cancelling the modification process of modify_order after the trade has been executed?

amandeep179018
I have made a complete program but when the order is executed then due to one reason or another(programming issue) the modification process is not stopped and I get an error because the order is executed and there is no order to be modify (SLM).
So, is there a way for me to stop this modifying process based on order_id or some other program or any function of kite connect?
Tagged:
  • sujith
    You need to check the order status, if an order is executed (completed, canceled, rejected) then you shouldn't modify the order.
Sign In or Register to comment.