Skip to main content

Module balance

Module balance 

Source

Structs§

AssetBalance
AssetBalanceUpdate
Per-asset WS partial balance update (the BalanceUpdate counterpart of AssetBalance).
Balance
Per-asset balance: gross holdings, the freely-tradable portion, and optional margin debt.
BalanceUpdate
Partial balance update carrying only free/locked — the shape delivered by exchange WS user-data streams (e.g. Binance outboundAccountPosition, which reports a/f/l only).
MarginDetails
Per-asset margin debt detail for venues that report borrowing on a per-asset basis (the CEX per-asset-margin class — Binance / Kraken / Bitfinex / dYdX).