Skip to content

Version 3.0

Latest
Compare
Choose a tag to compare
@Marfusios Marfusios released this 19 Apr 13:45
· 30 commits to master since this release
5af7f4f

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 book
  • IsInactive - 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 statuses OrderStatus.InsufficientBalance and OrderStatus.InsufficientMargin, you can use property IsCanceled in order to find out terminated state)