New features/changes:
Rejection of orders with invalid quantity or price
Currently, Deribit truncates orders with an invalid quantity or price that does not conform to tick size (futures and options) to the minimum Deribit granularity of the quantity or price.
Example: an order to buy 3.11 BTC options contracts will today get truncated to 3.1 contracts as 0.1 contract is the minimum allowed quantity increment
As of 20 October 2021, all orders with invalid quantity or price parameters will be rejected and no longer truncated
Affected methods:
-
private/buy
-
private/sell
-
private/edit
-
private/verify_block_trade
-
private/execute_block_trade
Detailed response for private/cancel_all* and private/cancel_by_label methods
[APIv2][Enhancement] Passing optional detailed: true parameter for private/cancel_all* and private/cancel_by_label methods changes response of those method to contain detailed report of cancelling errors/results
New access log subscription
[APIv2][New] Added new subscription user.access_log with documentation, method: private/get_access_log made visible in documentation for public
Change of allowed scope for get_portfolio_margins
[APIv2] Allow to use private/get_portfolio_margins with account:read scope (previously we required more restrictive account:read_write)
Allow providing complex parameters in GET requests
[APIv2] Allow providing complex parameters in GET requests as uri encoded strings (trades parameter in private/verify_block_trade and private/execute_block_trade)
Skip block trades in events
[FIX] Added possibility to request skipping block trades in market data (MarketData Request (V): added DeribitSkipBlockTrades (9011))
Improvement to sorting of bids and asks for book subscriptions
[APIv2] reversed sorting of the bids and asks list generated by the "change" event of book.{instrument_name}.{interval} and book.{instrument_name}.{group}.{depth}.{interval} subscription channels