20 April 2023

  • Updated

Breaking WS API Changes

  • Removed open_interest from combo book ticker.

    The affected endpoints are:

    - public/ticker

    Affected subscriptions:

    - ticker.{instrument_name}.{interval}

    - incremental_ticker.{instrument_name}

  • private/close_position: returns error if the given price is not a multiple of the tick size

  • The error code 11098 (account_locked) will be returned when the account is locked.

  • The trade endpoints return an error instead of an empty result if a parameter is invalid (time, trade id, …):

    - public/get_last_trades_by_currency

    - public/get_last_trades_by_currency_and_time

    - public/get_last_trades_by_instrument

    - public/get_last_trades_by_instrument_and_time

    - private/get_user_trades_by_currency

    - private/get_user_trades_by_currency_and_time

    - private/get_user_trades_by_instrument

    - private/get_user_trades_by_instrument_and_time

Non-breaking WS API changes

  • Added volume_usd for options and volume_notional (volume in quote currency) for linear futures to ticker and book summary.

    Affected endpoints:

    - public/ticker

    - public/get_book_summary_by_currency

    - public/get_book_summary_by_instrument

  • New endpoints for fetching open orders by label:

    - private/get_open_orders_by_label

    - private/get_order_state_by_label

Non Breaking FIX change

Added possibility to search closed orders by ClOrdID or DeribitLabel via OrderMassStatusRequest (for example when the connection is broken and server-side generated IDs are not received). To do this you can set MassStatusReqType=7 and MassStatusReqIDType=1 for the search by ClOrdID or use MassStatusReqIDType=2 for the search by DeribitLabel. In both cases, Currency or Symbol are required.

Non Breaking Multicast change

Renamed future_type to instrument_type in the Instrument event.