ultimate-tradingview-agent
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ultimate-tradingview-agent backtest SMA crossover on AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
📈 Ultimate TradingView Agent — AI Trading Intelligence Framework
The most complete AI-powered trading toolkit for Claude and MCP clients. Backtesting + Live Sentiment + Yahoo Finance + 30+ Technical Analysis Tools — all in one MCP server.
⭐ If this tool improves your workflow, please star the repo and consider sponsoring — it keeps the project alive and growing!
🎥 Framework Demo
Related MCP server: tradingview-mcp
🏗️ Architecture

✨ Why ultimate-tradingview-agent?
Feature |
| Traditional Setups | Bloomberg Terminal |
Setup Time | 5 minutes | Hours (Docker, Conda...) | Weeks (Contracts) |
Cost | Free & Open Source | Variable | $30k+/year |
Backtesting | ✅ 6 strategies + Sharpe | ❌ Manual scripting | ✅ Proprietary |
Live Sentiment | ✅ Reddit + RSS news | ❌ Separate setup | ✅ Terminal |
Market Data | ✅ Live / Real-Time | Historical / Delayed | Live |
API Keys | None required | Multiple (OpenAI, etc.) | N/A |
🚀 Quick Start (5 Minutes)
Install via pip
pip install ultimate-tradingview-agent-serverClaude Desktop Config (claude_desktop_config.json)
Note: On macOS, GUI apps like Claude Desktop may not have
~/.local/binin their PATH. Use the full path touvxto avoid "command not found" errors.
{
"mcpServers": {
"tradingview": {
"command": "/Users/YOUR_USERNAME/.local/bin/uvx",
"args": ["--from", "ultimate-tradingview-agent-server", "ultimate-tradingview-agent"]
}
}
}On Linux, replace /Users/YOUR_USERNAME with /home/YOUR_USERNAME. On Windows, use %USERPROFILE%\.local\bin\uvx.exe.
Or run from source
git clone https://github.com/atilaahmettaner/ultimate-tradingview-agent
cd ultimate-tradingview-agent
uv run ultimate-tradingview-agent📱 Use via Telegram, WhatsApp & More (OpenClaw)
Connect this server to Telegram, WhatsApp, Discord and 20+ messaging platforms using OpenClaw — a self-hosted AI gateway. Tested & verified on Hetzner VPS (Ubuntu 24.04).
How It Works
OpenClaw routes Telegram messages to an AI agent. The agent uses
trading.py— a thin Python wrapper — to callultimate-tradingview-agentfunctions and return formatted results. No MCP protocol needed between OpenClaw and the server; it's a direct Python import.
Telegram → OpenClaw agent (AI model) → trading.py (bash) → ultimate-tradingview-agent → Yahoo FinanceQuick Setup
# 1. Install UV and ultimate-tradingview-agent
curl -LsSf https://astral.sh/uv/install.sh | sh && source ~/.bashrc
uv tool install ultimate-tradingview-agent-server
# 2. Configure OpenClaw channels
cat > ~/.openclaw/openclaw.json << 'EOF'
{
channels: {
telegram: {
botToken: "YOUR_BOT_TOKEN_HERE",
},
},
}
EOF
# 3. Configure gateway + agent
openclaw config set gateway.mode local
openclaw config set acp.defaultAgent main
# 4. Set your AI model (choose ONE option below)
openclaw configure --section model
# 5. Install the skill + tool wrapper
mkdir -p ~/.agents/skills/ultimate-tradingview-agent ~/.openclaw/tools
curl -fsSL https://raw.githubusercontent.com/atilaahmettaner/ultimate-tradingview-agent/main/openclaw/SKILL.md \
-o ~/.agents/skills/ultimate-tradingview-agent/SKILL.md
curl -fsSL https://raw.githubusercontent.com/atilaahmettaner/ultimate-tradingview-agent/main/openclaw/trading.py \
-o ~/.openclaw/tools/trading.py && chmod +x ~/.openclaw/tools/trading.py
# 6. Start the gateway
openclaw gateway install
systemctl --user start openclaw-gateway.serviceChoose Your AI Model
OpenRouter is not required — use whichever provider you have a key for:
Provider | Model ID for OpenClaw | Get Key |
OpenRouter (aggregator — access to all models) |
| |
Anthropic (Claude direct) |
| |
Google (Gemini direct) |
| |
OpenAI (GPT direct) |
|
# Examples — set your chosen model:
openclaw config set agents.defaults.model "openrouter/google/gemini-3-flash-preview" # via OpenRouter
openclaw config set agents.defaults.model "anthropic/claude-sonnet-4-5" # Anthropic direct
openclaw config set agents.defaults.model "google/gemini-2.5-flash" # Google direct⚠️ Important: Prefix must match your provider.
google/...needs a Google API key.openrouter/...needs an OpenRouter key.
⚠️ Common Mistakes
Symptom | Cause | Fix |
|
| Remove from config, use bash wrapper |
| Used | Use |
|
|
|
Gateway won't start |
|
|
Test Your Bot
Once running, send your Telegram bot:
market snapshot
backtest RSI strategy for AAPL, 1 year
compare all strategies for BTC-USDUnlike basic screeners, this framework deploys specialized AI agents that debate findings in real-time:
🛠️ Technical Analyst — Bollinger Bands (±3 proprietary rating), RSI, MACD
🌊 Sentiment & Momentum Analyst — Reddit community sentiment + price momentum
🛡️ Risk Manager — Volatility, drawdown risk, mean-reversion signals
Output: STRONG BUY / BUY / HOLD / SELL / STRONG SELL with confidence score
🔧 All 30+ MCP Tools
📊 Backtesting Engine (New in v0.6.0)
Tool | Description |
| Backtest 1 of 6 strategies with institutional metrics (Sharpe, Calmar, Expectancy) |
| Run all 6 strategies on same symbol and rank by performance |
6 Strategies to Test:
rsi— RSI oversold/overbought mean reversionbollinger— Bollinger Band mean reversionmacd— MACD golden/death crossema_cross— EMA 20/50 Golden/Death Crosssupertrend— ATR-based Supertrend trend following 🔥donchian— Donchian Channel breakout (Turtle Trader style)
Metrics you get: Win Rate, Total Return, Sharpe Ratio, Calmar Ratio, Max Drawdown, Profit Factor, Expectancy, Best/Worst Trade, vs Buy-and-Hold, with realistic commission + slippage simulation.
Example prompt: "Compare all strategies on BTC-USD for 2 years"
→ #1 Supertrend: +31.5% | Sharpe: 2.1 | WR: 62%
→ #2 Bollinger: +18.3% | Sharpe: 3.4 | WR: 75%
→ Buy & Hold: -5.0%💰 Yahoo Finance — Real-Time Prices (New in v0.6.0)
Tool | Description |
| Real-time quote: price, change %, 52w high/low, market state |
| Global overview: S&P500, NASDAQ, VIX, BTC, ETH, EUR/USD, SPY, GLD |
Supports: Stocks (AAPL, TSLA, NVDA), Crypto (BTC-USD, ETH-USD, SOL-USD), ETFs (SPY, QQQ, GLD), Indices (^GSPC, ^DJI, ^IXIC, ^VIX), FX (EURUSD=X), Turkish (THYAO.IS, SASA.IS)
🧠 AI Sentiment & Intelligence (New in v0.5.0)
Tool | Description |
| Reddit sentiment across finance communities (bullish/bearish score, top posts) |
| Live RSS headlines from Reuters, CoinDesk, CoinTelegraph |
| Power Tool: TradingView technicals + Reddit sentiment + live news → confluence decision |
📈 Technical Analysis Core
Tool | Description |
| Full TA: RSI, MACD, Bollinger, 23 indicators with BUY/SELL/HOLD |
| Bulk TA for multiple symbols at once |
| Proprietary ±3 BB rating system |
| 3-layer decision engine (ranking + trade setup + quality score) |
| Multi-exchange screener with 20+ filter criteria |
| Scan by signal type (oversold, trending, breakout...) |
| 15 candlestick pattern detector |
| Weekly→Daily→4H→1H→15m alignment analysis |
🌍 Multi-Exchange Support
Exchange | Tools |
Binance | Crypto screener, all pairs |
KuCoin / Bybit+ | Crypto screener |
NASDAQ / NYSE | US stocks (AAPL, TSLA, NVDA...) |
EGX (Egypt) |
|
Turkish (BIST) | Via TradingView screener |
💬 Example AI Conversations
You: "Give me a full market snapshot right now"
AI: [market_snapshot] → S&P500 -3.4%, BTC +0.1%, VIX 31 (+13%), EUR/USD 1.15
You: "What is Reddit saying about NVDA?"
AI: [market_sentiment] → Strongly Bullish (0.41) | 23 posts | 18 bullish
You: "Backtest RSI strategy on BTC-USD for 2 years"
AI: [backtest_strategy] → +31.5% return | 100% win rate | 2 trades | B&H: -5%
You: "Which strategy worked best on AAPL in the last 2 years?"
AI: [compare_strategies] → Supertrend #1 (+14.6%, Sharpe 3.09), MACD last (-9.1%)
You: "Analyze TSLA with all signals: technical + sentiment + news"
AI: [combined_analysis] → BUY (Technical STRONG BUY + Bullish Reddit + Positive news)💖 Support the Project
This framework is free and open source, built in spare time. If it saves you hours of research or helps you make better decisions, please consider sponsoring:
Tier | Monthly | What You Get |
☕ Coffee | $5 | Heartfelt gratitude + name in README |
🚀 Supporter | $15 | Above + priority bug fixes |
💎 Pro | $30 | Above + priority feature requests |
Every sponsor directly funds new features like Walk-Forward Backtesting, Twitter/X sentiment, and managed cloud hosting.
📋 Roadmap
TradingView technical analysis (30+ indicators)
Multi-exchange screener (Binance, KuCoin, EGX, US stocks)
Reddit sentiment analysis
Live financial news (RSS)
Yahoo Finance real-time prices
Backtesting engine (6 strategies + Sharpe/Calmar/Expectancy)
Walk-forward backtesting (overfitting detection)
Twitter/X market sentiment
Paper trading simulation
Managed cloud hosting (no local setup)
📄 License
MIT License — see LICENSE for details.
Disclaimer: This tool is for educational and research purposes only. It does not constitute financial advice. Always do your own research before making investment decisions.
Available Tools
27 toolsadvanced_candle_patternB
Advanced candle pattern analysis using multi-timeframe data.
Args: exchange: Exchange name (BINANCE, KUCOIN, etc.) base_timeframe: Base timeframe for analysis (5m, 15m, 1h, 4h) pattern_length: Number of consecutive periods to analyze (2-4) min_size_increase: Minimum percentage increase in candle size limit: Maximum number of results to return
Returns: Coins with progressive candle size increase patterns
Inputs: limit, exchange, base_timeframe, pattern_length, +1 more.
backtest_strategyA
Backtest a trading strategy on historical data with institutional-grade metrics.
Args: symbol: Yahoo Finance symbol — stocks (AAPL, TSLA, NVDA), crypto (BTC-USD, ETH-USD), ETFs (SPY, QQQ), indices (^GSPC, ^IXIC), Turkish (THYAO.IS) strategy: Trading strategy to test: 'rsi' — Buy oversold (RSI<30), Sell overbought (RSI>70) 'bollinger' — Buy at lower Bollinger Band, Sell at middle band 'macd' — Buy on MACD golden cross, Sell on death cross 'ema_cross' — Buy EMA20>EMA50 crossover, Sell on reversal 'supertrend' — Buy on bullish Supertrend flip 'donchian' — Buy Donchian Channel breakout (Turtle Trader style) period: Historical data period: '1mo', '3mo', '6mo', '1y', '2y' initial_capital: Starting capital in USD (default: $10,000) commission_pct: Per-trade commission % (default: 0.1%) slippage_pct: Per-trade slippage % (default: 0.05%) interval: Timeframe: '1d' (daily, default) or '1h' (hourly) include_trade_log: Include full per-trade log with entry/exit/P&L detail (default: False) include_equity_curve: Include equity curve data points for charting (default: False)
Returns: Institutional-grade backtest report: win rate, total return, Sharpe ratio, Calmar ratio, max drawdown, profit factor, expectancy, best/worst trade, vs buy-and-hold benchmark. Optionally includes full trade log and equity curve.
Inputs: symbol (required), strategy (required), period, interval, +5 more.
bollinger_scanA
Scan for assets with low Bollinger Band Width (squeeze detection). Works with crypto and stocks (EGX, BIST, etc.).
Args: exchange: Exchange - crypto: KUCOIN, BINANCE, BYBIT; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M bbw_threshold: Maximum BBW value to filter (default 0.04) limit: Number of rows to return (max 100)
Inputs: limit, exchange, timeframe, bbw_threshold. Returns: result
coin_analysisA
Get detailed analysis for a specific asset (coin or stock) on specified exchange and timeframe.
Args: symbol: Symbol - crypto: "BTCUSDT", "ETHUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST) exchange: Exchange - crypto: KUCOIN, BINANCE; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX timeframe: Time interval (5m, 15m, 1h, 4h, 1D, 1W, 1M)
Returns: Detailed analysis with all indicators and metrics
Inputs: symbol (required), exchange, timeframe.
combined_analysisB
POWER TOOL: TradingView technical analysis + Reddit sentiment + Financial news. Confluence analysis of all signals for a complete market picture.
Args: symbol: Asset symbol ("AAPL", "BTCUSDT", "THYAO") exchange: Exchange (NASDAQ, NYSE, BINANCE, KUCOIN, BIST, EGX) timeframe: Analysis timeframe (5m, 15m, 1h, 4h, 1D, 1W)
Inputs: symbol (required), exchange, timeframe.
compare_strategiesA
Run all 6 strategies (RSI, Bollinger, MACD, EMA Cross, Supertrend, Donchian) on the same symbol and return a ranked performance leaderboard.
Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…) period: Historical data period: '1mo', '3mo', '6mo', '1y', '2y' initial_capital: Starting capital in USD (default: $10,000) interval: Timeframe: '1d' (daily, default) or '1h' (hourly)
Returns: Ranked leaderboard of all 6 strategies vs buy-and-hold benchmark.
Inputs: symbol (required), period, interval, initial_capital.
consecutive_candles_scanA
Scan for coins with consecutive growing/shrinking candles pattern.
Args: exchange: Exchange name (BINANCE, KUCOIN, etc.) timeframe: Time interval (5m, 15m, 1h, 4h) pattern_type: "bullish" (growing candles) or "bearish" (shrinking candles) candle_count: Number of consecutive candles to check (2-5) min_growth: Minimum growth percentage for each candle limit: Maximum number of results to return
Returns: List of coins with consecutive candle patterns
Inputs: limit, exchange, timeframe, min_growth, +2 more.
egx_fibonacci_retracementA
Fibonacci retracement analysis for EGX stocks — identifies key support/resistance levels at standard Fibonacci ratios (23.6%, 38.2%, 50%, 61.8%, 78.6%).
Calculates retracement and extension levels from the period swing high/low, detects trend direction, and shows where the current price sits relative to key Fibonacci zones (golden pocket, 50% retracement, etc.).
Args: symbol: EGX stock symbol (e.g., "COMI", "TMGH", "FWRY") lookback: Period for swing high/low detection — "1M", "3M", "6M", "52W", "ALL" (default 52W) timeframe: Analysis timeframe for current indicators — 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D)
Returns: Fibonacci retracement & extension levels, price position analysis, key zones, and context.
Inputs: symbol (required), lookback, timeframe.
egx_index_analysisA
Analyze an EGX index showing constituent performance with full indicators.
Returns index-level statistics and per-stock breakdown.
Args: index: Index name - EGX30 (blue chips), EGX70 (mid/small cap), EGX100 (broad), SHARIAH33 (Shariah-compliant), EGX35LV (low volatility), TAMAYUZ (small/micro-cap) timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) limit: Number of stocks to show in detail (max 100)
Inputs: index, limit, timeframe.
egx_market_overviewA
Get a comprehensive overview of the Egyptian Exchange (EGX) market.
Shows top gainers, top losers, and most active stocks on EGX.
Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D for stocks) limit: Number of stocks per category (max 20)
Inputs: limit, timeframe.
egx_sector_scanB
Scan EGX stocks by sector. Shows available sectors if none specified.
Args: sector: Sector name - banks, basic_resources, healthcare_and_pharma, industrial_goods_and_services, real_estate, travel_and_leisure, utilities, it_media_and_communication, food_beverages_and_tobacco, energy_and_support_services, trade_and_distributors, shipping_and_transportation, education_services, non_bank_financial_services, contracting_and_construction, textiles_and_durables, building_materials, paper_and_packaging. Leave empty to list all sectors. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M limit: Max results per sector (max 50)
Inputs: limit, sector, timeframe.
egx_sector_scannerA
Sector rotation scanner for EGX — identifies hot/cold sectors and top picks.
Scans all 18 EGX sectors, ranks them by momentum, and surfaces the best stocks in the top sectors with full trade setups.
Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) top_n_sectors: Number of top sectors to show stock picks for (1-18, default 5) top_n_stocks: Number of top stocks per highlighted sector (1-10, default 3) min_stock_score: Minimum stock score for picks (0-100, default 60)
Returns: Weighted market view, sector heatmap (all 18), top picks per sector, and rotation signals showing money flow direction.
Inputs: timeframe, top_n_stocks, top_n_sectors, min_stock_score.
egx_stock_screenerA
Production stock ranking engine for EGX — finds strong stocks with actionable setups.
Uses a 100-point hybrid model combining: A. Trend & Momentum (50 pts) — EMA structure, RSI, MACD, relative performance B. Confirmation (20 pts) — Volume, ADX trend strength C. Risk-Adjusted Quality (15 pts) — ATR volatility, drawdown stability D. Fundamental Overlay (15 pts) — TradingView recommendation proxy
Stocks scoring 70+ automatically get trade setups (entry, stop, targets, S/R).
Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) min_score: Minimum stock score to include (0-100, default 55) index_filter: Filter by index — EGX30, EGX70, EGX100, SHARIAH33, EGX35LV, TAMAYUZ. Leave empty for all EGX stocks. limit: Number of results (max 50)
Returns: Ranked stocks with score breakdown. Stocks >=70 include full trade plans.
Inputs: limit, min_score, timeframe, index_filter.
egx_trade_planA
Generate a full trade plan for a specific EGX stock.
Produces: stock score, score breakdown, entry points (breakout + pullback), stop-loss, targets, risk/reward, nearest 3 supports, nearest 3 resistances, trade quality score, and actionable notes.
Args: symbol: EGX stock symbol (e.g., "COMI", "TMGH", "FWRY") timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D)
Returns: Complete trade plan with score, setup, risk controls, and S/R levels.
Inputs: symbol (required), timeframe.
financial_newsA
Real-time financial news from RSS feeds (Reuters, CoinDesk, etc.)
Args: symbol: Optional symbol filter ("AAPL", "BTC"). None = all news. category: Feed category ("crypto", "stocks", "all") limit: Max number of news items
Inputs: limit, symbol, category.
market_sentimentA
Real-time Reddit sentiment analysis for stocks and crypto.
Args: symbol: Asset symbol ("AAPL", "BTC", "ETH", "TSLA") category: Subreddit group to search ("crypto", "stocks", "all") limit: Number of posts to analyze
Inputs: symbol (required), limit, category.
market_snapshotA
Global market overview: major indices (S&P500, NASDAQ, Dow, VIX), top crypto (BTC, ETH, SOL, BNB), FX rates, and key ETFs. Powered by Yahoo Finance.
Inputs: no named parameters.
multi_agent_analysisA
Run a multi-agent debate (Technical, Sentiment, Risk) for a specific symbol.
Args: symbol: Symbol - crypto: "BTCUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST) exchange: Exchange - crypto: KUCOIN, BINANCE; stocks: EGX, BIST, NASDAQ, NYSE timeframe: Time interval (5m, 15m, 1h, 4h, 1D, 1W)
Returns: A structured debate between 3 AI agents culminating in a final trading decision.
Inputs: symbol (required), exchange, timeframe.
multi_timeframe_analysisA
Multi-timeframe alignment analysis (Weekly -> Daily -> 4H -> 1H -> 15m).
Analyzes a symbol across all key timeframes to find confluence and optimal entry timing. Best trades happen when Weekly, Daily, and lower timeframes all align in the same direction.
Args: symbol: Symbol - crypto: "BTCUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST) exchange: Exchange - crypto: KUCOIN, BINANCE; stocks: EGX, BIST, NASDAQ, NYSE
Returns: Multi-timeframe breakdown with alignment score and trading recommendation.
Inputs: symbol (required), exchange.
rating_filterB
Filter coins by Bollinger Band rating.
Args: exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M rating: BB rating (-3 to +3): -3=Strong Sell, -2=Sell, -1=Weak Sell, 1=Weak Buy, 2=Buy, 3=Strong Buy limit: Number of rows to return (max 50)
Inputs: limit, rating, exchange, timeframe. Returns: result
smart_volume_scannerB
Smart volume + technical analysis combination scanner.
Args: exchange: Exchange name min_volume_ratio: Minimum volume multiplier (default 2.0) min_price_change: Minimum price change percentage (default 2.0) rsi_range: "oversold" (<30), "overbought" (>70), "neutral" (30-70), "any" limit: Number of results (max 30)
Inputs: limit, exchange, rsi_range, min_price_change, +1 more. Returns: result
top_gainersA
Return top gainers for an exchange and timeframe using bollinger band analysis.
Args: exchange: Exchange name - crypto: KUCOIN, BINANCE, BYBIT; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M limit: Number of rows to return (max 50)
Inputs: limit, exchange, timeframe. Returns: result
top_losersB
Return top losers for an exchange and timeframe. Supports crypto (KUCOIN, BINANCE) and stocks (EGX, BIST, NASDAQ).
Inputs: limit, exchange, timeframe. Returns: result
volume_breakout_scannerB
Detect coins with volume breakout + price breakout.
Args: exchange: Exchange name like KUCOIN, BINANCE, BYBIT, etc. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M volume_multiplier: How many times the volume should be above normal level (default 2.0) price_change_min: Minimum price change percentage (default 3.0) limit: Number of rows to return (max 50)
Inputs: limit, exchange, timeframe, price_change_min, +1 more. Returns: result
volume_confirmation_analysisC
Detailed volume confirmation analysis for a specific coin.
Args: symbol: Coin symbol (e.g., BTCUSDT) exchange: Exchange name timeframe: Time frame for analysis
Inputs: symbol (required), exchange, timeframe.
walk_forward_backtest_strategyA
Walk-forward backtest to detect overfitting — validates strategy on unseen data.
Splits historical data into n_splits folds. Each fold:
Train (70% by default): strategy runs in-sample
Test (30% by default): strategy runs on unseen forward data
Robustness score (out-of-sample / in-sample performance ratio):
= 0.8 → ROBUST — no overfitting, safe to consider for live trading = 0.5 → MODERATE — some degradation out-of-sample, use with caution = 0.2 → WEAK — significant degradation, likely curve-fitted < 0.2 → OVERFITTED — fails on unseen data, do not trade live
Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…) strategy: rsi | bollinger | macd | ema_cross | supertrend | donchian period: Historical data period: '1mo', '3mo', '6mo', '1y', '2y' (recommend '2y' for meaningful walk-forward splits) initial_capital: Starting capital per fold in USD (default: $10,000) commission_pct: Per-trade commission % (default: 0.1%) slippage_pct: Per-trade slippage % (default: 0.05%) n_splits: Number of walk-forward folds (default: 3, max: 10) train_ratio: Fraction of each fold used for training (default: 0.7) interval: Timeframe: '1d' (daily, default) or '1h' (hourly)
Returns: Per-fold train/test metrics, aggregate robustness score, verdict, and combined out-of-sample performance.
Inputs: symbol (required), strategy (required), period, interval, +5 more.
yahoo_priceA
Real-time price quote from Yahoo Finance for any stock, crypto, ETF or index.
Args: symbol: Yahoo Finance symbol. Examples: Stocks: AAPL, TSLA, MSFT, NVDA, GOOGL Crypto: BTC-USD, ETH-USD, SOL-USD ETFs: SPY, QQQ, GLD Indices: ^GSPC (S&P500), ^DJI (Dow Jones), ^IXIC (NASDAQ) FX: EURUSD=X, GBPUSD=X Turkish: THYAO.IS, SASA.IS
Inputs: symbol (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Several tools have overlapping purposes, such as egx_sector_scan vs egx_sector_scanner, volume_breakout_scanner vs smart_volume_scanner, and bollinger_scan vs rating_filter. This overlap makes it hard for an agent to select the correct tool, risking misselection.
Tool names are consistently snake_case, but conventions vary: some use an egx_ prefix while others do not (e.g., top_gainers, coin_analysis). The pair egx_sector_scan and egx_sector_scanner are confusingly similar, and the mix of generic and descriptive names reduces predictability.
27 tools is on the heavy side, but the broad scope (market scanning, detailed analysis, sentiment, news, backtesting) justifies a larger surface. However, several tools are redundant, inflating the count beyond what is necessary.
The tool set covers a wide range of trading workflows: market overviews, sector scans, symbol-specific analysis, sentiment/news, and backtesting. Missing features like historical price data retrieval or portfolio management are minor gaps that agents can work around.
Maintenance
Related MCP Connectors
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
> TradingMCP puts a market analyst inside your AI assistant. Paste one URL into Claude, ChatGPT, Cursor, VS Code or any MCP client and ask in plain language: screen for breakouts, run a multi-timeframe analysis, backtest a strategy with walk-forward validation, scan for smart-money and volume signals, or get a one-prompt morning market brief. In clients that support MCP Apps, price charts and the Markets panel are drawn right in the chat. > 40+ tools covering crypto (real-time), stocks, ETFs, FX, futures and commodities across major global exchanges. > Hosted, nothing to install: Pro $9/month (2,500 tool calls) or Pro+ $29/month (10,000). Paid upfront with a 14-day money-back guarantee; your API key arrives right after checkout. > Built on the open-source tradingview-mcp core (MIT, ~5k GitHub stars): self-host it free, or use the hosted version with zero ops. > For research and education, not financial advice. Not affiliated with TradingView
Trade 16 crypto exchanges + MetaTrader 5 from your AI assistant via one MCP connection.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Related MCP Servers
- AlicenseBqualityBmaintenanceOpen-source MCP server for market analysis: screeners, multi-timeframe technical analysis and backtests for crypto, stocks, forex and futures. 39 tools. Hosted version: TradingMCP.371,648 PyPI5,317MIT
- AlicenseNot gradedqualityDmaintenanceThe most complete AI-powered trading toolkit for Claude and MCP clients, offering backtesting, live sentiment, Yahoo Finance, and 30+ technical analysis tools in one MCP server.MIT
- FlicenseNot gradedqualityBmaintenanceA comprehensive MCP server that integrates TradingView Desktop automation, screener API, Yahoo Finance, IDX/BEI tools, backtesting, news sentiment, trade math, and market sessions. It enables traders to perform technical analysis, backtest strategies, manage positions, and automate TradingView tasks through natural language.-
- AlicenseNot gradedqualityCmaintenanceProvides AI-powered trading analytics and coaching by analyzing historical trades to identify strategies, emotional patterns, and behavioral mistakes via MCP tools.1MIT