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! client route params)(send! client route params id)Sends a message asyncronously using a map created with polvo.utils.deribit/ws-client.
You can optionally identify requests with an integer :id.
Sends a message asyncronously using a map created with `polvo.utils.deribit/ws-client`. You can optionally identify requests with an integer `:id`.
(ws-client {:keys [testnet? as-is?] :or {testnet? false as-is? false} :as opts})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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |