Coder Social home page Coder Social logo

sportsarbitrage's Introduction

What is Sports Arbitrage?

When betting on sports events, using arbitrage opportunities is a popular technique used to gain an edge against sportsbookmakers.
The idea is simple; place one bet per each outcome with different betting companies, the bettor can make a profit regardless of the outcome. Mathematically arbitrage occurs when there are a set of odds, which represent all mutually exclusive outcomes that cover all state space possibilities (i.e. all outcomes) of an event (wikipedia).

What does this tool do?

Professional bettors are currently paying for a subscription at https://www.oddstorm.com/ to get arbitrage opportunities, this tool may help them save some money by using and extending my provided tool.

This tool uses Selenium webdriver to create a headless browser giving you, the user, the opportunity to read javascript data from the bookmaker websites, parse this data and extract the sorted data into a SQLite database.

The tool will do the following

  1. Open 1xbet.com and asianodds.com using a headless browser (chrome).
  2. Navigate to username and password fields on the websites and input username and password seen in AO.py and XB.py.
  3. Every 10th minute scrape the websites for dates, time, teamnames and odds)
  4. Parse the data and extract it to a SQlite database.

Which sites are being scraped for data?

Currently 1xbet.com and asianodds.com is being scraped for it's data as arbitrage opportunities between the two are often occuring.

Requirements

Accounts (username and password) at 1xbet.com and asianodds.com. This must go into XB.py and AO.py respectively.

TODO

  • Follow one or more design patterns

    • The tool was created before I've learned about design patterns. It's my goal to refactor the code to follow a popular design pattern.
  • Refactor code to follow the SOLID principles

    • The SOLID principles haven't been taken into consideration which will also be reworked in the near future.
  • Check betting history for profits.

  • Login with NemID option (semi automatic).

  • AutoPlace bets.

  • Upload stats to a website.

sportsarbitrage's People

Contributors

christianshub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.