Deribit API
/api/v2/private/toggle_portfolio_margining endpoint removal
Stopped workingSubscribe to Deribit APIShare
Calls to /api/v2/private/toggle_portfolio_margining on Deribit API stopped working on December 3, 2024.
Calls it hits
/api/v2/private/toggle_portfolio_margining
What to use instead of these calls
Use /api/v2/private/change_margin_model.
In Deribit API's words
We have removed the legacy method private/toggle_portfolio_margining . Clients are advised to use private/change_margin_model instead.
Facts
- API
- Deribit API
www.deribit.com - Kind
- Endpoint removal
- Announced
- December 3, 2024
- Takes effect
- December 3, 2024
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Deribit API's own pages
Questions
When does this change take effect?
Calls to /api/v2/private/toggle_portfolio_margining on Deribit API stopped working on December 3, 2024.
What happens to calls after December 3, 2024?
They have failed since December 3, 2024.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Deribit API 10
-
/api/v2/private/buyParameter removal Stopped working -
/api/v2/private/edit*Parameter removal Stopped working -
/api/v2/private/sellParameter removal Stopped working -
/api/v2/private/get_portfolio_marginsEndpoint removal Stopped working -
/api/v2/public/get_portfolio_marginsEndpoint removal Stopped working -
/api/v2/public/get_indexEndpoint removal Stopped working -
No date
/api/v2/private/get_pending_block_tradesEndpoint removal Deprecated, no date -
No date
/api/v2/private/buyParameter removal Deprecated, no date -
No date
/api/v2/private/editParameter removal Deprecated, no date -
No date
/api/v2/private/sellParameter removal Deprecated, no date
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.