pub fn swing_pct(ratio: f64) -> Option<f64>
The pair percent of a long-to-short ratio.
Returns None for a negative ratio, which no pair has, and where the percent is not finite: for an infinity or NaN.
None