r/algorithmictrading • u/algodude Mod • Aug 16 '25
Backtest Post Your Equity Curves
Mod here. I'd like to make a call for equity curves of your favorite systems.
I'll go first: This post has the EC for an EOD system I've been screwing around with lately. This is a 100% out of sample, walkforward backtest of a monthy dynamic portfolio system that trades only stocks and TBill ETFs, with zero optimizable parameters. The red graph is SPY for the same period. Over the 25yr backtest, the system did 23/32 (CAGR/maxDD), with a maxDD on 4/14/2000.
Not perfect, but I like its smoothness and the way is sailed through 2008 and 2022. There is of course the usual survivorship bias inherent in most of these backtests, but the system was not optimized. Feel free to critique, praise, or totally shit on it as you see fit.
I'd really like to shift the focus of this sub to posts that get into the nuts and bolts of system building and encourage others to post what they are working on, systems they're particularly proud of, or even spectacular failures that didn't meet expectations.
Nobody is going to give away their secret sauce, of course. But it sure would be fun to see what others are working, on and offer critiques and encouragement.
Anyone else on board with this? If so, please contribute and show us what you've got!
3
u/GarbageTimePro Aug 17 '25 edited Aug 17 '25
Here are my equity curves for YTD and 2017-2025, all out of sample - https://imgur.com/a/XVSrbvt
This particular strategy is a momentum following strategy trading only leveraged ETF's.
I allocate about 15% of my my 6-figure trading capital to this strategy. The rest of my trading capital trades mostly conservative options strategies such as low-delta cash-secured puts and low-delta covered calls. It's a marathon, not a sprint!
YTD Performance Metrics:
Total Return (%) : 19.18
SPY Total Return (%) : 8.70
CAGR (%) : 32.95
Sharpe Ratio : 0.98
Max Drawdown (%) : 19.65
2017-2025 Performance Metrics:
Total Return (%) : 790.80
SPY Total Return (%) : 184.04
CAGR (%) : 28.90
Sharpe Ratio : 0.94
Max Drawdown (%) : 36.23
2
u/taenzer72 Aug 16 '25
Nice equity curve. But please explain. How can something be complete out of sample (2000) and without any parameters and dynamic at the same time?
2
u/jenpalex Aug 17 '25
I like the idea of establishing a baseline against which an algorithm’s results can be compared.
I am finding the explanation heavy going. Replacing the acronyms would be a good start. Also the graphing style is a bit hard to follow.
I use comparative CAGRs myself.
One would need to to set a minimum length of trading to reduce false positives.
2
u/jenpalex Aug 17 '25
I struggled with
EC for an EOD system
100% out of sample
walkforward backtest
monthly dynamic portfolio system
zero optimizable parameters
the system did 23/32 (CAGR/maxDD), with a maxDD on 4/14/2000.
2
u/trek_p_wild Aug 18 '25
I'm fairly new to algo trading so sorry if this is a dumb question but what platforms do you find best for build algos that can also accurately backtest?
0
u/[deleted] Aug 17 '25
[deleted] — view deleted comment