Skip to main content

get_symbol_theoretical_price

Function get_symbol_theoretical_price 

Source
pub async fn get_symbol_theoretical_price(
    greeks_cache: &dyn GreeksCacheReader,
    symbol: &str,
) -> Result<f64>
Expand description

Return the canonical valuation for a symbol used by risk-style displays.

Options use theoretical values from the vol-oracle-backed Greeks cache. Perps and raw underlyings use spot prices from the same cache.