Pandas TA Classic Documentation

Pandas TA Classic is an easy to use library that leverages the Pandas package with 192 indicators and utility functions plus 62 native candlestick patterns (252 unique total; cdl_doji and cdl_inside are counted in both sets). All CDL patterns are natively implemented — no TA-Lib required. This is the community maintained version of the popular pandas-ta library.

Note

The library features dynamic configuration management:

  • Category Discovery: Indicators are automatically detected from the package structure

  • Version Management: Python version support (the latest stable plus the prior 4 versions) is dynamically managed via CI/CD workflows

  • Both ensure the library metadata stays in sync with actual capabilities

License Build Status PyPI Version

Quick Start

Pandas TA Classic is simple to use — import the library and start calculating indicators directly on your DataFrame:

import pandas as pd
import pandas_ta_classic as ta

# Load your data
df = pd.read_csv("path/to/symbol.csv")

# Calculate indicators
df.ta.sma(length=20, append=True)
df.ta.rsi(append=True)
df.ta.macd(append=True)

Note

New to Pandas TA Classic? Check out our Quickstart guide for a comprehensive introduction, or explore the DataFrame Properties and Methods guide for detailed programming conventions.

Table of Contents

Additional Resources:

Indices and tables