Find profitable MLB bets by comparing sportsbook odds.
Overview This project identifies situations where sportsbook odds deviate enough to provide positive expected value bets for upcoming MLB games. It calculates implied probability averages across books and highlights opportunities against the market.
The output is a Markdown table with matchups, dates, odds, and expected values for betting consideration. Useful for baseball fans, bettors, and anyone interested in sports analytics.
Usage
Get Free API Key from The Odds API by clicking on the Get API Key button.
Clone the repo
git clone https://github.com/jrey999/mlb-positive-ev.git && cd mlb-positive-ev
Create a .env
file in the root directory of the project with the following:
API_KEY=<your_api_key_here>
Create and instantiate a virtual environment
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip -r requirements.txt
Collect data
./shell/schema.sh
python odds.py
Generate Positive EV Report
./shell/queries.sh
Reports are output here