Order statuses
An order can be assigned one of the following statuses:
Working — indicates that the order is open and waiting to be executed partially or in full
Completed — indicates that the order has been executed
Cancelled — indicates that the order has been cancelled, either explicitly by a user or because it has not been filled according to the order type settings (for example, in case of a fill-or-kill order)
Rejected — indicates that the order has been rejected (for example, as a result of changing the user profile status to Frozen)
Reverted — indicates that the order has been reverted as a result of rolling back an associated trade