The following information was taken from www.binancе.com
Fellow Binancians,
Binance Futures will change the below order response logic for USDⓈ-M Perpetual Contracts starting from 2023-03-21 09:00 (UTC).
Binance Futures Order Placement Update (2023-03-21)
UI Changes:
- For FOK (Fill or Kill Order), it will be rejected if the order cannot be filled immediately.
- For Post Only Order, it will be rejected if the order cannot be placed as a maker order.
- The above rejected orders will not be kept in order history.
API Changes:
- For orders with timeInForce FOK (Fill or Kill Order), it will be rejected with response error code – 5021 if the order cannot be filled immediately.
- For orders with timeInForce GTX (Post Only Order), it will be rejected with response error code – 5022 if the order cannot be placed as a maker order.
- The above rejected orders will not be kept in order history, and thus will not be found in GET /fapi/v1/order or GET /fapi/v1/allOrders.
Impacted Endpoints:
- POST /fapi/v1/order (HMAC SHA256)
- POST /fapi/v1/batchOrders (HMAC SHA256)
- GET /fapi/v1/order (HMAC SHA256)
- GET /fapi/v1/allOrders (HMAC SHA256)
As the response messages will be different from the previous messages, users are advised to take notice of the order response logic change. Please find more information and examples in the API Change Log on 2023-03-08 (UTC) and this FAQ.
Note: Where any discrepancy arises between the translated versions and the original English version, the English version shall prevail.
Thanks for your support!
Binance Team
Source
Check out more of our latest news here
Leave a comment