Function position
pub fn position(r: &PositionRecord, board: &str, now: Instant) -> PositionExpand description
A position in an instrument. board is the trading mode of the instrument (the broker does not name it in a
position, the connector looks it up). The quantity is in pieces and signed. The average price is None when
the broker gives none or zero (futures).