piker/piker/brokers/deribit
Esmeralda Gallardo db0b59abaa
Added support for JSONRPC requests coming from the server side
2022-12-19 13:48:10 -03: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 Woops enable backfill_bars in module __init__.py 2022-08-24 19:41:04 -03:00
api.py Added support for JSONRPC requests coming from the server side 2022-12-19 13:48:10 -03:00
feed.py Simplify rpc machinery, and switch refs to Dict and List to builtins, make brokercheck call public broker methods and get their results again 2022-08-25 09:18:52 -03: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