pub fn iterated_volume_ema(
    iterations: u32,
    prev: EmaVolume,
    smoothing: Fraction
) -> EmaVolume
Expand description

Calculate the iterated exponential moving average for the givenEmaVolumes. iterations is the number of iterations of the EMA to calculate. prev is the previous oracle value; the incoming value is always zero. smoothing is the smoothing factor of the EMA.