Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ridwansharkar/arbitrage-better
Identify and capitalize on real-time MMA arbitrage betting opportunities
https://github.com/ridwansharkar/arbitrage-better
angular selenium-webdriver spring-boot
Last synced: 3 months ago
JSON representation
Identify and capitalize on real-time MMA arbitrage betting opportunities
- Host: GitHub
- URL: https://github.com/ridwansharkar/arbitrage-better
- Owner: RidwanSharkar
- Created: 2024-08-13T16:30:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-06T15:14:55.000Z (4 months ago)
- Last Synced: 2024-09-27T14:40:56.039Z (3 months ago)
- Topics: angular, selenium-webdriver, spring-boot
- Language: Java
- Homepage:
- Size: 30.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**MMA Arbitrage Betting App**
________________________________________________________________________________________________________________**OVERVIEW:**
• Arbitrage-Better is a web application that helps users identify and exploit arbitrage betting opportunities in MMA bouts for guaranteed profit.
• The application scrapes live odds from bookmakers and calculates potential arbitrage bets, highlighting them for the user in real-time.
• Since an arbitrage bet may only exist for a narrow window of time, scheduled scraping and an email notification service are implemented to notify subscribers when a current arbitrage opportunity exists.
________________________________________________________________________________________________________________
![Homepage1](https://github.com/user-attachments/assets/09e9595e-9688-4e34-8965-edc380edf3ef)
________________________________________________________________________________________________________________
**UNDERSTANDING ODDS:****(+140) Odds:**
• if you bet $100, you will win $140 -> Total Return: $240
• The (+) indicates the fighter is the **Underdog**.**(-166) Odds:**
• you need to bet $166 to win $100 -> Total Return: $266
• The (-) indicates the fighter is the **Favorite**.________________________________________________________________________________________________________________
**ARBITRAGE BETTING:**![image](https://github.com/user-attachments/assets/265fc27e-8e24-41cf-8821-596a05d621bb)
By placing bets on both fighters on different bookmakers:
[Ilia] at DraftKings
Decimal Odds: 1 + (100/166) ≈ 1.60
Reciprocal: (1/1.60) ≈ **0.625**[Max] at Caesars
Decimal Odds: 1 + (170/100) = 2.70
Reciprocal: (1/2.70) ≈ **0.370**
______________________________________
0.625 + 0.370 = **0.995**To find an arbitrage opportunity, we must look for a combination of odds on both fighters where the sum of the reciprocals of the decimal odds is less than 1:
• **[< 1]** Indicates an arbitrage opportunity. The total implied probability is under 100%, suggesting that the market has underpriced the combined probability of all possible outcomes - offering a guaranteed profit scenario regardless of the outcome of the fight.
• **[= 1]** Implies that the market is perfectly balanced, i.e Payout = Risk.
• **[> 1]** Implies no arbitrage bet is possible and the bookmakers may be overpricing the combined probability of the outcomes.
________________________________________________________________________________________________________________
![image](https://github.com/user-attachments/assets/097323ba-698e-49b7-b97c-2e5612299842)
However, this arbitrage opportunity disappears within hours, as DraftKings' odds for [Ilia] rise to -175 to close this gap. Bookmakers collaborate to resolve wide discrepencies in odds, yielding only small windows of time to capitalize. Consequently, the closer the date to the actual bout, the less likely an arbitrage bet exists. To combat this, scraping live odds is scheduled for every 15 minutes, priming the app to alert subscribers via email when a current arbitrage opportunity exists, from up to weeks in advance.
________________________________________________________________________________________________________________
![Arbitrage Example 2](https://github.com/user-attachments/assets/e5ec43fc-3866-47a9-a2e0-faa94cbb624f)
[Jose Perez] at BetMGM
Decimal Odds: 1 + (100 / 165) ≈ 1.60
Reciprocal: (1 / 1.60) ≈ **0.625**[Jesse Stirn] at DraftKings
Decimal Odds: 1 + (265/100) ≈ 3.65
Reciprocal: (1/3.65) ≈ **0.274**
______________________________________
0.625 + 0.317 = **0.942**________________________________________________________________________________________________________________
**EXAMPLE BET:**
Bet **$305.56** on Fighter [Jesse Stirn] at Draftkings:
• Expected Payout: $1,115.28Bet **$694.44** on Fighter [Jose Perez] at BetMGM:
• Expected Payout: $1,115.28**Total Investment:** $305.56 + $694.44 = **$1,000**
**Total Payout in Either Case:** **$1,115.28**
______________________________________
**Total Guaranteed Profit:** $1,115.28 - $1,000 = **$115.28**________________________________________________________________________________________________________________
**NOTE:**Use at your own risk. Arbitrage betting is NOT illegal; however, bookmakers will likely ban you from their betting platform if detected.
________________________________________________________________________________________________________________
**TECH STACK:****Frontend:** Angular, TypeScript
**Backend:** Spring Boot, Java
**Scraping:** Selenium Webdriver, ChromeDriver, WebDriverManager