Deribit is a cryptocurrency derivatives exchange. It trades futures and options on Bitcoin (BTC) and Etherium (ETH). For speed reasons the Deribit plugin uses uses the Websocket API for most functionality and REST for historical data. Deribit has a production and a test API; the plugin connects in real mode to the production API and in test mode to the testnet API.
Accounts.csv example entry:
Deribit has 4 types of symbols: Index, Perpetual Futures, Futures, and
Index: Coin name, either "BTC" or "ETH".
Perpetual Futures: [Coin]-PERPETUAL, e.g. "ETH-PERPETUAL".
Futures: [Coin]-DDMMMYY, where MMM is a 3-letter capitalized string, e.g. "BTC-26MAR21".
Options: [Coin]-DDMMMYY-[Strike]-[P/C], e.g. "ETH-25JUN21-340-C".
For options and futures, the contract functions can be used with "BTC" or "ETH" as the underlying.
The Deribit plugin supports the brokerCommand function with the following commands:
Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol BTC,57125,3.5,0,0,0.0001,0.0001,0,0,0.0001,0,* BTC-PERPETUAL,57125,3.5,0,0,0.05,0.0000111643,0.0000022329,0,10,-0.25,* BTC-26MAR21,57125,3.5,0,0,0.05,0.0000111643,0.0000022329,0,10,-0.25,* ETH,1991,0.05,0,0,0.0001,0.0001000000,0,0,0.0001,0,* ETH-PERPETUAL,1991,0.05,0,0,0.05,0.0000011164,0.0000004466,0,1,-0.25,* ETH-26MAR21,1991,0.05,0,0,0.05,0.0000011164,0.0000004466,0,1,-0.25,*
► latest version online