Professional NBA betting analytics with fully automated daily updates
✅ Fully Automated - Zero maintenance required ✅ Daily Updates - Fresh predictions every morning at 9am ET ✅ Performance Tracking - Real win/loss record (no fake stats) ✅ 6 Prediction Models - Sully Four Factors, ELO, Net Rating, Pythagorean, Ensemble ✅ +EV Calculator - Expected value for every bet ✅ Multi-Book Line Shopping - Compare 5+ sportsbooks ✅ Sharp Money Indicators - RLM, Steam Moves, CLV tracking ✅ 100% Free - No subscriptions, no paid APIs
9:00 AM ET - GitHub Actions runs:
- Fetches today's NBA schedule
- Gets injury reports from ESPN
- Pulls betting lines from multiple books
- Calculates predictions using 6 models
- Stores data in
data/folder
2:00 AM ET (after games finish):
- Fetches final scores
- Checks predictions vs actual results
- Updates win/loss record
- Calculates accuracy stats
When You Visit: Fresh data from latest automated run!
- Visit:
https://lukegranto23.github.io/nba-sharp-analytics/ - See today's predictions automatically
- Check back tomorrow for new games
- Frontend: HTML/CSS/JavaScript
- Backend: Python + GitHub Actions (cron jobs)
- Database: JSON files in
data/folder - Hosting: GitHub Pages (free)
- APIs: balldontlie.io (free NBA data)
.
├── index.html # Main app
├── data/
│ ├── todays_games.json # Updated daily at 9am
│ ├── predictions.json # Today's predictions
│ ├── predictions_history.json # All past predictions
│ ├── performance.json # Win/loss stats
│ ├── team_stats.json # Current season stats
│ └── injuries.json # Latest injury reports
├── scripts/
│ ├── fetch_nba_data.py
│ ├── generate_predictions.py
│ ├── check_results.py
│ └── update_performance.py
└── .github/workflows/
├── daily-update.yml
└── check-results.yml
Check data/performance.json for live stats:
- Overall accuracy %
- Win/loss record
- By confidence level
- By model type
This is a personal project, but feel free to fork and customize!
MIT