case study · the oracle

A sports prediction engine that knows when to pass.

The Oracle is our own project: a value-finding assistant for TAB NZ markets. It gathers prices, line-ups and news, works out its own chance for every match, and recommends a stake only when TAB’s price clears a set edge. It never places a bet itself. A person always decides.

client
Our own project
industry
Sports analytics · our own tool
what we built
Data pipelines, models, dashboard
access
Private dashboard
The Oracle dashboard on a phone: gauges for exposure, matches priced, sharp prices, data coverage and mean edge, above a radar of upcoming matches by sport
The Oracle’s edge histogram, with only a few matches past the 3% betting line, and a chart of its chances against the market’s
The Oracle’s matches by sport across ten sports, and 75 TAB NZ price changes in six hours

The brief

Bookmakers build a margin into every price, so most bets lose over time. The only bets worth making are the few where the price is wrong, and the hard part is proving an edge rather than hoping for one.

We wanted a tool that gathers everything that moves a match, compares its own view with TAB’s price and the sharpest markets, and tells the truth about its own track record: which recommendations beat the closing price, and whether any edge is real or just luck.

What we built

Prices from every direction

TAB NZ’s own pages, read live in a headless browser, beside bookmaker odds from The Odds API, Betfair Exchange prices and volume, and the Polymarket and Kalshi prediction markets.

Line-ups, injuries and news

Team lists, official injury reports, coaching changes and news from RNZ, the NZ Herald, Stuff, the BBC, ESPN and more, each matched to the games it affects.

A model for each sport

Goals models for football, margin ratings for sports like the NFL, AFL and NRL, Elo ratings for tennis and cricket, and player factors such as a starting quarterback’s value, each blended with the market’s own price.

Tested on seasons it never saw

Models are tested walk-forward on past results only and scored against closing prices. A new data source is switched on only if it beat the old model on seasons it wasn’t fitted to.

Stakes with the risk shown

Bet sizes come from a fraction of the Kelly formula, capped per bet and in total, and a Monte Carlo simulator plays the slate out thousands of times to show the spread of outcomes.

A dashboard that shows its working

Every probability comes with the factors that moved it and every match with each bookmaker’s price history. An append-only logbook scores each forecast once the match is played, and alerts go to a phone.

A closer look

The Oracle dashboard: gauges for exposure, matches priced, sharp prices, data coverage and mean edge, above a radar of every upcoming match by sport and time
At a glance: how much of the slate it can price, how much of its data is in, and every match to come by sport and kick-off.
The Oracle’s edge histogram, with only a few matches past the 3% betting line, and a scatter of its chances against the market’s
Most prices are fair or worse, so most matches sit left of the green line. Its chances track the market’s closely.
The Oracle’s matches by sport across ten sports, and a chart of 75 TAB NZ price changes in six hours
What it’s watching, sport by sport, and how often TAB NZ moves its prices.

Under the hood

Python, mostly its standard library, running as one process with one SQLite file. A headless Chrome or Edge reads TAB NZ’s pages the way a person would, and never clicks or types anything. The dashboard is served by Python’s own web server with no outside scripts, and it’s reached privately from a phone.

  • Python
  • SQLite
  • Headless Chrome via DevTools
  • Statistical models
  • Monte Carlo simulation
  • ntfy and Telegram alerts

What it shows

The Oracle’s best feature is how often it says no. On the morning of these screenshots it was watching 78 matches across ten sports, had priced 67 of them, and found nothing worth backing.

Every recommendation is logged and graded against the closing price, so its record can be checked rather than claimed. With 24 bets logged so far, its own verdict on whether the edge is real is “too early to tell”.

It’s the same approach we bring to client software: pull every source together, model it, test it honestly and show the reasoning.

matches watched on one morning
78
sports on the slate that day
10
edge a price must clear before it’s a bet
3%

From The Oracle’s dashboard, 7 November 2026.

Next case studyFemme Fatale Venue website rebuild · Gentlemen’s club · Auckland CBD

Got decisions buried in data?

Pricing, stock, quoting or scheduling: if your business runs on numbers from several places, we can pull them into one tool that shows its working.