Okapi Okapi

Deribit API stop_price query parameter removal on /api/v2/private/sell

Stopped workingSubscribe to Deribit APIShare

Calls to /api/v2/private/sell, query parameter stop_price on Deribit API stopped working on June 4, 2024.


Calls it hits

  • /api/v2/private/sell
  • query parameter stop_price

What to use instead of these calls

Send trigger_price instead of stop_price.

In Deribit API's words

Removed the deprecated stop_price param, which was replaced by trigger_price , from /private/buy, /private/sell and /private/edit* .

Deribit API, Announcement

Facts

API
Deribit API www.deribit.com
Kind
Parameter removal
Announced
June 4, 2024
Takes effect
June 4, 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/sell, query parameter stop_price on Deribit API stopped working on June 4, 2024.

What happens to calls after June 4, 2024?

They have failed since June 4, 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

  1. /api/v2/private/buyParameter removal Stopped working
  2. /api/v2/private/edit*Parameter removal Stopped working
  3. /api/v2/private/toggle_portfolio_marginingEndpoint removal Stopped working
  4. /api/v2/private/get_portfolio_marginsEndpoint removal Stopped working
  5. /api/v2/public/get_portfolio_marginsEndpoint removal Stopped working
  6. /api/v2/public/get_indexEndpoint removal Stopped working
  7. No date /api/v2/private/get_pending_block_tradesEndpoint removal Deprecated, no date
  8. No date /api/v2/private/buyParameter removal Deprecated, no date
  9. No date /api/v2/private/editParameter removal Deprecated, no date
  10. 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.

Add to GitHub

Get notifications

Subscribe to Deribit API

Hear about each breaking change Deribit API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Deribit API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.