Dear Support, 1. I placed an order and then after obtaining the order_id I tried to place a modifyOrder and the system reported, 'Cannot modify Order is being processed ...." . My question is after obtaining the 'order_id' why is it still reporting under process? 2. Which is a better approach, modifyOrder or placeGTT to set a SL and trigger, bit of reasoning will go a long way. Thanks
You are trying to modify the order when it's still not in the OPEN state. You need to wait till order reaches OPEN or TRIGGER PENDING state. Go through all order status here.
Which is a better approach, modifyOrder or placeGTT to set a SL and trigger, bit of reasoning will go a long way.
SL and trigger are the same things. Are you trying to place 2 orders(target and SL)? If yes, you can use 2 leg GTT orders.
OPEN
orTRIGGER PENDING
state. Go through all order status here. SL and trigger are the same things. Are you trying to place 2 orders(target and SL)? If yes, you can use 2 leg GTT orders.