fn new_underlying_snapshot( underlying: &str, spot_prices: &HashMap<String, f64>, ) -> PortfolioMarginUnderlyingSnapshot