pub fn swing_ratio(pct: f64) -> Option<f64>
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.
None