View on GitHub

pandas-ta-classic

Technical Analysis Indicators - Pandas TA Classic is an easy to use Python 3 Pandas Extension with 150+ Indicators

Pandas TA Classic

Pandas Technical Analysis (Pandas TA Classic) is an easy to use library that leverages the Pandas package with more than 130 Indicators and Utility functions. This is the classic/community maintained version of the popular pandas-ta library.

Example Chart

Features

Quick Installation

# Stable version
pip install pandas-ta-classic

# Latest version from GitHub
pip install -U git+https://github.com/xgboosted/pandas-ta-classic

Quick Start

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)  # Simple Moving Average
df.ta.rsi(length=14, append=True)  # RSI
df.ta.macd(append=True)            # MACD

# Or use strategies for bulk processing
df.ta.strategy("CommonStrategy")

Documentation

For detailed documentation, examples, and the complete list of indicators, please visit our GitHub repository.

Categories of Indicators

Support

License

This project is licensed under the MIT License.