- bourse.core.StepEnv.order_status(order_id: int) int
Get the status of an order
- Parameters:¶
- Returns:¶
int
– Status of the order as an integer where:0 = New
Order has not been placed on the market1 = Active
Order is on the market2 = Filled
Order has been filled3 = Cancelled
Order has been cancelled4 = Rejected
Order has been rejected (e.g. a market order in a no-trade period)