pub fn into_smoothing(period: OraclePeriod) -> Fraction
Expand description

Convert a given period into the smoothing factor used in the weighted average. See [check_period_smoothing_factors] for how the values are generated.