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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |