Function portfolio
pub fn portfolio(
p: &PortfolioResponse,
cash: Vec<Balance>,
now: Instant,
) -> PortfolioExpand description
A [Portfolio] from a GetPortfolio answer and the cash you already have.
Positions come from the answer, with currency holdings left out.