pub fn portfolio( records: &[PositionRecord], board_of: impl Fn(&str) -> String, now: Instant, ) -> Portfolio
The portfolio from the positions of the broker; board_of gives the board of a ticker.
board_of