BetArbit is a simple cli-based arbitrage bet detection and return calculation algorithm. The algorithm uses free data from The Odds API to determine if there exists opportunities to place bets that have guaranteed return.
I do not warrant that this works as it is based purely on theory and I have not used it in practice, nor do I condone or recommend that you do either. Gambling is risky and no one should do it. This is simply a code-based demonstration of the arbitrage betting formula.
1. git clone https://github.com/tomeady/BetArbit.git
- Create environment variable "THEODDSAPIKEY" with your The Odds API Key
3. npm i
1. cd BetArbit
2. node app --demo true --verbose true --bet 1000
- Datatype
- Default
- Descriptions
--demo
- boolean
- false
- Denotes weather to use the demo data provided/your own or to use the odds api.
--demo_file
- string
- ./test_data.json
- Specifies the demo data file location relative to the directory. Note: Must be supplied if demo is true
--bet
- integer
- 1000
- The total amount of money you're willing to wager
--sport
- string
- upcoming
- The sport type to download from the odds api. Please reference their site for more inputs.
--region
- string
- au
- The region to download from the odds api. Please reference their site for more inputs.
--verbose
- boolean
- false
- Whether to log all program output.
node app --demo true --verbose true --bet 1000