Liking cljdoc? Tell your friends :D
Clojure only.

binance-clj.filters

Pure local preflight checks for the V1 Spot MARKET and LIMIT order subset.

Pure local preflight checks for the V1 Spot MARKET and LIMIT order subset.
raw docstring

validate-orderclj

(validate-order symbol-info order)
(validate-order symbol-info order {:keys [reference-price]})

Returns a normalized V1 MARKET/LIMIT order or throws a local validation error.

symbol-info is one item from exchangeInfo :symbols; known filter numbers may be raw strings or normalized BigDecimals. MARKET orders using base :quantity require :reference-price when an applicable notional filter exists. No value is rounded or adjusted.

Returns a normalized V1 MARKET/LIMIT order or throws a local validation error.

`symbol-info` is one item from exchangeInfo `:symbols`; known filter numbers may
be raw strings or normalized BigDecimals. MARKET orders using base `:quantity`
require `:reference-price` when an applicable notional filter exists. No value
is rounded or adjusted.
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