Arbitrage Betting is a sophisticated strategy designed to leverage differences in odds across various bookmakers, ensuring a guaranteed profit for the bettor. This repository presents an algorithm that meticulously calculates arbitrage opportunities, focusing on two distinct betting games: Over/Under (Totals) and Head-to-Head (H2H) betting.
Arbitrage betting involves strategically placing bets on all potential outcomes of an event, exploiting pricing disparities among bookmakers. This results in a positive return, irrespective of the actual event outcome. The algorithm employed in this project provides a quick, precise, and risk-free approach to capitalize on these opportunities.
Over/Under (Totals) Betting: Predicts whether a game's final score will surpass (Over) or fall below (Under) a predetermined score set by the bookmaker. This requires forecasting the total points or goals in a game.
Head-to-Head (H2H) Betting: Individuals place bets on the anticipated victory of either the home or away team, with the option to bet on a draw if applicable.
The algorithm utilizes live data sourced from the ODDS API, specifically collecting information on the upcoming/live games to ensure accurate and current calculations.
To run the Arbitrage Betting algorithm:
.env
file.arbitage_betting.ipynb
notebook by selecting the Run All option.Note: Exercise caution as there are limited API requests available per month.
The algorithm generates two pandas dataframes, presenting arbitrage opportunities in a ranked order based on the highest Return On Investment (ROI%).
This project is licensed under the MIT License.
Disclaimer: This project is for educational purposes only. Ensure compliance with relevant gambling laws and regulations in your jurisdiction.