What problem does it solve?
Monte Carlo validation helps quantify path risk and edge confidence for a backtested strategy by running multiple randomizations and resampling against the Udgaard API, returning interpretable metrics for live-sizing decisions.
Core Features & Use Cases
- Orchestrates Monte Carlo simulations against a saved backtest using the Udgaard API, supporting TRADE_SHUFFLING and BOOTSTRAP_RESAMPLING techniques.
- Delegates interpretation to an analyst agent (monte-carlo-analyst) to generate final risk and sizing recommendations.
- Requires a recent backtestId stored in memory; results are compared to the original backtest metrics to assess edge stability.
- Useful for sizing and risk assessment before live deployment.
Quick Start
Run a backtest to obtain a backtestId, then invoke the Monte Carlo simulate API with a selected technique and that backtestId to generate a risk-analysis report.