(expand x)
Helper for generating combinatorial channel names.
Helper for generating combinatorial channel names.
(http-client & options)
A closure over fn request allowing to provide default args for testing? api-key, api-secret and as-is? Returning function may be called with a param map or named args.
A closure over fn request allowing to provide default args for testing? api-key, api-secret and as-is? Returning function may be called with a param map or named args.
(http-request route
&
{:keys [params testing? key secret as-is?]
:or {params {} testing? false key nil secret nil as-is? false}})
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 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 [key secret handlers testing? as-is?]
:or {key nil secret nil handlers {} testing? false as-is? false}})
Creates a websocket client. Handlers are passed to gniazdo.core/client
(see stalefruits/gniazdo.
Returns a map with keys :client
(the actual client) and :opts
with metadata.
Creates a websocket client. Handlers are passed to `gniazdo.core/client` (see [stalefruits/gniazdo](https://github.com/stalefruits/gniazdo). Returns a map with keys `:client` (the actual client) and `:opts` with metadata.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close