# BacktestAI

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Khattabi Mouad](https://cerebralvalley.ai/u/khattabim)
- **GitHub:** https://github.com/khattabi1/BacktestAI
- **Demo video:** https://youtu.be/H_ScoEbEO4E
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2673

I'm a developer and a trader, and I built BacktestAI because of a problem I lived myself. Most traders don't lose because the market is unfair. They lose because they never really see how their strategy performs, so the first losing streak breaks their trust and they start trading on emotion.

So I built a Quant AI agent on the Meta Model API that turns an idea into a tested Expert Advisor. You describe your strategy, by text or by voice, and it designs it with you, writes the MQL5 code, compiles it, fixes its own errors and tests it on real trading platforms with real market data. Muse Spark 1.3 leads the conversation and reads charts, Muse Wonder 1.0 handles the heavy engineering, and Muse Spark 1.3 Contributor runs the AI Watcher. The agent can't skip a step or invent a number, and when a result is bad, it says so.

I also built Backtest Studio, where you replay the market and trade by hand while the AI Watcher reviews your behaviour, and the AI Strategy Cloner turns your own trades into written rules. And a community where every shared strategy must pass a 5-year test and an AI code review first, because fake results are everywhere in trading.

One more thing I cared about: testing a strategy always needed a Windows desktop. BacktestAI runs the tests on its own terminals, so it works from your phone.

## More from Meta Global AI Developer Hackathon

- [Portia](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2670)
- [Triton Kernel Harness](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2671)
- [Sensora AI](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2672)
- [AnyBody](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2674)
- [OmniInspect AI](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2675)
- [Glenox Team](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2676)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2673. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
