r/quant • • 23h ago

Backtesting How do you check whether a backtest's edge is real and not just luck? (repost from QuantNet)

1 Upvotes

I'm trying to get better at telling a genuine edge apart from a lucky backtest, and I'd like to hear how people here actually do it in practice, not just in theory.

The problem I keep running into: after trying a few dozen variations (lookbacks, filters, sizing), the best version always looks good in-sample. Even with a holdout, once I've peeked at the holdout a couple of times, it's not really out of sample anymore.

Things I've read about or tried:

  • Deflated Sharpe Ratio (Bailey & López de Prado), to correct for the number of trials
  • Probability of Backtest Overfitting via CSCV
  • White's Reality Check / Hansen's SPA when comparing several strategies
  • Block bootstrap confidence intervals on the out-of-sample excess return
  • Walk-forward with a strict "touch the holdout once" rule
  • Paper trading forward for a few months before believing anything

A few questions for those of you doing this professionally or seriously:

  1. Which of these do you actually use day to day, and which turned out not to be worth the effort?
  2. How do you keep count of "trials" honestly? Do you log every variant, or estimate it afterwards?
  3. How long a holdout or forward-test period do you need before you trust a Sharpe of around 0.5–1?
  4. For anyone who evaluates other people's strategies (allocators, prop firms, PMs): how do you screen a track record for luck or look-ahead before giving it capital?
  5. Any red flags you've learned to spot quickly (hit rates that are too high, smooth equity curves, etc.)?

I should give some background. I am inquiring about this because I am trying to write a script for my AI application development class. I hope I posted this in the right spot.


r/quant • • 7h ago

General Can retail investors get an edge?

13 Upvotes

For context, I went to a top school and majored in math and cs and I'm wrapping my ms up here too. Would it be possible to use what I learned to try to construct strategies and get an edge as a individual investor? Won't be working in finance, but I've seen many with my background head that direction so I was curious if it's even possible to do at a retail level.


r/quant • • 19h ago

Job Listing New Performance Research position at Optiver

Thumbnail optiver.com
104 Upvotes

Hello r/quant, I'm a performance researcher at Optiver (i.e. HFT, market microstructure, exchange optimization, etc). We've just opened a new role recruiting for my team, along with a new kind of assessment for Optiver: a public-facing take-home problem. The link to the problem is in the job description, but here's a direct link as well.

I developed this question, and I'm very happy to be able to share it with you. Exchange optimization is a very niche but very interesting side of trading, and this problem does a great job conveying the flavor of work involved.

Good luck!


r/quant • • 11h ago

Tools Open sourced the rest of my QuantLib pricing platform (portfolio, runs, P&L, vol surfaces)

Post image
19 Upvotes

Ten months ago I posted a pricing engine built on QuantLib and a small web UI for it. The UI and the backend behind it are now open source too (BSD 3-Clause, same as the engine).

What it does now:

  • Products: IR swaps, swaptions, fixed and floating bonds, CDS, equity options, inflation swaps, FX forwards, commodity swaps
  • Curves from quotes or from values, volatility surfaces fitted from option quotes (SVI, eSSVI, SABR) with fit and arbitrage checks
  • Books, valuation runs over a whole book, P&L between two dates split into carry, market moves, new and removed trades

No login and runs locally with:

git clone https://github.com/joseprupi/quantra.git

cd quantra

docker compose up -d

App and code: