Liking cljdoc? Tell your friends :D

polvo.utils.exchanges.deribit

Provides REST and Websocket clients for Deribit.

Provides REST and Websocket clients for Deribit.
raw docstring

expandclj

(expand x)

Helper for generating combinatorial channel names.

Helper for generating combinatorial channel names.
sourceraw docstring

http-clientclj

(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.
sourceraw docstring

kw->subscriptionclj

Available conversions from keywords to channels.

Available conversions from keywords to channels.
sourceraw docstring

parse-instrumentclj

(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.
sourceraw docstring

routesclj

source

sendclj

(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`.
sourceraw docstring

ws-clientclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close