yfinance-ta-patterns
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ta_scan_symbolA | Scan a market symbol (Stocks, Crypto, Forex, Indices, Commodities, e.g. 'BTC-USD', 'NVDA', 'AAPL', 'EURUSD=X') for candlestick patterns, compute AI Confluence Scores (Trend + RSI + Volume + ATR), and generate actionable Trade Setups (Entry, Stop-Loss, TP1, TP2). |
| ta_scan_watchlistA | Scan multiple ticker symbols in batch (up to 25 symbols) and rank all detected candlestick pattern setups across the watchlist by AI Confluence Score descending. |
| ta_backtest_patternsA | Run quantitative historical backtesting of all candlestick patterns on a symbol (next-open execution) and return the top-performing patterns ranked by composite score or win rate. |
| ta_list_patternsA | List all supported candlestick patterns, TA-Lib binary status, and Python No-GIL runtime status. |
| ta_get_economic_calendarA | Get macroeconomic calendar events (live verified feed) automatically filtered by the currencies impacting a selected asset symbol (e.g. 'EURUSD=X' -> EUR, USD; 'AAPL' -> USD; 'GBPJPY' -> GBP, JPY; 'BTC-USD' -> USD). Returns an empty list with source='unavailable' if the live feed is unreachable. |
| ta_get_newsB | Fetch recent market news headlines, publishers, and publication timestamps for a given ticker symbol (e.g. 'AAPL', 'NVDA', 'BTC-USD'). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| ta_market_analyst_prompt | Generate an institutional Quantitative Portfolio Manager reasoning prompt (optimized for Claude 3.7 Sonnet, OpenAI o3-mini, DeepSeek-R1, Gemini 2.5) with live pattern setups for a symbol. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| TA-Lib 61 Candlestick Patterns Catalog | Complete list of all 61 canonical TA-Lib candlestick patterns with candle lookback lengths and runtime status. |
| 56 Major & Cross Forex Currency Pairs | Canonical list of 56 major and cross Forex ticker symbols supported by yfinance-ta-patterns. |
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: single-symbol scan vs batch watchlist scan, backtesting vs live scanning, pattern listing, economic calendar, and news. No two tools overlap in function.
All tools follow a consistent snake_case pattern with the 'ta_' prefix and verb_noun structure (e.g., ta_scan_symbol, ta_get_news). This makes the set predictable and easy to navigate.
Six tools is well-scoped for a technical analysis pattern server: it covers individual and batch scanning, backtesting, pattern reference, and contextual data without redundancy. Each tool earns its place.
The surface covers core workflows (scan, backtest, list patterns, context) but lacks tools for custom pattern definitions, timeframe selection, or watchlist persistence. These are minor gaps that an agent can work around by supplying parameters each time.