Financial ML backtesting
The Aurora Multi-Asset Navigator (AMAN) is my term project for MSDS 451: a rules-based strategy across five ETFs, with XGBoost and LSTM models that cut stock exposure when they turn bearish. I backtested it over 21 years as a hypothetical fund, fees included.
Backtest results
Nov 2004 to Nov 2025The overlay portfolios were only run after fees, so they are hidden in the before-fees view.
Growth of $1
Performance in the selected period
| Portfolio | Return a year | Volatility | Sharpe | Max drawdown | $1 became |
|---|
Drawdown
How the strategy works
AMAN trades five ETFs: US stocks (SPY), international stocks (EFA), real estate (VNQ), Treasury bonds (IEF) and gold (GLD).
About once a month it keeps only the assets whose price rose over the past year, skipping the latest month. It weights them by the inverse of their 60-day volatility, so calmer assets get more, with no asset above 40%.
If nothing has risen, it moves to 60% bonds and 40% gold.
The backtest charges what a fund would: a 2% management fee, a 20% performance fee above the high-water mark, a $100,000 startup cost on $1 million, and 5 basis points on trades. The two benchmarks pay the same fees.
What AMAN held
The machine learning overlays
For each ETF I trained two models on data before 2015 and tested them on 2015 onward. An XGBoost classifier predicts whether tomorrow's return is up or down from recent returns, moving averages, volatility and momentum. An LSTM predicts tomorrow's return from the last 20 days.
The stock ETFs' predictions are combined into one signal. When it turns bearish, the overlay halves the stock and real estate weights and moves that money into bonds and gold. The ensemble acts only when both models agree.
Across 249 rebalances, the LSTM signal was bearish 57 times, XGBoost 23 times and the ensemble 21 times.
XGBoost accuracy on the test period
| ETF | Next-day direction accuracy |
|---|
What I found
The rules controlled risk. Over the full period AMAN had lower volatility (10.1% against 13.0% for equal weight and 12.0% for 60/40) and a much smaller worst fall (25% against 38% and 37%).
It did not beat the benchmarks on return. After fees AMAN returned 4.4% a year, against 5.8% for equal weight and 4.5% for 60/40. Since 2015 the gap widened: 2.8% against 5.3% and 3.6%.
Fees took almost half the return. Before fees AMAN returned 7.7% a year. A 2 and 20 fee structure cut that to 4.4%.
The models added little. The ensemble overlay trimmed the worst fall from 25% to 22% but gave up 0.2 points of return a year. With next-day accuracy near 50%, there was not much signal to act on.
Monte Carlo simulator
Built on the project's return dataBalance over time
Ending balances
Balance by year
| Year | Poor (10th) | 25th | Middle | 75th | Strong (90th) |
|---|
How it works: each simulated month is drawn at random from the 239 real months in the project's data (December 2005 to October 2025). The five ETFs always come from the same real month, so they move together as they did in history, and ETF mixes are rebalanced monthly. Money moves in or out at the end of each year. The simulator assumes the future resembles those 20 years, which included a long rise in US stocks and gold, and it ignores taxes. AMAN is a course project, not a real fund. This is a teaching tool, not financial advice.