← All work

Software · 2026

NBA Lab: Game Simulation & Prop Pricing

A simulation engine that simulates every NBA game, prices each player prop and game line against the live prediction-market price, then grades itself after the final buzzer and recalibrates.

Role

Model design, simulation engine, automated grading and calibration, data pipeline, members web app

Year

2026

Highlights

Full-game Monte Carlo simulation · Live market pricing and edge · Nightly report cards with letter grades · Self-calibrating from graded results · On-demand runs with database-enforced cooldown

Stack

PythonNumPyMonte Carlo simulationSupabase (Postgres + RLS)Prediction-market APIESPN dataVercel

Prop markets move fast and a gut feel doesn't scale across a ten-game slate. The goal was a model that projects every game end to end, puts a fair price on each player stat line, and shows exactly where it disagrees with the market, with an honest record of when it was right.

Each game is simulated many times over, producing a full distribution for every team total and player stat. Those distributions are priced against live market quotes pulled server-side, so each line shows fair probability, market price and edge. Members can re-run a simulation on demand from the web app, with a per-game cooldown enforced in the database.

After every final, an automated grader pulls the box score, scores each flagged take and lean, writes a plain-English report card with a letter grade, and explains the misses (minutes vs projection, blowouts, totals). A learning step then fits per-market calibration and bias corrections from the graded history, moving gradually and shrinking toward the market until there is enough data, so the model gets more honest every night.

Have something like this in mind?

Start a project