Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odds-data

Hourly collector for season-long football odds, feeding the chart at markhaghani.com/odds.

  • collector.py pulls Premier League title and top-4 odds from Polymarket, gates each snapshot for quality (untraded books are flagged, never charted), stores everything in data/odds.sqlite, and exports data/epl.json.
  • .github/workflows/collect.yml runs it hourly and commits the result.
  • The site fetches data/epl.json from raw.githubusercontent.com at page load, so data updates without rebuilding the site.

EFL Championship promotion is planned via a Betfair adapter (Polymarket's promotion market is untraded - the book sums to ~11 against a target of 3).

Season rollover checklist (each July)

  1. Bump SEASON in collector.py.
  2. Replace the MARKETS slugs with the new season's Polymarket event slugs (search gamma-api /public-search for "EPL champion" etc).
  3. Add promoted teams to CANON - the collector fails loudly on unknown names.
  4. Old rows keep their season tag; the export only serves the current season, so series from different seasons never join into one line.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages