Hi, i need little bit help. lets suppose, i have executed trade on NIFTY 21500 CE which will be a Intraday->Market->Buy order. now after some time i just want to modify this order to exit on market price i can’t do that using modify api in node js. it gives me following error. “No pending order found”. is it the thing that, i can only modify pending order and not executed one?
Can you give more detail on this. Are you trying to modify placed order or pending order?
i was trying to modify placed order
Modify api is only to modify a pending order , in the scenario mentioned from you’re end the order is already executed and you want to exit it.