Liking cljdoc? Tell your friends :D

binance-clj.client

Public data-oriented client lifecycle and execution facade.

Public data-oriented client lifecycle and execution facade.
raw docstring

client?clj

(client? value)

Returns true when value is a client created by this namespace.

Returns true when value is a client created by this namespace.
sourceraw docstring

close!clj

(close! client)

Closes the transport at most once. Repeated calls are safe and return false.

Closes the transport at most once. Repeated calls are safe and return false.
sourceraw docstring

closed?clj

(closed? client)

Returns whether client lifecycle has been closed.

Returns whether client lifecycle has been closed.
sourceraw docstring

create-clientclj

(create-client)
(create-client {:keys [registry services stage-overrides] :as options})

Creates a client map without opening a network connection.

Pipeline services and stage overrides exist for boundary injection and contract tests. A reusable JDK HTTP transport is created by default without connecting.

Creates a client map without opening a network connection.

Pipeline services and stage overrides exist for boundary injection and contract
tests. A reusable JDK HTTP transport is created by default without connecting.
sourceraw docstring

execute!clj

(execute! client endpoint-id)
(execute! client endpoint-id params)

Executes endpoint-id with immutable params through the generic pipeline.

Executes endpoint-id with immutable params through the generic pipeline.
sourceraw docstring

next-client-order-idclj

(next-client-order-id client)

Generates a client order id through the client's configured service.

Generates a client order id through the client's configured service.
sourceraw docstring

public-configclj

(public-config client)

Returns the client's non-sensitive, serializable configuration view.

Returns the client's non-sensitive, serializable configuration view.
sourceraw docstring

register-closeable!clj

(register-closeable! client close-fn)

Registers an idempotent no-argument close function under client ownership.

Registers an idempotent no-argument close function under client ownership.
sourceraw docstring

signed-user-stream-requestclj

(signed-user-stream-request client request-id)

Builds a fresh secret-bearing UDS request for the WebSocket transport boundary.

This internal connector function must never be logged or placed in diagnostics.

Builds a fresh secret-bearing UDS request for the WebSocket transport boundary.

This internal connector function must never be logged or placed in diagnostics.
sourceraw docstring

synchronize-time!clj

(synchronize-time! client)

Synchronizes the default client clock against Binance server time.

Returns safe timing metadata. Clients configured with a custom :clock own that clock's synchronization and cannot use this helper.

Synchronizes the default client clock against Binance server time.

Returns safe timing metadata. Clients configured with a custom `:clock` own
that clock's synchronization and cannot use this helper.
sourceraw docstring

websocket-urlclj

(websocket-url client channel)

Returns the configured secure URL for an internal WebSocket channel.

Returns the configured secure URL for an internal WebSocket channel.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close