MLB Betting Tracker & Analytics Platform

Tech Stack: Python, FastAPI, SQLAlchemy, SQLite, JavaScript, Tailwind CSS, The Odds API

Project Overview

A comprehensive web application for tracking MLB bets and analyzing betting opportunities using real-time odds data. The platform combines statistical analysis with modern web technologies to help users make informed betting decisions and monitor their performance.

Key Features

📊 Real-Time Odds Integration

  • Fetches live MLB odds from The Odds API across multiple bookmakers (DraftKings, BetMGM, FanDuel, etc.)

  • Supports comprehensive markets: moneylines, spreads, totals, team totals, innings props, and player props

  • Automatic data validation and quality checks to filter contradictory odds

Backend Architecture

  • RESTful API built with FastAPI for high performance and automatic API documentation

  • SQLAlchemy ORM with SQLite for efficient data management

  • Modular router structure for scalable endpoint organization

  • Comprehensive error handling and data validation

🎯 Advanced Analytics Engine

  • Expected Value (EV) Calculations: Identifies profitable betting opportunities using vig removal and true probability estimation

  • Smart Suggestions System: Generates betting recommendations based on statistical analysis and market inefficiencies

  • bet365 Integration: Real-time EV recalculation when entering custom odds from your preferred sportsbook

Statistical Analysis

  • Custom algorithms for probability estimation and vig removal

  • Market-specific adjustments based on betting theory (home field advantage, underdog value, etc.)

  • Confidence scoring system for bet recommendations

Data Management

  • Automated odds fetching with rate limiting and error handling

  • Efficient database schema supporting multiple bet types and markets

  • Data quality validation to ensure reliable analysis

📈 Performance Tracking

  • Complete bet lifecycle management with win/loss tracking

  • Statistical dashboard with win rates, profit/loss analysis, and performance metrics

  • CSV export functionality for external analysis

  • American odds format support throughout the application


Technical Implementation

🎨 Modern User Interface

  • Responsive design built with Tailwind CSS

  • Intuitive tabbed navigation (Dashboard, Suggestions, Bet Placement, Tracking)

  • Interactive filtering and search capabilities

  • Real-time odds comparison and EV calculations

This project demonstrates proficiency in full-stack development, API integration, statistical analysis, and sports analytics. It showcases the ability to build practical applications that solve real-world problems by combining data science concepts with modern web development practices.

Live Demo Features:

  • Browse real-time betting suggestions with EV calculations

  • Interactive odds comparison tools

  • Comprehensive bet tracking and analytics dashboard

Business Value

Previous
Previous

The Lineup - Fantasy Basketball Draft Assistant

Next
Next

Project Three