--- id: ta-lib version: "0.7.1" license: unclear license_treatment: unclear maintenance: active --- # TA-Lib — Python wrapper for TA-Lib License: unclear · Maintenance: active · Downloads: 945.9K/mo ## What it is and what it does TA-Lib is a Python binding to a widely-used C library for technical analysis of financial market data. It exposes a large collection of indicators (ADX, MACD, RSI, Stochastic, Bollinger Bands, and others) plus candlestick pattern recognition, designed for traders and financial software developers. The wrapper uses Cython and numpy instead of SWIG, aiming for better performance and cleaner integration. Installation requires the underlying TA-Lib C library to be present on your system first—this is the main friction point. Once installed, you import the module and call indicator functions with price arrays (typically numpy arrays). The package supports Python 3.9 through 3.14 and offers binary wheels for common platforms, though some configurations may require building from source. Use it for: - Calculate technical indicators on historical price data for backtesting trading strategies. - Detect candlestick patterns in OHLC data to identify potential trade signals. - Build real-time trading systems that compute indicators on incoming market data streams. - Analyze financial time series with numpy arrays for research or portfolio analysis. - Integrate technical analysis into a larger trading platform or quantitative finance application. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python wrapper for the TA-Lib C library providing technical analysis indicators and candlestick pattern recognition for financial market data. Yes, with conditions. TA-Lib is actively maintained, widely used in trading and finance, has no known vulnerabilities, and offers good performance via Cython. However, you must pre-install the underlying C library on your system—this is non-trivial on some platforms. The unclear license status also warrants verification before use in proprietary work. If you can handle the C library dependency and need a mature indicator library, it is worth installing. ## Install pip install ta-lib uv add ta-lib poetry add ta-lib ## Installing TA-Lib Before you install: Medium install friction: requires the underlying TA-Lib C library to be pre-installed on your system before installing the Python wrapper. Binary wheels are available for Python 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 on Linux, macOS, and Windows, but compilation from source may be needed on unsupported platforms. Active maintenance with recent release. License in practice: License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects. Quickstart: pip install TA-Lib import numpy close_prices = numpy.array([1.0, 2.0, 3.0]) # Call indicator functions from the installed TA-Lib wrapper The underlying TA-Lib C library must be installed separately on your system before installing the Python wrapper (e.g., via Homebrew on macOS, MSI on Windows, or from source on Linux). Verify before relying: - Full list of all 150+ indicators and their exact names. - Performance improvement claim of 2-4 times faster than SWIG interface—no benchmark data in fact sheet. - Whether Polars and Pandas integration is built-in or requires separate setup. - Compatibility of underlying TA-Lib C library version 0.7.1 with all supported Python versions. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 945.9K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags technical analysis indicators, financial market data analysis, trading indicators python, candlestick pattern recognition, MACD RSI Bollinger Bands, ta-lib wrapper, stock analysis library, trading, technical-analysis, finance [View on SkillFed](https://skillfed.io/packages/ta-lib) · [View on PyPI](https://pypi.org/project/ta-lib/)