Dear Poloniex Users,
We have added a new field called cancelReason to some of the spot trading endpoints, which provides a reason for the cancelation of an order. This field is a code with description as follows:
0: “Not applicable”
1: "As requested by user"
1000-1999: "Due to breach of controls in matching engine
1004: "Due to self-trade"
2000: "Due to margin liquidation"
2001: "Due to margin threshold breach"
2002: "Due to symbol marked as offline"
Below endpoints will show the fields. Please check the api docs for more information.
- Order Details
- Order History
- Smart Order Details - under triggeredOrder field
No change is required, unless the new field needs to be consumed.
Feel free to reach out to us api-support@poloniex.com with any questions.
Thanks.
Poloniex Team