Potential Breaking Changes
Deribit Block Trades returned by the API no longer have the currency field.
Affected methods:
/private/execute_block_trade
/private/get_last_block_trades_by_currency
/private/get_block_trade
private/verify_block_trade: Changed error when minimum amount requirements is not satisfied.
Old
"data": {
"reason": "Minimal total amount for futures: 200000 or minimal total amount for options: 25.0",
"param": "trades"
}
New
"data": {
"reason": "Insufficient minimum amount - at least one of the minimum values must be met.",
"param": "trades",
"minimums": {
"btc_future": 200000,
"btc_option": 25
}
}
⚠️ After this release all active sessions will be removed and all API access/refresh tokens will be invalidated (API keys stay valid).
New Features
Block Trades
- Spot instruments can be included.
- Instruments in different currencies can be included in a single Block Trade.
API Console
Added support for History API (testnet + production), Event nodes (testnet + production) and FIX (testnet).
Non-breaking Changes
New block trades IDs are prefixed with BLOCK, eg. BLOCK-123. Historical block trades are not affected.
"currency" field is ignored in Block Trade API methods:
Affected methods:
- private/execute_block_trade
- private/verify_block_trade
- private/simulate_block_trade