piker/piker/brokers/deribit
Tyler Goodlet 641b85df70 Use `.trionics.collapse_eg()` in `.deribit.api`
Commit this change separate from the (original) broader set applied to
the entire code base since the `.deribit.api` mod contained changes from
upstream max-pain work (from our very own @nt) which caused a noticeable
conflict and intros un-required changes from his work to re-enable
`deribit` support.

Note the original commit, "69eac7bb Spurious first-draft of EG
collapsing", applied similar changes through the rest of the code base.
AGAIN, this mod's change is only being broken out to minimize upstream
change conflicts due to updates to the `deribit` backend done earlier in
time-history.
2026-01-06 21:44:19 -05:00
..
assets Add README.rst and brokers.toml section in config example 2022-08-24 18:09:35 -03:00
README.rst Fix link 2022-08-25 09:22:15 -03:00
__init__.py Don't pass loglevel to trade dialog endpoint 2023-06-27 13:41:47 -04:00
api.py Use `.trionics.collapse_eg()` in `.deribit.api` 2026-01-06 21:44:19 -05:00
feed.py Swap out `fuzzywuzzy` for the newer `rapidfuzz` lib 2023-09-13 11:57:02 -04:00

README.rst

deribit backend ------------------pretty good liquidity crypto derivatives, uses custom json rpc over ws for client methods, then cryptofeed for data streams.

status

  • supports option charts
  • no order support yet

config

In order to get order mode support your brokers.toml needs to have something like the following:

[deribit]
key_id = 'XXXXXXXX'
key_secret = 'Xx_XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXx'

To obtain an api id and secret you need to create an account, which can be a real market account over at:

  • deribit.com (requires KYC for deposit address)

Or a testnet account over at:

  • test.deribit.com

For testnet once the account is created here is how you deposit fake crypto to try it out:

  1. Go to Wallet:
  1. Then click on the elipsis menu and select deposit
  1. This will take you to the deposit address page

4) After clicking generate you should see the address, copy it and go to the coin faucet and send fake coins to that address.

  1. Back in the deposit address page you should see the deposit in your history