Skip to main content

Module ma_stream

Module ma_stream 

Source
Expand description

Streaming moving average dispatched on MaType — TA-Lib compute_ma parity.

Every one of the nine TA-Lib MA families is wired to its native QuantWave streaming implementation. Previously this enum carried only Sma and Ema variants and a catch-all arm collapsed Wma/Dema/Tema/Trima/Kama/Mama/T3 to SMA, so APO::new(12, 26, MaType::Wma) silently returned an SMA-based APO. There is no silent substitution left: the dispatch is total.

Enums§

MaStream
Streaming MA matching talib_rs’s compute_ma for all nine MaTypes.

Constants§

MA_DISPATCH_MAMA_FASTLIMIT
fastlimit C TA-Lib’s ta_MA.c uses when MAMA is reached through the MA dispatcher.
MA_DISPATCH_MAMA_SLOWLIMIT
slowlimit C TA-Lib’s ta_MA.c uses when MAMA is reached through the MA dispatcher.
MA_DISPATCH_T3_VFACTOR
vfactor C TA-Lib’s ta_MA.c uses when T3 is reached through the MA dispatcher.