2023-01-12 V1 api breaking changes during the alpha period
Rest
- A new id generation algorithm is adopted, please make sure to use int64 type to store ids, using int32 may overflow.
- Removed
GET /allOrders
API - Added
GET /historyOrders
API - The
GET /order
API only returns inactive orders, please use the GET /openOrder or GET /openOrders APIs for active orders query. - The
responseType
field in the POST /order
API is removed. - The
DELETE /order
API and DELETE /allOpenOrders
API now return 204 http status and no data in body.
Websocket
- In the
ORDER_UPDATE
event in Account Stream, the orders
field is changed to order
, the filed type is changed from list
to object
. - A new event type
TRADE_UPDATE
is added to Account Stream. - The
sequence
field in Orderbook Stream Update Event is replaced by two new fields beginSequence
and endSequence
.
Data structure
- The trades field is no longer included in the return of Order data.