Features
Order
class now contains new properties that groups order statuses together
IsCanceled
- true if the order was canceled by user or by error (insufficient balance, not able to be maker (postonly), etc.)IsActive
- true if the order is placed in the order bookIsInactive
- true if the order was removed from order book (canceled or executed)
Breaking changes
- It no longer returns status
OrderStatus.Canceled
when the order was canceled by error 'insufficient balance' (there are new statusesOrderStatus.InsufficientBalance
andOrderStatus.InsufficientMargin
, you can use propertyIsCanceled
in order to find out terminated state)