Build your own AI hedge fund with Claude, Codex, Cursor, and OpenClaw.
The agent-native skills directory for Trader Dev MCP — write Pine Script, backtest crypto strategies, optimize parameters, and run a full quant research desk from one conversation.
Build your own AI hedge fund with Claude, Codex, Cursor & OpenClaw. The agent-native skills directory for Trader Dev MCP — write Pine Script, backtest crypto strategies, optimize parameters.
⚠️ Research and education only. AI Trader MCP does not place real trades, send real orders, or guarantee profits. Backtests are not future performance. Crypto trading is risky and leverage can cause catastrophic losses. Read docs/DISCLAIMER.md before doing anything.
▶ Watch the AI hedge fund desk in action — 60 seconds.
"Just like human traders have TradingView, AI agents need their own quant research desk."
Most AI tools help traders write code. AI Trader MCP helps AI agents run the entire research workflow — generate hypotheses, write Pine Script, backtest, optimize, compare, and report. Built by DaviddTech, backtesting live on YouTube for 5+ years.
⚡ 30-second quickstart
🤖 Prefer to hand it all to your AI? Open WORKBOOK.md and paste it into any MCP-capable agent. It's a step-by-step, self-contained install and usage guide written for AI agents to follow top to bottom.
Read https://raw.githubusercontent.com/DaviddTech/ai-trading-agent/main/SKILL.md
and help me build an AI hedge fund research desk using Trader Dev MCP.
3. Ship your first backtest:
Backtest a Bollinger Band squeeze breakout on the top 10 Bybit pairs at 1h.
Report profit factor, max drawdown, and stability across symbols.
Reject overfit results.
That's it. Your agent is now a quant.
🔥 Why AI Trader MCP
Without AI Trader MCP
With AI Trader MCP
Open TradingView, hand-code Pine Script, click backtest, copy results into a spreadsheet.
"Backtest this strategy on the top 10 Bybit pairs at 1h." Done in one message.
Click-optimize parameters one input at a time.
Parameter sweeps across stop loss, take profit, ATR multiples, regime filters — natural language.
Forget which version of a strategy worked last week.
Strategies live in Trader Dev. Fork, version, compare, promote, demote — all from chat.
Pay for a quant team.
Spin up a Mathematician, Mean-Reversion Engineer, Strategy Optimizer, and Position Optimizer — for free.
Not every trader wants to be a quant researcher. If you'd rather skip the research and run trading bots that already work, StrategyFactory.ai is where they live.
400+ trading bots — every one backtested and forward-tested with real-money live results
No Pine Script knowledge required — pick a bot, plug in, go
Real performance data — not curve-fit screenshots, not "based on backtest" — actual live results
Plays nicely with this repo — the AI Trader MCP skills can analyze, fork, and improve any Strategy Factory bot
Path
What you do
Where to start
🛠 Build it yourself
Use the skills, prompts, and loop roles in this repo. Pine Script + backtests + optimization, all from chat.
Stay here
🚀 Use what already works
Browse the marketplace, pick a bot, plug into your trading stack.
One conversation. Fifteen specialists. Forever. Every role is TradingView-native — pure Pine Script and OHLCV, no off-chain data feeds.
Drop any of these into your AI client's /loop command and walk away. Each role fires every 15 minutes, runs one focused research cycle through Trader Dev MCP, and writes a structured report.
# Greenfield strategy creation, every 15 minutes
/loop 15m read loop/01-quant-mathematician.md and execute it
# Risk audits the existing book, every 15 minutes
/loop 15m read loop/08-risk-manager.md and execute it
A position-sizing lab — improve P&L by tuning leverage/Kelly/vol-targeting without changing entries.
A live signal monitor — pipe Trader Dev signals to Telegram alerts.
A strategy fork-and-improve loop — search the strategy library, fork winners, iterate one variable at a time.
🤖 Works with
If your agent speaks MCP, AI Trader MCP works.
💬 Example session
You: I want to test a volatility breakout idea on crypto.
Use the Quant Mathematician skill.
Agent: Hypothesis: when realized volatility compresses below the
20-period historical median for 8+ bars, a breakout in
either direction has positive expectancy on 1h crypto.
[writes Pine Script — no repaint, no lookahead]
[calls mcp__trader-dev__run_backtest across 10 pairs × 4 timeframes]
Results:
Net profit: +38.4%
Profit factor: 1.62
Max drawdown: -14.1%
Trades: 412
Stable on 7/10 pairs across 1h, 2h, 4h.
Fails on BTC and ETH — needs trend filter.
Verdict: Incubate.
Next iteration: add ADX < 25 regime filter.
(Illustrative format. Numbers depend on your strategy, market, and assumptions.)
🛠 Powered by Trader Dev MCP
Trader Dev is the live MCP server doing the heavy lifting. Agents connected to it can:
💬 Discord — coming soon — watch the repo to be notified
❓ FAQ
Is this a trading bot?
No. It is a skills directory that lets AI agents talk to the Trader Dev MCP server. Trader Dev runs the backtests; the skills tell your agent how to behave like a quant researcher.
Does it place real trades?
No. AI Trader MCP is for research, backtesting, and education. Live signals can be piped to Telegram, but execution is your responsibility.
Which AI agents are supported?
Anything that speaks MCP — Claude Code, Codex, Cursor, OpenClaw, Cline, Continue, Windsurf, Gemini CLI, and any custom agent using the Model Context Protocol.
Why Pine Script?
Because TradingView is where most traders already live, and Pine Script is the fastest path from idea to backtest. Python/Polars support is on the roadmap.
How is this different from virattt/ai-hedge-fund?
That repo is a Python simulation of named-investor personas. AI Trader MCP is the infrastructure layer — an MCP server plus skills that any AI agent can use to actually generate, backtest, and optimize Pine Script strategies. They are complementary.
Do I need a Trader Dev account?
Some MCP tools require authentication. See docs/QUICKSTART.md.
Will this make me money?
No promises, no guarantees, no financial advice. See the disclaimer.
🛡 Risk notice
Trading is risky. Crypto is risky. Leverage is risky. Backtests are not guarantees. This project is for research, backtesting, and education only. Always paper trade and forward test before considering any live deployment. The authors and contributors accept no responsibility for losses. Full text: docs/DISCLAIMER.md.
If AI agents should become real trading research assistants, star the repo ⭐.
A
Ai Trading Agent
DaviddTech·71 顆星·
Build your own AI hedge fund with Claude, Codex, Cursor & OpenClaw. The agent-native skills directory for Trader Dev MCP — write Pine Script, backtest crypto strategies, optimize parameters.
上次檢查時間:2026-10-27。 Build your own AI hedge fund with Claude, Codex, Cursor & OpenClaw. The agent-native skills directory for Trader Dev MCP — write Pine Script, backtest crypto strategies, optimize parameters.