Skip to main content

swing_pct

Function swing_pct 

Source
pub fn swing_pct(ratio: f64) -> Option<f64>
Expand description

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.