Skip to main content

build_market_infos

Function build_market_infos 

Source
pub fn build_market_infos(
    instruments: Vec<Instrument>,
    all_stats: &HashMap<String, (Decimal, Decimal)>,
    all_ivs: &HashMap<String, f64>,
    all_spot_prices: &HashMap<String, f64>,
    all_prev_day_prices: &HashMap<String, f64>,
) -> Result<Vec<MarketInfo>>