Start with AI. Learn by iterating.
Describe a trade idea, draft a strategy, run a backtest, and use the results to decide what to test next. Work inside MesoSim with the Integrated MesoSim AI Assistant, or research from Codex or Claude.
Research from Codex or Claude
Develop strategies, run backtests, and analyze results in a conversation. Connecting your agent requires MesoSim API access, included with the Advanced plan. You can also follow the built-in AI workflow below without either app.
Connect your AI Agent
Follow the setup guide to install the MesoSim plugin in Codex Desktop or Claude Desktop, connect your MesoSim API key, and check the connection.
Run your first backtest
Use the starter prompt above or describe your own idea, including the dates you want to test. Ask the agent to show you the Strategy Definition for review, then run and monitor the backtest.
Review and refine
Ask the agent to explain drawdowns, inspect trades, and compare runs. Change one thing at a time. You can open the same backtest in MesoSim to explore its charts and analytics.
Research with AI inside MesoSim
The Integrated MesoSim AI Assistant helps you develop strategies, analyze runs, and learn the platform. No separate AI subscription or API setup is needed.
Develop with AI
Start here when you want to develop a new strategy or modify a built-in template with the help of AI.
Ask AI on a run
Open a finished backtest when you want the assistant to explain outcomes, summarize event behavior, or propose the next experiment.
AI Assistant
Use this when you want quick help with generic MesoSim questions, capabilities or product behavior.
Can I exit a position based on the position delta?
What the assistant is good at
Open docs when you need exact reference
- Exact schema and field semantics
- Built-in strategy ideas and reference material
- Long-form walkthroughs and videos
- Fast lookups with the Docs button and
⌘+K
- Read the generated Strategy Definition before you run it.
- Use Event Viewer, the equity curve, and risk views instead of trusting the first draft.
- Change one thing at a time between runs so the next result is interpretable.
- You must be signed in and have an active plan to use the Integrated MesoSim AI Assistant.
- Integrated MesoSim AI Assistant usage quotas with reasonable use apply.
- Run-specific Integrated MesoSim AI Assistant questions only work on your own backtests.
- Backtests, also the ones the assistant runs, use your plan's weekly SimTime. Standard includes 2 SimHours a week and Advanced 5 SimHours, with up to 4 backtests running at once. The trial includes 3 SimHours of backtesting, up to 2 at once. Usage credits add SimHours beyond the weekly allowance.
- Codex and Claude are optional external tools. Connecting them requires MesoSim API access on Advanced.
- For the free-to-use ChatGPT Hosted MesoSim AI Assistant, please use the ChatGPT Hosted MesoSim AI Assistant.
Reference
Prefer to start from a template or edit a Strategy Definition yourself? Use the strategy library, exact references, and video tutorials below.