r/algobetting • • 11h ago

I backtested 12,788 NBA player points overs for road underdogs (open-source Python repo + results)

1 Upvotes

I wanted to test a common narrative around NBA player props (road underdogs playing from behind or in high-pace spots clearing points overs) using actual historical closing lines instead of raw box-score averages.

Setup:

  • Sample: 12,788 NBA player points over markets for road underdogs
  • Benchmark: Hit rate compared against the de-vigged fair market probability (not just raw 50/50)

Result:

  • Actual hit rate: 48.6%
  • Market fair probability: 49.8%

Basically, the market prices it tight, and fading the narrative blindly or chasing it without sharper pregame context (injury timing, rotation shifts) is a losing trade.

I open-sourced the full Python backtest script and methodology here if anyone wants to fork it, swap in their own filters, or test other prop markets: https://github.com/sports-data-hq/nba-props-backtest

(Full disclosure: the script pulls historical NBA stats and multi-book props from DunkAPI, which I built. It runs on the free tier if you want to reproduce the notebook, or you can swap in your own CSV/data loader.)


r/algobetting • • 16h ago

Built a small pre-match model for lower leagues, now trying to improve the execution side

1 Upvotes

For about 2.5 years I've been building a small pre-match model on the side, mostly for volleyball and some lower basketball leagues. Nothing fancy on the ML side, mostly a pretty boring pipeline with ratings, market features and some matchup context, then a probability estimate and a staking layer on top.

What surprised me is that the model itself was only half the job. Getting clean odds history, deciding when not to bet, and tracking limits/slippage mattered just as much. Right now I pull lines from around 8 books and exchanges, including Pinnacle, bet365, Biggerz and a few regional books, mostly because softer leagues can move differently across them. Biggerz in particular has been useful as one more comparison point, not because it magically solves anything.

My ROI is still low, but the closing line behaviour is decent and the long sample is at least pointing in the right direction. Curious what people here found most helpful when moving from “decent model” to “decent execution”.