Skip to main content

overlap_pct

Function overlap_pct 

Source
pub fn overlap_pct(
    portfolio_weights: &HashMap<String, f64>,
    target_tickers: &HashSet<String>,
) -> f64
Expand description

Overlap %: fraction of portfolio_weights that are in target_tickers