Day 183 — A continuous futures series is something you construct

Friday, 5 February 2027 · Week 27 of 52 · Alpha · Study day · 60 min

There is no such thing as a ten-year price history for a contract that expires quarterly, so every futures backtest starts with a construction choice that changes the answer.

What you should be able to do tonight

  • Name three ways to splice a continuous series and say what each does to the return series and to the price level.
  • Show that a naive price-splice creates returns that nobody could have earned.

Tasks 60 min

30 min Build all three from whatever contract data or ETF proxies you have: an unadjusted price splice, a back-adjusted series where the gap at each roll is subtracted from history, and a ratio-adjusted series. Plot the three and note that the back-adjusted one can go negative far enough back, which is a real property and not a bug.

20 min Show the error: compute the return series from the naive splice and find the fictitious return on each roll date, then report the annualised size of that artifact. This is the single most common futures backtest mistake and it can be worth several percent a year.

10 min Fix the convention in qlib: returns come from within-contract price changes, never across a roll, and the continuous series exists only for display. Write it as a docstring rule and a test.

Resources

Deliverable

Three continuous series constructions compared, with the naive splice’s fictitious annual return quantified, and the returns convention tested.

Checkpoint

Futures are in contango and you roll. What happens to a long position’s return, and why is losing money on the roll not the right description?

Prepare for tomorrow

Ten minutes tonight so Day 184, Saturday, 6 February 2027 starts clean. This is what the evening email sends you.

Build a 12-month time-series momentum signal on four instruments across two asset classes and record each one’s Sharpe.

Then record the Sharpe of the equal-weighted combination of the four.

The combination will be better than any single one. Note by how much.