TA-Lib (Python)
Python bindings for TA-Lib's 150-plus technical indicators
๐งฉ Build it Free 02 in Indicators & TradingView ๐ NEW TODAY
12,239 1 sent ยท 7 days 0 copies ยท 7 days BSD-2-Clauseupdated 7 Sep '26
Overview
TA-Lib (Python) provides Cython-based Python bindings to the TA-Lib C library's 150-plus technical indicators and candlestick pattern recognition.
- ForPython developers who want the original TA-Lib indicator set on numpy arrays or pandas/Polars DataFrames.
- Needsthe TA-Lib C library installed first (via Homebrew, an installer, or Conda Forge), then the Python package.
- RunsCython bindings to the C library, with both a function API (numpy arrays) and an abstract API (DataFrames).
- Limitthe underlying C library must be installed separately before the Python package will build โ most install failures are the missing C library, not the Python package.
Vibe it
Paste this into your AI agent. Write the first line, or take a suggestion; the copy carries your words.
Source: https://github.com/TA-Lib/ta-lib-python โ clone it and read its README and examples before writing anything; its documented setup beats what you remember. Stack: Cython bindings over the TA-Lib C library, with a function API on numpy arrays and an abstract API on Polars/pandas DataFrames. Needs: the TA-Lib C library installed first (Homebrew on Mac, the MSI installer on Windows, or build-from-source on Linux), then the Python package. Start: install the C library for my OS, then `python -m pip install TA-Lib`, then talib.RSI(close, 14) on a numpy array before moving to the abstract API. Limit: most install failures are the missing C library, not the Python package โ install it first and separately. Done means: you show me the RSI (or another indicator) computed on my own price series, and the exact install steps you ran for my OS. Before you start, ask me: whether my data is a numpy array or a pandas/Polars DataFrame.
More in Indicators & TradingView
All 5 โ 03
lightweight-charts-python ๐งฉ Build it Python wrapper that draws TradingView-style charts in a desktop window 04
Pine Script Code Collection ๐งฉ Build it Pine Script indicators kept as source, outside the TradingView library 05
pandas-ta-classic ๐งฉ Build it Pandas extension with 130-plus indicators, continued by the community
2,123
438
431