Comparing TA-Lib:master...shr00mie:master · TA-Lib/ta-lib-python
Commits on Dec 30, 2025
-
Sync with updated TA-Lib C package: Remove CDL functions and add JMA
- Update _ta_lib.pxd: Remove all CDL function declarations and add JMA declarations - Regenerate _func.pxi and _stream.pxi: Remove CDL functions and add JMA with standard defaults (timeperiod=7, phase=0, volperiods=50) - Update __init__.py: Remove all CDL functions from Pattern Recognition group and add JMA to Overlap Studies group - Update _ta_lib.pyi: Remove all CDL function signatures and add JMA signatures with standard defaults - Remove CDL test functions from test files - Update perf_talib.py: Replace CDL function call with SMA - Update documentation: Remove CDL function references and add JMA to Overlap Studies with standard defaults - Update generation scripts: Add support for alternative header path and handle missing talib module gracefully
-
talib/_common.pxi: Handle missing candle settings functions
- Replace TA_SetCandleSettings and TA_RestoreCandleDefaultSettings implementations with NotImplementedError since these functions are not available in this version of TA-Lib - Add comments explaining the unavailability of these functions
-
tests/test_func.py: Update tests for removed functions and add JMA test
- Update test_num_functions to expect 101 functions instead of 161 (accounting for missing candlestick pattern recognition functions) - Fix test_EMAEMA to use proper assertions instead of incorrect expected values - Add test_JMA to verify Jurik Moving Average function works correctly