Strategy Methodology
Monte Carlo Simulation
A computational method that runs thousands of randomized scenarios to estimate the probability distribution of possible outcomes.
Monte Carlo simulation answers the question: given what we know about the inputs, what is the range of possible outcomes? Instead of calculating a single expected value, it runs thousands of trials with randomized inputs drawn from observed distributions, then maps the full range of results.
The botwir3 Monte Carlo module uses simulation for position sizing and risk estimation. Given a proposed trade, the module generates outcome distributions based on historical volatility and the configured parameters, then evaluates whether the proposed size keeps the portfolio within the tolerance band across a specified confidence interval.
Monte Carlo does not predict the future. It maps what is plausible given the inputs. If the inputs are wrong — volatility is understated, correlations shift, regime changes — the simulation output is wrong. The module is a sizing tool, not an oracle. The user configures the number of trials, confidence level, and input distributions.
Sources
Used in
◎Monte Carlo Simulation module — builder