What is the updateTime? The time, when the order was last edited by the user?
And what about isWorking? Is this not redundant to status? For example, if status: "NEW", then isWorking is also true. So what is the sense for distinguishing between isWorking and status?
What is the updateTime ? The time, when the order was last edited by the user?
updateTime is the timestamp of the last state change of the order (ex. Partially Filled, Filled, Expired ect…)
And what about isWorking? Is this not redundant to status? For example, if status: "NEW", then isWorking is also true. So what is the sense for distinguishing between isWorking and status?
IsWorking is a flag, commonly used when placing STOP orders, to indicate if the order is/was in-effect or not.
For instance, when a stop order is first placed, isWorking is set to False. When the stop price is hit, the isWorking flag is set to True. No matter the price variation while the stop order is working, the isWorking flag will not change value. Once the stop order is filled, the isWorking flag remains True.
Status, on the other hand, is used to provide a more detailed context to the state of the order as opposed to a 2-state variable [boolean].