Skip to content

A simple tool to find sports betting arbitrage opportunities.

License

Notifications You must be signed in to change notification settings

daankoning/ArbitrageFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrage Finder

A simple tool to find sports betting arbitrage opportunities.

The tool fetches the odds from The Odds API and compares the odds at different bookmakers to each other in order to determine whether there are profitable and risk-free bets available.

Installation

Start out by cloning the repository:

git clone https://github.com/daankoning/ArbitrageFinder.git

Install the dependencies:

pip install -r requirements.txt

Next, ensure you have an API key from The Odds API and simply run:

python main.py --key <YOUR_API_KEY>

Usage

The tool offers five optional command line arguments.

API key

In order to set the API key to use either the -k or --key arguments. If neither of these are used the script will read the value of $API_KEY. .env files are also supported and automatically loaded.

Region

Different parts of the world have different bookmakers. To reflect this the -r or --region arguments allow you to set the region in which to search. Accepts the values "eu","us", "uk", and "au".

Unformatted

Using the -u or --unformatted flags will remove the pretty printing and simply dump the json which contains the arbs to the console directly. Use this if you intend to extend upon the script in some way, for regular usage the formatted print is significantly better.

Cutoff

The -c or --cutoff allow you to set a minimum profit margin. Should be set as a percentage, so -c 10 means a 10% profit margin. Defaults to 0 (i.e. any profitable arb will be displayed).

Help

The -h or --help flags will show a short help message with documentation.

About

A simple tool to find sports betting arbitrage opportunities.

Topics

Resources

License

Stars

Watchers

Forks

Languages