Skip to main content

portfolio

Function portfolio 

Source
pub fn portfolio(
    records: &[PositionRecord],
    board_of: impl Fn(&str) -> String,
    now: Instant,
) -> Portfolio
Expand description

The portfolio from the positions of the broker; board_of gives the board of a ticker.