Top 2% on paper, -14 on new data
Our Algothon 2025 bot placed top 2% and then flopped live. I went back with fresh data and found the 5 checks that would've caught it before we hit submit.
By Ojas KekreCyber security, Monash University
Our team, Bits N' Bytes, placed top 2% at Algothon 2025 (UNSW FinTech Society x Susquehanna). Then the live round happened and we fell apart.
Months later I reran our exact code on data it had never seen. The backtest had been telling us the whole time.
- Score on the 1,000 days we tuned on
- 3.52
- Same code, 1,000 days it never saw
- -14.34
- Small tweaks that went negative on new data
- 35 / 35
The game
| Rule | Detail |
|---|---|
| Instruments | 50 fake instruments |
| Each day | Your code sees the prices so far and picks a position in each |
| Position cap | $10,000 a name |
| Fee | 0.05% on every dollar you trade |
| Score | Average daily profit minus a tenth of its standard deviation, so a smooth run scores better than a volatile one (this matters later) |
- 01
Momentum model
Ride whatever's trending
- 02
Volatility model
Take over when it gets choppy
- 03
Smoothed blend
12-day weight between the two
- 04
Vol targeting
Keep risk steady
- 05
Correlation filter
No near-duplicate bets
Scoring in blocks
| Label | Score |
|---|---|
| Days 1-250 | 21 |
| 251-500 | -13.5 |
| 501-750 | 9.8 |
| 751-1000 | -1.8 |
Two of the four blocks lose money. The headline 3.52 is one good stretch, and we only ever looked at the total.
Days it hadn't seen
| Label | Score |
|---|---|
| Tuned-on days | 3.52 |
| 1,000 new days | -14.3 |
| 2024 practice file | -13.7 |
| Label | T-statistic |
|---|---|
| Tuned-on days | 3.79 |
| 1,000 new days | 0.8 |
What the clever parts did
vol_target pinned at 1.5x on 962 of 962 days dead mean_reversion switches on at 0.2, max seen 0.0022 dead sizing formula wanted ~$111k a name, cap is $10k short side picked nothing in 94.6% of rebalances corr filter rejected a name 5% of the time blend factor averaged 0.22, mostly just shrinking momentum
- Momentum on its own, score
- -5.36
- Its daily swing
- $257
The blend shrank momentum, the swings shrank with it, and a score that punishes swings rewarded us for betting less. The "blended regime strategy" was mostly a position size.
The fee
| Label | Score |
|---|---|
| No fee | 7.21 |
| 0.05% (the competition) | 3.52 |
| 0.1% | -0.2 |
Five checks for the next backtest
Lock the last 250 days away on day one
Score on them once, at the very end, and not before.
Score every block, not the total
If one block carries the score, find out why before trusting it.
Delete each component and re-score
If the score doesn't move, the component isn't doing anything.
Pick plateaus over peaks
If one step either side of a setting drops the score sharply, the peak is probably noise.
Rerun at 2x the fee
If the score goes negative, the edge was smaller than the cost of trading it.
When the score arrived
- Until 14 July
Score negative
- 14 July
Jumps to 3.09
- 22 July
3.52
Most of our "edge" showed up in the last week of tuning, which in hindsight is the week to trust least.