In this Docker replay, an Apple RSI strategy ended the 2020–2022 period with a 0.36% loss and a Sharpe of +0.14. Holding Apple over the same dates returned +76.63%. The notebook buys when its 14-session RSI drops below 30 and moves to cash when it rises above 70. Each change takes effect at the following close. Original notebook
Two different calculations
Start with $100. On the first day you gain 20%, and on the second day you lose 19%. The average of the two returns is +0.5% per day. You finish with $97.20, because the second day's loss applies to the $120 you had after day one.
The engine's Sharpe starts with the average daily return, which was +0.0167% in this case, and relates it to how much those returns vary. The risk-free rate is 0%. Cumulative return applies each day's change to the previous day's balance.
What the replay covers
The notebook sets its cutoff in January 2020. Both PDFs cover the 755 daily returns after that cutoff, using prices adjusted for dividends and splits. The calculation keeps the notebook's zero-cost assumption. The notebook divides compounded annual return by volatility and labels that figure Sharpe. It gives −0.004 here.
What the engine measured
Cumulative return
Worst drawdown from a peak
Ratios, with their 95% interval
- Strategy
- Reference: AAPL
- Resampling range or 95% interval
Source: technical report of the test, linked below. Prices exclude dividends; the resampling uses the same historical series.
The technical report adds the margin of error to these figures. The Sharpe of the strategy was 0.14, with a 95% interval of −0.68 to 1.05. Against AAPL, the average annual difference was −21.59%, with a t-statistic of −1.64: it cannot be told apart from zero.
When the same returns were resampled in blocks, the cumulative return fell between −46.21% and 97.44% in the central 90%, and the worst drawdown between 19.87% and 59.41%. What that resampling measures is explained in Block bootstrap and permutation Monte Carlo.
Test reports

How to read this document is explained in the guide to the technical report.
How to read both documents is in the guide to the technical report.
See Strateva's services if you want to check the figures from your own strategy.