v2.8.0
· 2 min read
New
Timestamps in order book snapshots
- For the Get order book REST request, we added a
timestamp
of when the snapshot was generated. - For the Get order book WebSocket action, we added a
timestamp
of the last transaction event. - For the WebSocket Book subscription channel, we added a
timestamp
of the last transaction event in the message.
Response parameters for Get markets
The responses to the GET /markets
REST and WebSocket requests now include the following parameters:
quantityDecimals
(integer)notionalDecimals
(integer)tickSize
(string)maxOpenOrders
(integer)feeCategory
(string)
Changed
New market statuses
We updated the market status logic and added two more statuses in the lifecycle of orders:
trading
: open for trading.halted
: closed for trading. You cannot create, update, or cancel orders.auction
: in transition from closed to open. You cannot create market orders. You can create other order types, but there is still no matching.auctionMatching
: the opening price is calculated. Orders created during theauction
phase that meet the final opening price are matched and executed.cancelOnly
: you can only cancel orders and cannot create or update orders.
Operator ID response parameter
If specified, the operatorId
parameter is now returned in the responses to the following requests:
- REST API: Create order, Update order, Cancel order, and Cancel orders
- WebSocket API: Create order, Update order, Cancel order, and Cancel orders