Function map_ws_portfolio
pub fn map_ws_portfolio(
positions: &[WsPortfolioPosition],
now: Instant,
) -> EventExpand description
Maps a portfolio WebSocket message to an Event::Portfolio. The rules are those of
map_rest_portfolio. Every message is a full portfolio, not a change.