pub fn calculate_new_by_integrating_incoming(
    previous: (EmaPrice, EmaVolume, EmaLiquidity),
    incoming: (EmaPrice, EmaVolume, EmaLiquidity),
    smoothing: Fraction
) -> (EmaPrice, EmaVolume, EmaLiquidity)
Expand description

Calculate the new oracle values by integrating incoming values with the previous oracle. Uses a weighted average based on the smoothing factor.