Skip to main content

price_oracle_statuses_from_snapshots

Function price_oracle_statuses_from_snapshots 

Source
fn price_oracle_statuses_from_snapshots(
    configured_underlyings: Vec<String>,
    spot_prices: HashMap<String, f64>,
    prev_day_prices: HashMap<String, f64>,
    staleness: HashMap<String, Option<f64>>,
    unhealthy: Vec<String>,
) -> Vec<PriceOracleStatusResponse>