Understanding all 13 OrderStatus states in TWS-Link
Posted: Thu Mar 15, 2018 2:05 am
Hello,
If we place an order at the same time as the price moves outside of the CME's "price bands" (and therefore the market gets paused for 10 seconds) this example would mean our order gets "Rejected" by the CME exchange.
--> What value (id) does OrderStatus return when the order is Rejected?
--> Does OrderStatus return "Cancelled" (id=10) when order is actually "Rejected" by the Futures exchange?
--> When does OrderStatus return a state called "invalid"?
--> When does OrderStatus return a state called "inactive"?
--> What is an "invalid" and "inactive" OrderStatus? Would you please be able to give some simple examples?
--> What does "cancel transmitted" mean, when would this happen?
Just trying to get the "order handling" done safely from within our TradeStation EasyLanguage strategy code.
Many thanks in advance.
Kind regards,
Rod
If we place an order at the same time as the price moves outside of the CME's "price bands" (and therefore the market gets paused for 10 seconds) this example would mean our order gets "Rejected" by the CME exchange.
--> What value (id) does OrderStatus return when the order is Rejected?
--> Does OrderStatus return "Cancelled" (id=10) when order is actually "Rejected" by the Futures exchange?
--> When does OrderStatus return a state called "invalid"?
--> When does OrderStatus return a state called "inactive"?
--> What is an "invalid" and "inactive" OrderStatus? Would you please be able to give some simple examples?
--> What does "cancel transmitted" mean, when would this happen?
Just trying to get the "order handling" done safely from within our TradeStation EasyLanguage strategy code.
Many thanks in advance.
Kind regards,
Rod