Function pallet_ema_oracle::into_smoothing
source · pub fn into_smoothing(period: OraclePeriod) -> FractionExpand 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.