Skip to main content

scorecard

Function scorecard 

Source
pub fn scorecard(strength: &[f64], ret: &[f64], threshold: f64) -> Scorecard
Expand description

Grade calls. strength[i] > 0 is an up call, < 0 a down call, 0 no call. Only rows with |strength| >= threshold are graded.