Skip to main content

swing_ratio

Function swing_ratio 

Source
pub fn swing_ratio(pct: f64) -> Option<f64>
Expand description

The long-to-short ratio of a pair percent.

Returns None where the ratio is negative or not finite: for a pair percent below 0, of 100 or more, or NaN.