TA-Lib/ta-lib-python

AlgoScore
87
Use it
★12k
Forks2k
Issues+PR88
Pushtoday
LicenseBSD-2-Clause

Editorial verdict Use itchecked 05.12.2026

What it is good at

A Python wrapper for TA-Lib, the library other technical analysis packages use to check their numbers. It covers more than 200 indicators (ADX, MACD, RSI, Stochastic, Bollinger Bands) plus candlestick pattern recognition, computed in C through Cython, so millions of bars take next to no time. There are three interfaces: a function API for numpy, pandas and polars; an abstract API that takes an OHLCV DataFrame and returns named columns; and a streaming API whose indicator handles update on each new bar without recomputing history and release the GIL. The old installation pain is gone: since 0.6.5, pip installs prebuilt wheels with the C library bundled, so no compiler or separate core install is needed. Releases are frequent, and the latest one landed on the day we checked.

Weak spots

NaN handling is unusual: a single gap mid-series corrupts every later SMA value, whereas pandas recovers once the window passes. Indicators with an "unstable period" (EMA, RSI, ATR) depend by default on where your history starts, so on short windows values drift from the exchange chart; set_unstable_period or the UNSTABLE_AUTO_PREC mode fixes that. Long-standing issues ask why streaming and batch results differ and why some pattern functions return only zeros. On a platform without a prebuilt wheel you still have to build the C core.

Who it is for

Anyone computing indicators in Python: backtesters, screener authors and bot builders on freqtrade or custom engines. If you need a reference RSI or MACD that matches other platforms, start here.

Versus alternatives

bukosabino/ta is pure pandas, installs without binaries and reads easily, while running slower with fewer indicators. pandas-ta-classic is the community-maintained continuation of pandas-ta, with a handy df.ta accessor and a large indicator catalogue that does not require TA-Lib. TA-Lib wins on speed, reference-grade values and streaming.

  • Latest release v0.8.4 — 5 Dec 2026 (for TA-Lib C 0.8.4)
  • Wheels bundle the C library since 0.6.5; statically linked since 0.8.3
  • Python 3.9–3.14; Linux, macOS, Windows, including arm64
  • BSD-2-Clause license; repository active since 2012

Stars by day

Our star series started 05.12.2026: the chart appears after the second snapshot.

GitHub dataGitHub ↗

TopicData & indicators
LanguageCython
Created23.03.2012
Last release05.12.2026
Releases / tags11 / —
Contributors44
Commits total / 90d919 / 68
Watchers335

AlgoScore breakdownmethodology →

Popularity17.1/20
Freshness20/20
Community13.4/20
Maturity15/15
Momentum—
Usage—

Topic neighboursData & indicators →

#RepositoryAlgoScore★30d growthPushLabel
1 ranaroussi/yfinanceDownload market data from Yahoo! Finance's API 89 26k — 1 d
2 tradingview/lightweight-chartsPerformant financial charts built with HTML5 canvas 89 18k — today
3 klinecharts/KLineChart📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端) 89 4.4k — 18 d
4 facioquo/stock-indicators-dotnetStock Indicators for .NET is a C# NuGet package that transforms raw equity, commodity, forex, or cryptocurrency financial market price quotes into technical indicators and trading insights. You'll need this essential data in the investment tools that you're building for algorithmic trading, technica 86 1.3k — today
5 LuxAlgo/PineTSRun Pine Script® anywhere. PineTS is LuxAlgo's open-source Pine Script® runtime for Node.js and the browser. 85 1k — 21 d
6 xgboosted/pandas-ta-classicTechnical Analysis Indicators - Pandas TA Classic is an easy to use Python 3 Pandas Extension with 250+ Indicators and Candlestick Patterns 85 495 — today
7 TA-Lib/ta-libTechnical analysis library: indicators and candlestick patterns, batch and streaming, native in C, Rust, Java, C#... and more 83 1.8k — today
8 cinar/indicatorHigh-performance technical analysis indicators and backtesting framework in Go. Zero dependencies. ✨ See how! 👀 81 1.9k — 3 d