Pandas TA Classic Documentation

Pandas TA Classic is an easy to use library that leverages the Pandas package with 141 indicators and utility functions plus 62 TA-Lib candlestick patterns (203 total). 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 supports both modern uv and traditional pip package managers.

Using uv (recommended - faster):

uv pip install pandas-ta-classic

Using pip:

pip install pandas-ta-classic

Basic usage:

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 guide for a comprehensive introduction, or explore the Usage Guide guide for detailed programming conventions.

Table of Contents

Additional Resources:

Indices and tables