Skip to main content

balance

Function balance 

pub fn balance(r: &PositionRecord, now: Instant) -> Balance
Expand description

The balance of a money position: the amount of the currency named by the symbol. The broker reports the amount in the quantity; it does not split a part blocked by orders, so blocked is zero.