It is first important to understand NinjaTrader Order Status types:
PENDINGSUBMIT - Order submitted
REJECTED - Order rejected
PENDINGCANCEL- Cancel requested but not confirmed
CANCELLED - Cancel confirmed
FILLED- Order filled
ACCEPTED- Accepted at broker
WORKING- Accepted at exchange
ACCEPTED(light blue color in DOM) andWORKING (green color in DOM) are the two states we need to be concerned with to determine order resting location. Whenever an order is WORKING it means the order is resting at the exchange. Should anything happen to your PC or internet connection your order is still alive and working.
If an order isACCEPTED it can mean several things.
For Patsystems -
It means the order is synthetic and the order is resting on your PC. If your PC crashes or your internet connection goes down, this order will be lost.
For Interactive Broker and MB Trading -
It means the order is resting on the broker's order server. If your PC crashes or your internet connection goes down, this order is still alive at the broker. If the broker's servers go down, then the order is not active and potentially lost.
How do I know which order types willreceive anWORKING (resting at the exhange) state?
This is dependant on the exchange itself and what order types they choose to support as native exchange order types. For example, all stop order types on ECBOT are NOT exhange supported where GLOBEX stop order types are.