Convert CO Limit order to CO Market order

sabyasm
sabyasm edited May 2018 in General
Is it possible to convert CO Limit order (not yet executed, still in OPEN status) to CO Market order?

Would below be the signature of that call?

modify_order(order_id="XXXX",order_type="MARKET",trigger_price=XX)

Note: I tried this and even though there isn't any api failure, the order_type doesn't change only the trigger_price changes.

So - shall I assume that CO Limit order conversion to CO Market order can not be done via modify_order. What is the other alternative? Cancel the original order and place a Market CO with desired parameter?
  • sujith
    Yes, you need to cancel that order and place another order.
  • sujith
    You can't modify first leg LIMIT order to MARKET order.
Sign In or Register to comment.