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

last-idclj

(last-id client)

Last id used by client.

Last id used by client.
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

send!clj

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

ws-clientclj

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

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

× close