TA-Lib (Python)
COMMUNITY· Repos & libraries · by TA-Lib · vv0.8.3
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.
What it touches
- Reads
- OHLCV candles your agent fetches from Moby (get_token_ohlcv)
- Writes
- Nothing
- Tools
- Python library `TA-Lib`
- Trades
- Never trades
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.
Install
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."*
Works with
- Grok Bot
- Claude Code
- Codex
Links
- Repository: https://github.com/TA-Lib/ta-lib-python
- Docs: https://ta-lib.github.io/ta-lib-python/
- Website: https://ta-lib.org
Related
- KronosKronos, an open-source foundation model for candlesticks, forecasts…
- Vibe-TradingVibe-Trading turns a trading idea into research and a backtest on…
- TradingAgentsTradingAgents runs a desk of LLM analysts who debate a stock or…
- Chronos (Amazon)Amazon's open Chronos models forecast a token's price with an…
- Moby MCP connectorConnect any MCP-capable agent to Moby for live on-chain research on…
- Moby KnowledgeThe /agents page and agents.md as your agent's Moby reference: how…
Curated listing. Moby did not audit the code. · Version v0.8.3 · Updated 2026-11-02
