-
In order to further improve platform performance, reduce latencies and protect the system from abuse, Deribit will no longer allow unauthenticated connections to subscribe to raw book changes. This change will affect WS users only. The test environment has been updated to reflect this change.
We have public and private messages, see API docs. Public messages can be accessed via an authenticated connection or unauthenticated. As of 15 Jan we will not allow access to only one of many public subscriptions, the raw feeds. All other public requests remain available via an unauthenticated connection.
These API endpoints are affected by the change:
book.{instrument_name}.raw
ticker.{instrument_name}.raw
trades.{instrument_name}.raw
trades.{instrument_kind}.{currency}.raw
perpetual.{instrument_name}.raw
It is not required to switch from public_subscribe to private_subscribe but is recommended. Code that is handling public/subscription and private/subscription is almost the same, in private we additionally support label parameter.
As of now in test any attempt to subscribe to book.instrument.raw is rejected with "raw_subscriptions_not_available_for_unauthorized".
-
Furthermore, as further security enhancement Deribit will add Yubikey functionality as well as multiple 2FA keys for different assignments like general account management (Master), signing in, and wallet management (deposits & withdrawals).
-
Lastly, we will add the ability for clients to receive fee vouchers or coupons. When a fee coupon has been received this will increase the fee balance which is visible in the transaction log as well as the account summary. Any trade will first use the fee balance before any regular fee is charged. The following API changes will be implemented:
- in response of private/get_transaction_log - additional field added for every log:fee_balance with current value of fee balance
- in response of private/get_account_summary - additional field added:fee_balance with current value of fee balance
- in notification: user.portfolio.{currency} - additional field added:fee_balance with current value of fee balance
- the API changes can be found here: https://docs.deribit.com/next
15 January 2022
- Updated