skillfed

pandas-ta-classic

Technical Analysis Indicators - Pandas TA Classic is an easy to use Python 3 Pandas Extension with a comprehensive collection of indicators and TA-Lib patterns.

pandas-ta-classic v0.6.52 208.8K downloads/30d#9,525 on PyPI419
Permissive license MIT Active released

What it is and what it does

Pandas TA Classic is a Pandas DataFrame extension that adds 193 technical indicators and 62 native candlestick patterns to your trading and financial analysis workflows. It works by attaching methods to pandas DataFrames (e.g., `df.ta.sma()`, `df.ta.rsi()`), making indicators accessible directly on your price data without external dependencies like TA-Lib. The library includes common indicators such as Simple Moving Average, MACD, Bollinger Bands, and On-Balance Volume, plus less common ones like Hull Exponential Moving Average and Squeeze.

The package depends only on numpy and pandas at runtime, keeping installation lightweight. It offers optional integrations: TA-Lib can accelerate 34 core indicators when installed, numba can speed up specific hot-loop indicators by 6–230×, and tulipy serves as a parity oracle for testing. All candlestick patterns are implemented natively in Python, so you never need TA-Lib just to use CDL patterns. The library supports fluent API chaining to combine multiple indicators in one expression and includes a strategy system for bulk processing.

Use it for:

  • Build moving average crossover trading strategies by chaining sma() calls and comparing signals on historical price data
  • Detect candlestick patterns (doji, engulfing, hammer) on OHLC data using native Python implementations without external C libraries
  • Backtest momentum indicators (RSI, MACD, Stochastic) on multi-timeframe data to identify entry and exit points
  • Accelerate indicator computation on large datasets using optional numba for hot-loop functions like Supertrend or RSX
  • Verify custom indicator implementations against TA-Lib or tulipy using the built-in oracle test suite
  • Integrate technical signals into a vectorbt backtesting pipeline for performance analysis and optimization

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Pandas TA Classic provides 193 technical indicators and 62 native candlestick patterns as a Pandas DataFrame extension, enabling technical analysis workflows without requiring TA-Lib.

Yes. Pandas TA Classic is actively maintained, has no known vulnerabilities, installs with minimal friction (only numpy and pandas), and offers a comprehensive set of 253 indicators and patterns under a permissive MIT license. It is production-ready (Development Status 5) and suitable for both research and commercial trading systems. Install it if you need technical analysis indicators in pandas workflows and want to avoid TA-Lib compilation or licensing complexity.

Install

pandas-ta-classic on PyPI

pip

pip install pandas-ta-classic

uv

uv add pandas-ta-classic

poetry

poetry add pandas-ta-classic

Installing pandas-ta-classic

Before you install

Low friction install with only numpy and pandas as runtime dependencies. Actively maintained with a recent release 51 days ago and 419 repository stars. Supports modern Python versions (3.10–3.14) and offers optional numba acceleration for performance-critical indicators.

License in practice

MIT license permits unrestricted commercial and private use, modification, and distribution with minimal restrictions, making it suitable for proprietary trading systems and closed-source applications.

Quickstart

pip install pandas-ta-classic

import pandas as pd
import pandas_ta_classic as ta

df = pd.read_csv("data.csv")
df.ta.sma(length=20, append=True)
df.ta.rsi(append=True)
df.ta.macd(append=True)

Requires Python 3.10 or later. Optional TA-Lib and tulipy can accelerate some indicators but are not required.

Verify before relying

  • Whether the 6–230× numba speedup claims are measured on typical trading datasets or synthetic benchmarks
  • Specific performance characteristics of the 62 native candlestick patterns versus TA-Lib implementations
  • How the fluent API chaining (v0.6+) handles error propagation and state management across chained calls

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — numpy, pandas
Maintenance actively maintained — 51 days since the last release
Last repo commit
First released
Downloads 208,792/month — #9,525 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pandas_ta_classic-0.6.52-py3-none-any.whl

Keywords: technical analysis, trading, python3, pandas

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Office/Business :: FinancialTopic :: Office/Business :: Financial :: InvestmentTopic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Information Analysis

Tags

technical analysis indicators pandascandlestick patterns pythonmoving averages RSI MACDtrading indicators libraryfinancial data analysis pandasbollinger bands volume indicatorsta-lib alternative python
technical-analysistrading-indicatorspandas-extension

More Scientific/Engineering packages