Function pallet_ema_oracle::into_smoothing
source · 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.