tigerapi/enums.h OrderStatus SDK use tigeropen.common.util.order_utils.get_order_status to process state values into enumeration identifiers。
Name
State
State Code
Description
EXPIRED
Invalid
-2
Invalid status
NEW
Initial
-1
Initial status
CANCELLED
Cancelled
4
Cancel status
HELD
Submitted
5
Order submitted
PARTIALLY_FILLED
PartiallyFilled
2, 5, 8
Order partial filled
FILLED
Filled
6
Order filled
REJECTED
Inactive
7
Order Inactive
Note: The status of partial transaction is special, may be HELD, CANCELLED, EXPIRED, REJECTED any kind of status, please see FAQ - transaction - how to determine the order is part of the status of the transaction See also the method of order status in sdk tigeropen.trade.domain.order.Order.status, that is, if the order status returned by the server is HELD(submitted). and there is a partial number of transactions, then the order status is PARTIALLY_FILLED