{
  "id": 21485200,
  "title": "Let Claude backtest your trading rule in plain words",
  "url": "https://urgent.news/2026/11/23/let-claude-backtest-your-trading-rule-in-plain-words",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-23T22:28:03.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/daenadigital/let-claude-backtest-your-trading-rule-in-plain-words-560f"
  },
  "original_language": "en",
  "account": "Claude, an AI tool, offers a simplified way to backtest trading strategies without needing complex code. A user provided Claude with the simple rule: buy SPY when its 50-day average crosses above its 200-day average, and sell when it crosses back below. Claude then ran this strategy through its Backtester MCP server, providing all the trade details, the reasons behind them, and the equity curve compared to SPY.\n\nOver the period from January 2, 2015, to December 31, 2024, Claude's backtest generated 5 trades, resulting in a total return of 110.4 percent. In contrast, simply buying and holding SPY during the same timeframe yielded a return of 185.3 percent. The worst decline from a previous high was 34.1 percent. Despite making money, Claude's strategy still underperformed compared to just holding SPY. The main takeaway is that a rule is considered successful only if it surpasses the long-term performance of holding SPY.\n\nInterested individuals can try this out themselves for free, with no signup required. Those using the web version can add the MCP server to Claude Code by typing \"claude mcp add --transport http backtester https://backtester.daenadigital.com/mcp\". Alternatively, Claude or ChatGPT users can add a custom connector using the server address \"https://backtester.daenadigital.com/mcp\". To execute the strategy, simply ask Claude to \"backtest buying SPY when its 50-day average crosses above its 200-day average, and selling on the cross below, from 2015 to 2024\". The web version also allows for immediate testing at https://backtester.daenadigital.com/strategies/golden-cross/, where the user can adjust the rule directly in the chat. However, it's crucial to remember that past results do not guarantee future returns; this test is merely a demonstration.",
  "summary": "Most backtesters want code. This one wants a sentence. I gave Claude this rule: buy SPY when its 50 day average crosses above its 200 day average, sell when it crosses back below. Claude ran it through the Backtester MCP server and came back with every trade, the reasons, and the equity curve next to SPY. Result, 2015-01-02 to 2024-12-31: 5 trades, plus 110.4 percent. Buying and holding SPY over…",
  "key_points": [
    "Claude backtests trading rule with simple words",
    "Strategy generates 5 trades, 110.4% return from 2015-2024",
    "Holding SPY yields 185.3% return, Claude underperforms"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}