Your figures
Optional fields may stay empty: whatever depends on them will show as Not measured.
Frequently asked questions
What is the risk of ruin?
The chance that the balance reaches a threshold you set, or falls below it, at any point within a number of trades: for example, 50 % of the initial balance within 500 trades. Here it is computed on paths of independent trades built from your declared figures, with the classic formula next to it when the average win equals the average loss.
Why does it ask how many trades my history has?
Because a win rate measured on few trades has a wide interval: with 50 trades, a declared 60.0 % is compatible with 46.2 %. The calculator repeats everything at the lower end of the 95 % Wilson interval and shows both figures side by side.
How is it different from the drawdown?
The ruin threshold is measured from the initial balance; the drawdown, from the highest balance reached so far. The table shows the maximum drawdown of the median path and of the worst 5 % of paths (p95) within the horizon.
What it computes and assumes
- Each path has independent trades: each one wins your average win with your win rate or loses your average loss. Fixed size, counted on the initial balance, as in the classic ruin formula.
- Touching the threshold is reaching the share of the initial balance you set, or falling below it, on any trade of the horizon; the path walks on to the end so the drawdown is measured.
- The maximum drawdown is measured from each path's own peak; the longest losing streak comes from longest_run_tail, Rigor's engine function for independent trades.
- Every win and loss has the average size: no tails, slippage or costs. Real losses vary, so with a real history the threshold is usually touched more often.
- The Wilson 95 % interval is the range of win rates compatible with your sample if trades are independent; with few trades it is wide.
- We keep your figures in no database or file; since they travel in the link, the server's access log may hold the address requested. It is a calculation with declared figures, not an audit, a forecast or a sizing recommendation.
With your real history
With your real history, the report measures the streak, the drawdown and the ruin with your actual trades: upload your file. The report resamples your own days and compares your streak with your trades in random order.
Upload my file See a sample report