- 44Contributors
- Nov 1, 2026Last commit
- BSD-2-ClauseLicense
- Nevertrades
TA-Lib computes 150+ indicators and candlestick patterns (RSI, MACD, Bollinger, ATR) exactly, on the candles your agent pulls with Moby's get_token_ohlcv.
About
TA-Lib is the long-standing technical-analysis library behind many trading tools, and this is its official Python wrapper. It computes more than 150 indicators (moving averages, RSI, MACD, Bollinger Bands, ATR, ADX and more) and recognizes candlestick patterns on plain arrays or pandas data.
What it adds to Moby. Exact, repeatable indicator values. Language models are poor at arithmetic on long price series. When your agent says a token is oversold, TA-Lib lets it compute RSI from the real candles. ATR sizes a stop-loss to a token's actual volatility.
How to pair it. Pull candles with get_token_ohlcv, compute the indicators your strategy uses, and quote the numbers in the trade rationale next to Moby's holder and smart-money checks. Use ATR to suggest stop and take-profit levels for Moby orders. Moby returns candles newest-first; reverse them before you feed them in.
What it does not do. Indicators describe past price only, and on thin, young tokens they are noise. It does not trade.
What's inside this repo
- 150+ indicators: ADX, MACD, RSI, Stochastic, Bollinger Bands, moving averages, ATR and more
- Candlestick pattern recognition
- Function API on NumPy arrays, for example talib.RSI(close, timeperiod=14)
- Abstract API (talib.abstract) taking a dict or DataFrame of OHLCV; Pandas and Polars input
- Binary wheels for macOS, Linux and Windows; from 0.8.3 the C library is statically linked
- Source build or conda-forge install when no wheel fits
Install steps
Third-party code: Moby does not audit or control it. Read the source before you run it.
python -m pip install TA-Lib; the wheels for macOS, Linux and Windows include the C library.- On other platforms, build from source as the README describes: https://github.com/TA-Lib/ta-lib-python
- Ask:
Compute RSI(14), MACD and ATR(14) on <token>'s hourly candles from get_token_ohlcv, and suggest a stop-loss 2 ATR below the price.
Permissions
- Reads
- OHLCV candles your agent fetches from Moby (get_token_ohlcv)
- Writes
- Nothing
- Tools
- Python library `TA-Lib`
- Trade
- Never trades
Review
Reviewed Nov 1, 2026. Source matches repo at commit 3e96c21
Links
- Repository: https://github.com/TA-Lib/ta-lib-python
- Docs: https://ta-lib.github.io/ta-lib-python/
- Website: https://ta-lib.org
On GitHub
- Stars
- 12,418
- Forks
- 2,016
How it works with Moby
TA-Lib (Python) works on its own. With Moby your agent can also trade on what it finds.
- Set up AI Trading
In the Moby app: create your agent and fund its Solana wallet.
Get the app - Connect Moby MCP
Whale, KOL and smart-money data, plus buy, sell, SL and TP from the agent wallet.
View Moby MCP - Install TA-Lib (Python)
Your agent runs it alongside Moby's onchain data and trades inside your Guardrails.
Install
Related
- APSchedulerAPScheduler is an open-source Python job scheduler, so your agent…
- CCXTCCXT is a unified library for crypto exchange market data, balances…
- CryptofeedCryptofeed is a Python websocket handler for live cryptocurrency…
- DuckDBDuckDB is an in-process analytical database for SQL over local and…
- Moby MCP connectorConnect any MCP-capable agent to Moby for live onchain research on…
- Moby KnowledgeThe /agents page and agents.md as your agent's Moby reference: how…
Reviewed Nov 1, 2026 · Report this item
