Skip to main content

blend_target

Function blend_target 

Source
pub fn blend_target(
    mom_weights: &HashMap<String, f64>,
    intl_weights: &HashMap<String, f64>,
    p_m: f64,
    p_i: f64,
) -> HashMap<String, f64>
Expand description

Build blended target weights: p_m * momentum + p_i * international