20 March 2021

  • Updated

WebSockets / REST

Possibly breaking changes:

  • We have removed estimated_liquidation_price from positions in user.changes.{instrument_name}.{interval} notifications. 

  • In responses of /private/get_position and /private/get_positions methods estimated_liquidation_price is returned as null if it has undefined value (previously we returned 999999.99 in such case). 

  • Field name change Fields rpl, upl have been renamed to session_rpl, session_upl to maintain the same naming convention as in other methods. Also we have added documentation for previously undocumented /private/get_transaction_log method.

Other changes:

  • Added estimated_liquidation_ratio field to user.portfolio.{currency} notifications - it is returned only for non PM users though. Users can use this ratio to determine the estimated_liquidation_price of their future positions by multiplying the current position market price by this ratio. 

FIX

  • FIX Security Status correctly returns "Enabled" information. 

  • CancelReplace without specified DeribitMMProtection field does not reset the current order's flag anymore. 

  • Connections using API key with trade scope "none" will not receive ExecReports anymore. 

New UI Features

  • We have added the possibility for users to add notes to deposits & withdrawals & transfers. This note will also become visible in the transaction log.