Skip to main content

v2.9.0

· 3 min read

New

Fill amounts in WebSocket order events

To allow you to track the filled amounts for your orders and calculate the average fill prices, we added the following parameters to the order event of the Track your orders WebSocket channel:

  • filledAmount: The amount of the base currency that was filled.
  • filledAmountQuote: The amount of the quote currency that was filled.

Execution type indicator in WebSocket events

In the order event of the Track your orders WebSocket channel, we added an executionType parameter to indicate how the order was updated. Depending on the type, it can have one of the following values: new, trade, canceled, expired, updated, triggered, or restated.

Changed

HTTP status code when market data is unavailable

We now return a more specific HTTP status code when market data is not available. If the market is in a halted, auction, or auctionMatching status and you send a Get order book request, we now return 409 Conflict instead of 503 Service Unavailable.

In this case, there is a conflict with the current market status, not the availability of the service.

Operator ID is now a required parameter

The operatorId is now be a required request parameter in the following requests:

Failing to specify the operatorId in the request now results in an error response.

Reason for order status change

We added a new restatementReason parameter to specify the reason for the order status change, for example when an order is canceled by the Price protection checks. This parameter is returned in the responses and events of the following requests:

Removed

orderId query parameter

We removed the deprecated orderId query parameter from the Get orders REST API request.

tradeId query parameter

We removed the deprecated tradeId query parameter from the Get trades REST API and WebSocket API requests.