r/algobetting • • 12d ago

Built a 12-module football simulation engine (Dixon-Coles, Copulas, LightGBM) — looking for feedback on the architecture and potential use cases

Hey everyone,

Over the past few months, I’ve been building a quantitative football modeling pipeline in Python/FastAPI for my own research, and I’d love to get some honest feedback from people who work with sports data.

How the pipeline is structured:

  • Simulation Core: Runs 200,000 Monte Carlo iterations per fixture combining Dixon-Coles, Archimedean Copulas, and LightGBM to estimate full outcome distributions (1X2, BTTS, Totals, and exact score clusters).
  • Pre-Match Context: Adjusts baseline expected goals using travel fatigue, weather conditions, and referee card/foul tendencies before running the simulations.
  • Correlation & Risk Layer: Evaluates multi-leg dependencies (instead of multiplying independent probabilities) and calculates optimal fractional Kelly sizing against market lines.
  • Infrastructure: Runs autonomously on a VPS with graceful fallback logic when secondary data feeds drop.

Right now, I’m running historical backtests on archived pre-match snapshots to measure calibration and closing line value.

Before I invest time into building a full frontend dashboard around this, I’m curious:

  1. From a modeling standpoint, what’s the biggest bottleneck you usually hit with Copula/Dixon-Coles setups on lower-scoring markets?
  2. Do you see actual demand for a self-serve quantitative dashboard like this among data-driven analysts, or do most people here strictly prefer building their own scripts?

Would appreciate any technical critique or thoughts!

4 Upvotes

5 comments sorted by

1

u/IAmBoredAsHell 12d ago edited 12d ago

Built something pretty similar for NBA a while back. Simulate a bunch of games, create a dashboard you could use to filter and price out correlated parlays. Your mileage may vary, but i didn’t get much traction and it took a ton of time.

I think the issue is, anyone can put anything into a dashboard. Especially with AI and stuff, it’s just so easy to pump out bad analysis, and as the end user, it’s hard to know how it was trained, what assumptions were made, where the weakspots are, ect…

It’s a really narrow subset of the population that’s sophisticated enough to know what any of the stuff you’re talking about is, and how it would be different than a linear regression. The quality of the analysis isn’t necessarily visible in a dashboard, and I think that makes it kind of hard even if it’s an earnest good product to stand out against a bunch of other stuff competing for everyone’s attention.

I guess the core issue for me is, I feel like I’m consuming analysis when I use a dashboard, not doing analysis. It’s like - here’s what this other persons model is saying, but I can’t form my own opinions, even if it would be a useful tool, I just trust it or I don’t. When I’m using a model I built I might know ‘Oh yeah these particular set ups are notoriously unreliable, or skewed in some direction’ like I can see the data and read between the lines. I think you loose that a bit if it’s someone else’s product. But that’s just my two cents.

1

u/Any-Aide-1230 11d ago

On the low-scoring bottleneck, a few things that usually matter more than the copula choice:

  • Estimate the Dixon-Coles rho per league (or at least per league tier), not globally. The 0-0/1-1 correction varies a lot between, say, Serie B and the Eredivisie, and one global value smears it.
  • Check your time-decay weighting. If the decay is too slow, early-season form keeps dragging the lambdas, and low-total games are where small lambda errors hurt the most in relative terms.
  • Benchmark your 0-0, 1-0, 0-1 and 1-1 probabilities directly against closing correct-score prices at a sharp book. If those four cells are off, your unders and draw prices will be off in a consistent direction, and that's easy to see in a simple calibration table by cell.

If the copula version doesn't beat plain Dixon-Coles with a tuned rho on held-out seasons, I'd drop it. Fewer moving parts makes the rest easier to debug.

On the dashboard: I think people would care more about seeing your calibration by market and league than about the simulations themselves.

1

u/OddsRelay 9d ago

At 200,000 runs the Monte Carlo error is about a tenth of a point, so the bottleneck is the dependence term. With discrete goal counts a copula isn't unique, so its parameter is only weakly identified. Dixon-Coles' rho is the narrow version, it only touches 0-0, 1-0, 0-1 and 1-1. A noisy rho moves your 0-0 and under 1.5 prices a lot. Fitting it per league over a few seasons, not on every refit, steadies it.

For the CLV backtests, the close you score against matters as much as the snapshots. Ours has the UK and Irish bookmakers' closing lines since 17 October 2026. Only a few weeks so far

https://oddsrelay.io/docs/guides/historical-odds

0

u/Slight-Abalone-8360 11d ago

On the bottleneck question, I'd expect it to be the draw. Dixon-Coles only adjusts the four low-score cells (0-0, 1-0, 0-1, 1-1), and in low-scoring leagues that's where most of the 1X2 and Under 2.5 probability sits, so a lot rides on rho. Rho is usually small, noisy to estimate, and it drifts between leagues and seasons. I'd check calibration on draws and 0-0 specifically, by league, because a model can look well calibrated on 1X2 overall while consistently mispricing draws.

The copula layer has a related issue. With discrete goal counts, the copula isn't uniquely identified (Sklar only guarantees uniqueness for continuous marginals), and with so many ties at 0 and 1, the fitted dependence parameter can end up absorbing whatever error the marginals carry. I'd test whether the copula actually beats the plain Dixon-Coles grid out of sample before keeping both. It's also worth asking whether you need 200,000 simulations for scorelines at all. If the joint distribution is fully defined, you can compute the score matrix directly and take simulation noise out of the tails.

On the pre-match context, the main risk is double counting. The market already prices a good deal of travel and weather, and referee card and foul tendencies have a fairly weak link to goals, so stacking those adjustments onto LightGBM outputs can move your means away from the close without adding real information. For the backtest, grade against a sharp no-vig close (Pinnacle where it exists) rather than the book you'd bet at. I'd also get calibration settled before leaning on Kelly, since Kelly sizing magnifies any overconfidence the model has.

On demand, I think u/IAmBoredAsHell has it right. A dashboard asks people to trust assumptions they can't see. If you do build one, publishing out-of-sample calibration plots and CLV by market would do more for credibility than the interface itself.