Edit the assumptions to see how the result changes. These example values are hypothetical.
Keep the full BTC curve and baselines with the endpoint calculation
Portfolio value (USD)
- BTC 50-day trend 2024-12-31, 21:00:00 UTC
- $15,660.69
- SPY buy and hold 2024-12-31, 21:00:00 UTC
- $12,530.29
- BTC buy and hold 2024-12-31, 21:00:00 UTC
- $21,926.92
BTC 50-day trend: 28.77% largest decline in plotted observations. 2024-03-13, 20:00:00 UTC ($14,803.09) to 2024-10-11, 13:30:00 UTC ($10,544.26).
- Strategy return
- 56.61%
- Maximum drawdown
- 28.77%
- SPY return
- 25.30%
- BTC return
- 119.27%
This saved algorithm completed a Day backtest from 2024-01-01 through 2024-12-31, with $10000.00 starting capital. The chart includes all 744 exported history points.
Compare the strategy with SPY and BTC buy and hold. Each benchmark invests the full $10000.00 starting balance over the same 2024 period. SPY follows its trading sessions; BTC includes weekends. This algorithm follows its own allocation and entry/exit rules, with 0.7% of traded notional charged on each fill. Explore cash and position values to see how capital was deployed.
Check the recorded endpoints against a calendar-year calculation
The completed 2024 test records $10000.00 starting capital and $15660.69 ending portfolio value. With one calendar year and no external cash flows assumed, ($15660.69 / $10000.00 − 1) × 100 = 56.61%. Enter those endpoints and 1 year above to inspect the arithmetic.
The first plotted strategy snapshot is already after its opening fee. Use declared starting capital for the full test's return rather than substituting that first post-fee observation. An annualized endpoint calculation leaves the intervening risk visible in the curve below.
Explore the calculation
Annualized growth = ((ending value / starting value) raised to (1 / elapsed years) minus 1) × 100. This calculation uses a fixed starting balance without additional deposits.
No comments yet.