piker/piker/brokers/deribit
Gud Boi 17f2048204 Use `datad` names for quote timestamps and search
Finish the market-data naming cleanup after the datad/brokerd
split. Rename the quote receipt field to `datad_ts` across all
five provider producers, its typed schema, the FSP latency reader
and the commented marketstore schema example. Keep timestamp
values and their existing provider-specific semantics unchanged.

Rename `search_w_brokerd()` to `search_w_datad()` together with its
RPC call site. Correct sampler/search task descriptions, the
dropped-feed log and the shared asyncio-spawn comments to reflect
the current actor roles.

This is a coordinated quote-field/RPC-name rename: restart actors
together rather than mixing old producers with new consumers.
Historical design records retain their original names. Keep this
cleanup separate for replay onto the datad-introduction branch.

(this patch was generated in some part by `opencode` using
`openai/gpt-6-astra` (`openai`))
2026-11-27 11:41:14 -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 Use `datad` names for quote timestamps and search 2026-11-27 11:41:14 -05:00
api.py Port service+tests to latest `tractor` APIs 2026-10-07 03:10:41 -04:00
feed.py Use `datad` names for quote timestamps and search 2026-11-27 11:41:14 -05: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