{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "hkuds-vibe-trading--backtest-a-strategy-from-plain-english",
 "repo": "HKUDS/Vibe-Trading",
 "repo_url": "https://github.com/HKUDS/Vibe-Trading",
 "repo_slug": "hkuds-vibe-trading",
 "title": "Backtest a trading strategy described in plain English",
 "page_title": "How to backtest a trading strategy described in plain English with Vibe Trading",
 "summary": "Install the package, run the setup, and ask for a backtest in one sentence.",
 "who": "A developer with a strategy idea who does not want to write data loading and backtest code by hand.",
 "problem": "Testing even a simple moving-average idea means wiring data, signals and metrics together first.",
 "outcome": "A finished backtest with a summary of return and drawdown, and the generated code saved in the run directory.",
 "steps": [
  "Install with `pip install -U vibe-trading-ai`",
  "Run the interactive setup (vibe-trading init in the README quick start) to write your .env with an LLM key",
  "Ask for a backtest with vibe-trading run and a prompt, for example a BTC-USDT 20/50 moving-average strategy for 2024",
  "Read the run card: settings it did not recognise are reported, and values it cannot compute come back as null instead of a guess"
 ],
 "agent_prompt": "Install HKUDS/Vibe-Trading and backtest <strategy in plain English> on <symbol> for <period>. Report return, max drawdown and number of trades, and list any backtest setting the run card flagged as unrecognised.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "A backtest is not a forecast, and the project warns it has never launched a token, so ignore any coin using its name. Not financial advice: paper trade first, and remember you can lose money.",
 "category": "Money",
 "tags": [
  "Money"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or later for a local install, or Docker",
  "An LLM API key from a supported provider, or Ollama locally",
  "Market data works without keys for many markets through free fallbacks"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Your LLM key lives in the runtime .env, so keep it private and out of shared folders."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/hkuds-vibe-trading/backtest-a-strategy-from-plain-english/",
 "md": "https://dedupedai.com/use-cases/hkuds-vibe-trading/backtest-a-strategy-from-plain-english/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/hkuds-vibe-trading--backtest-a-strategy-from-plain-english.json",
 "api_version": "v1"
}
