fn resolve_underlying_price( all_spot_prices: &HashMap<String, f64>, underlying: &str, ) -> Result<f64>