⬡PipelineFinanceFree
TA-Lib Python — Technical Analysis Indicators
Python wrapper for TA-Lib: 150+ technical indicators (MACD, RSI, Bollinger, candlestick patterns) in C speed.
Installations280k
Note★ 4.9
Avis93
TA-Lib Python — Technical Analysis Indicators
TA-Lib Python is the most widely-used Python binding for the battle-tested C library TA-Lib, providing 150+ technical analysis indicators used by algorithmic traders worldwide. Computation runs in native C, so it handles millions of bars without performance issues.
Key features
- 150+ indicators: MACD, RSI, Bollinger Bands, ADX, Stochastic, ATR, OBV, MFI
- 61 candlestick pattern recognizers (doji, hammer, engulfing, etc.)
- Array-in / array-out API — integrates directly with NumPy and Pandas
- Used in Backtrader, Zipline, and QuantConnect strategies
- BSD-licensed, no viral restrictions
Quick start
pip install TA-Lib
import talib
import numpy as np
close = np.random.random(100)
macd, signal, hist = talib.MACD(close)
rsi = talib.RSI(close, timeperiod=14)
pattern = talib.CDLDOJI(open_, high, low, close)
npx ai-supply add ta-lib-python-technical-analysis
Curated mirror of the open-source TA-Lib Python (BSD-2-Clause). Get it from the source.