deribit-nodejs
Deribit.com v2.0.0 NodeJS REST API
Install
yarn add deribit-nodejs
Setup
ENV vars (used if no params provided to constructor)
DERIBIT_SAFE=1 // Read-only modeDERIBIT_TESTNET=1 // TestnetDERIBIT_KEY=key_here // API KeyDERIBIT_SECRET=secret_here // API Secret
Import
REST
Constructor
const rest = key secret testnet = false timeout = 500 keepAlive = true
Generic API calls (case-insesitive) from https://docs.deribit.com/ and https://www.deribit.com/api_console/
const res = await rest
rest