Skip to main content

PERP_LEDGER_TOKEN

Constant PERP_LEDGER_TOKEN 

Source
pub const PERP_LEDGER_TOKEN: &str = "__PERP__";
Expand description

Token string marking the PERP (futures) ledger row in get_balance output. Under the manual-account model spot and futures are SEPARATE ledgers; the futures row is appended LAST and carries __PERP__ so consumers can split the two without positional fragility.