GetOrderStatus( <Broker>, <OrderID> );
| <Broker> | The selected Broker |
| <OrderID> | The selected Order ID Number |
This function returns the "status" for the OrderID. This value is most often used to determine the current status of an order placed into MTS.
Return Values
| FILLED | Order Filled |
| PENDING | Order Pending (not filled yet) |
| CANCELLED | Order Cancelled (by user or broker) |
| NO CONNECTION | MTS can't connect to the broker |
| NOT FOUND | MTS can't find the <OrderID> - possibly not in the MTS order log |