{"library":"ta-lib","type":"library","category":null,"description":"TA-Lib is a Python wrapper for the widely-used TA-Lib C library, designed for technical analysis of financial market data. It provides over 150 indicators and candlestick pattern recognition functions, optimized for performance using Cython and NumPy. The current Python wrapper version is 0.6.8, and it maintains compatibility branches for different NumPy and underlying C TA-Lib versions.","language":"python","status":"active","version":"0.6.8","tags":["financial analysis","technical analysis","trading","numpy","pandas","cython"],"last_verified":"Sat May 23","install":[{"cmd":"pip install TA-Lib","imports":["import talib","from talib import MA_Type"]},{"cmd":"# IMPORTANT: The TA-Lib C library is a REQUIRED system dependency.\n# Instructions vary significantly by OS. Examples:\n\n# macOS (using Homebrew):\nbrew install ta-lib\n\n# Linux (Debian-based, requires build tools):\nsudo apt-get update\nsudo apt-get install build-essential\n# Then, download and build the C library from http://ta-lib.org/ (latest 0.4.0-src.tar.gz or 0.6.x-src.tar.gz)\n# tar -xzf ta-lib-0.x.x-src.tar.gz\n# cd ta-lib-0.x.x\n# ./configure --prefix=/usr/local\n# make\n# sudo make install\n\n# Windows (complex, requires Visual Studio C++ build tools):\n# 1. Download ta-lib-0.4.0-msvc.zip from http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip\n# 2. Extract to C:\\ta-lib\n# 3. Open 'x64 Native Tools Command Prompt for VS 20XX' (matching your VS version)\n# 4. cd C:\\ta-lib\\c\\make\\cdr\\win32\\msvc\n# 5. nmake\n\n# Conda (recommended for easier dependency management):\nconda install -c conda-forge ta-lib libta-lib","imports":[]}],"homepage":"https://ta-lib.org","github":"https://github.com/ta-lib/ta-lib-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ta-lib/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":4,"avg_import_s":0.26,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/ta-lib/compatibility"}}