Registry / data / pandas-ta-classic

pandas-ta-classic

JSON →
library0.6.20pypypi✓ verified 79d ago

A maintained fork of the popular pandas-ta library, providing an extensive collection of technical analysis indicators and TA-Lib patterns as Pandas DataFrame extensions. Current version is 0.5.44, with a monthly release cadence and active development.

pip install pandas-ta-classic
INSTALL
IMPORT
SIG · PANDAS-TA-CLASSIC
P
pandas-ta-classic
datapythonv0.6.20
Install
8.0s avg
Import
Disk
167MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.6.20 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 167.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 8.0s · import 0.000s · 160MB
167MB installed
● package 167MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pandas_ta_classic
import pandas_ta_classic as ta
import pandas_ta as ta
Strategy
from pandas_ta_classic import Strategy
AllStrategy
from pandas_ta_classic import AllStrategy

Calculate a simple moving average (SMA) and append it to the DataFrame.

import pandas as pd import pandas_ta as ta df = pd.DataFrame({'close': [1.1, 1.2, 1.3, 1.4, 1.5]}) df.ta.sma(length=4, append=True) print(df)
Debug
Known issues
breakingpandas-ta-classic is a fork; breaking changes from original pandas-ta may exist. Always check migration guide.
fix
Review changelog at https://github.com/xgboosted/pandas-ta-classic/releases
affects: 0.1.0+
deprecatedTA-Lib pattern functions are deprecated in favor of native pandas-ta implementations. TA-Lib must be installed separately if needed.
fix
Use pandas-ta built-in patterns (e.g., df.ta.cdl_pattern(name='doji')) instead of TA-Lib.
affects: 0.4.0+
gotchaIndicator methods may modify the DataFrame in-place even without append=True if the method is called with default kwargs.
fix
Always pass append=True explicitly to avoid silent column overwrites.
affects: all
gotchaSome indicators require specific column names (open, high, low, close, volume). Missing columns raise KeyError.
fix
Rename columns to lowercase before using df.ta.
affects: all
Upgrade
Version history
0.6.20latest on PyPI · released May 20, 2026
Audit
Dependencies
pandasrequiredCore dependency for DataFrame operations
numpyrequiredRequired for numerical calculations
ta-liboptionalOptional: enables TA-Lib pattern recognition; must be installed separately
Agent activity
2 hits · last 30 days
node
2
Resources
pandas-ta-classic — pip install pandas-ta-classic · libregistry