Provides REST and Websocket clients for Deribit.
Provides REST and Websocket clients for Deribit.
(expand x)
Helper for generating combinatorial channel names.
Helper for generating combinatorial channel names.
(http-client options)
Creates an http client for Deribit.
Options:
key
, secret
: api keys.
as-is?
: when false
does not convert keys to kebab-case keywords.
testnet?
: if true
, uses testnet.
Creates an http client for Deribit. Options: `key`, `secret`: api keys. `as-is?`: when `false` does not convert keys to kebab-case keywords. `testnet?`: if `true`, uses testnet.
Available conversions from keywords to channels.
Available conversions from keywords to channels.
(parse-instrument instrument)
Parses a instrument name. Returns nil if instrument name is invalid.
Parses a instrument name. Returns nil if instrument name is invalid.
(send deribit-ws route & [params & {:keys [id] :or {id nil}}])
Sends a message asyncronously using a map created with popolvo.utils.deribit/ws-client
.
You can optionally identify requests with an integer :id
.
Sends a message asyncronously using a map created with `popolvo.utils.deribit/ws-client`. You can optionally identify requests with an integer `:id`.
(ws-client {:keys [key secret testnet? as-is?]
:or {testnet? false as-is? false}})
Creates a websocket client for Deribit.
Options:
key
, secret
: api keys.
as-is?
: when false
does not convert keys to kebab-case keywords.
testnet?
: if true
, uses testnet.
Creates a websocket client for Deribit. Options: `key`, `secret`: api keys. `as-is?`: when `false` does not convert keys to kebab-case keywords. `testnet?`: if `true`, uses testnet.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close