Modify Order

sunderskite
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
  • rakeshr
    rakeshr edited January 2022
    Cannot modify Order is being processed ...."
    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.
Sign In or Register to comment.