Add TRAMA implementation and comprehensive tests

- Implemented the TRAMA (Trend Regularity Adaptive Moving Average) class with adaptive EMA logic.
- Added unit tests for TRAMA functionality, including constructor validation, basic calculations, state management, and robustness checks.
- Created validation tests to ensure consistency across different modes of operation (streaming, batch, and static calculations).
- Enhanced documentation for TRAMA, including performance profiles and quality metrics.
- Updated workspace configuration by removing unnecessary folder references.
This commit is contained in:
Miha Kralj
2026-02-21 20:45:38 -08:00
parent 90d5638008
commit 7253f61299
199 changed files with 29577 additions and 234 deletions
+13 -4
View File
@@ -20,9 +20,12 @@
* [HAMMA - Hamming MA](/lib/trends_FIR/hamma/Hamma.md)
* [HANMA - Hanning MA](/lib/trends_FIR/hanma/Hanma.md)
* [HMA - Hull MA](/lib/trends_FIR/hma/Hma.md)
* [HWMA - Henderson Weighted MA](/lib/trends_FIR/hwma/Hwma.md)
* [LSMA - Least Squares MA](/lib/trends_FIR/lsma/Lsma.md)
* [NLMA - Non-Lag MA](/lib/trends_FIR/nlma/Nlma.md)
* [NYQMA - Nyquist MA](/lib/trends_FIR/nyqma/Nyqma.md)
* [PMA - Predictive Moving Average](/lib/trends_FIR/pma/Pma.md)
* [PWMA - Pascal Weighted MA](/lib/trends_FIR/pwma/Pwma.md)
* [RAIN - Rainbow MA](/lib/trends_FIR/rain/Rain.md)
* [SGMA - Savitzky-Golay MA](/lib/trends_FIR/sgma/Sgma.md)
* [SINEMA - Sine Weighted MA](/lib/trends_FIR/sinema/Sinema.md)
* [SMA - Simple MA](/lib/trends_FIR/sma/Sma.md)
@@ -41,13 +44,15 @@
* [HEMA - Hull Exponential MA](/lib/trends_IIR/hema/Hema.md)
* [HOLT - Holt Exponential Smoothing](/lib/trends_IIR/holt/Holt.md)
* [HTIT - Ehlers Hilbert Transform Instant Trendline](/lib/trends_IIR/htit/Htit.md)
* [HWMA - Holt-Winters MA](/lib/trends_IIR/hwma/Hwma.md)
* [JMA - Jurik MA](/lib/trends_IIR/jma/Jma.md)
* [KAMA - Kaufman Adaptive MA](/lib/trends_IIR/kama/Kama.md)
* [LEMA - Leader EMA](/lib/trends_IIR/lema/Lema.md)
* [MAMA - Ehlers MESA Adaptive MA](/lib/trends_IIR/mama/Mama.md)
* [MAVP - Moving Average Variable Period](/lib/trends_IIR/mavp/Mavp.md)
* [MCNMA - McNicholl EMA](/lib/trends_IIR/mcnma/Mcnma.md)
* [MGDI - McGinley Dynamic](/lib/trends_IIR/mgdi/Mgdi.md)
* [MMA - Modified MA](/lib/trends_IIR/mma/Mma.md)
* [PMA - Predictive Moving Average](/lib/trends_IIR/pma/Pma.md)
* [QEMA - Quadruple Exponential MA](/lib/trends_IIR/qema/Qema.md)
* [REMA - Regularized Exponential MA](/lib/trends_IIR/rema/Rema.md)
* [REVERSEEMA - Reverse EMA](/lib/trends_IIR/reverseema/ReverseEma.md)
@@ -55,7 +60,6 @@
* [RMA - Rolling MA](/lib/trends_IIR/rma/Rma.md)
* [T3 - Tillson T3 MA](/lib/trends_IIR/t3/T3.md)
* [TEMA - Triple Exponential MA](/lib/trends_IIR/tema/Tema.md)
* [TRENDFLEX - Ehlers Trendflex](/lib/trends_IIR/trendflex/Trendflex.md)
* [VAMA - Volatility Adjusted MA](/lib/trends_IIR/vama/Vama.md)
* [VIDYA - Variable Index Dynamic Average](/lib/trends_IIR/vidya/Vidya.md)
* [YZVAMA - Yang-Zhang Volatility Adjusted MA](/lib/trends_IIR/yzvama/Yzvama.md)
@@ -65,7 +69,6 @@
* **Filters**
* [Overview](/lib/filters/_index.md)
* [AGC - Ehlers Automatic Gain Control](/lib/filters/agc/Agc.md)
* [ALAGUERRE - Ehlers Adaptive Laguerre Filter](/lib/filters/alaguerre/ALaguerre.md)
* [BAXTERKING - Baxter-King Band-Pass Filter](/lib/filters/baxterking/BaxterKing.md)
* [CFITZ - Christiano-Fitzgerald Filter](/lib/filters/cfitz/Cfitz.md)
@@ -134,10 +137,12 @@
* [INERTIA - Inertia](/lib/oscillators/inertia/Inertia.md)
* [KDJ - KDJ Indicator](/lib/oscillators/kdj/Kdj.md)
* [PGO - Pretty Good Oscillator](/lib/oscillators/pgo/Pgo.md)
* [REFLEX - Ehlers Reflex](/lib/oscillators/reflex/Reflex.md)
* [SMI - Stochastic Momentum Index](/lib/oscillators/smi/Smi.md)
* [STOCH - Stochastic Oscillator](/lib/oscillators/stoch/Stoch.md)
* [STOCHF - Stochastic Fast](/lib/oscillators/stochf/Stochf.md)
* [STOCHRSI - Stochastic RSI](/lib/oscillators/stochrsi/Stochrsi.md)
* [TRENDFLEX - Ehlers Trendflex](/lib/oscillators/trendflex/Trendflex.md)
* [TRIX - Triple Exponential Average](/lib/oscillators/trix/Trix.md)
* [TTM_WAVE - TTM Wave](/lib/oscillators/ttm_wave/TtmWave.md)
* [ULTOSC - Ultimate Oscillator](/lib/oscillators/ultosc/Ultosc.md)
@@ -160,6 +165,7 @@
* [ROCR - Rate of Change Ratio](/lib/momentum/rocr/Rocr.md)
* [RSI - Relative Strength Index](/lib/momentum/rsi/Rsi.md)
* [RSX - Jurik Relative Strength X](/lib/momentum/rsx/Rsx.md)
* [SAM - Smoothed Adaptive Momentum](/lib/momentum/sam/Sam.md)
* [TSI - True Strength Index](/lib/momentum/tsi/Tsi.md)
* [VEL - Jurik Velocity](/lib/momentum/vel/Vel.md)
@@ -284,6 +290,7 @@
* **Numerics**
* [Overview](/lib/numerics/_index.md)
* [ACCEL - Acceleration](/lib/numerics/accel/Accel.md)
* [AGC - Ehlers Automatic Gain Control](/lib/numerics/agc/Agc.md)
* [CHANGE - Percentage Change](/lib/numerics/change/Change.md)
* [EXPTRANS - Exponential Transform](/lib/numerics/exptrans/Exptrans.md)
* [HIGHEST - Rolling Maximum](/lib/numerics/highest/Highest.md)
@@ -334,6 +341,8 @@
* **Cycles**
* [Overview](/lib/cycles/_index.md)
* [CCOR - Ehlers Correlation Cycle](/lib/cycles/ccor/Ccor.md)
* [CCYC - Ehlers Cyber Cycle](/lib/cycles/ccyc/Ccyc.md)
* [CG - Ehlers Center of Gravity](/lib/cycles/cg/Cg.md)
* [DSP - Ehlers Detrended Synthetic Price](/lib/cycles/dsp/Dsp.md)
* [EACP - Ehlers Autocorrelation Periodogram](/lib/cycles/eacp/Eacp.md)