Betting Script


This script was created using Python, as well as the Playwright and Pandas libraries.

 

It worked as a data mining script to automate the calculation of whether a bet was worth making.

It first gets data from Betmines, a website that shows football statistics and the probability of certain events happening or not.
Then the script fetches the odds from Bet365
With the odds (i.e. how much a player will win by winning a certain bet) and their corresponding probabilities, the script then calculates the mathematically expected win from each bet

if the expected win of a bet is positive, the script stores that bet and its information (teams, bet type, etc.) in a pandas data frame

Throughout the script, these data frames are concatenated

The final data frame is exported as a CSV file at the end


Go back
5-05-2025, 22:01