Skip to content

[WPF] Project created for my Master's degree, it aims to utilize publicly available betting tips and statistics (data NOT provided by any API) in order to turn sport betting into a viable investment option, by merging and automating entire set of necessary steps. It is currently in early development stages.

Notifications You must be signed in to change notification settings

blairt001/BettingBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BettingBot v0.28-alpha

Download:

Download Calculations

How to use:

  1. Change language to English if you can't understand a thing.

    Change language

  2. Add tipsters, add login to broker's website, if you plan to test betting and download bets data.

    Load data

  3. Make sure to include your API key for external website, otherwise your matches won't be linked to additional source.

    Provide API Key

  4. Create and calculate your strategy

    Provide API Key

  5. Make bet, it should be visible in "Bets" tab.

    Provide API Key

Overview of features implemented so Far

  • Betting from GUI according to selected strategy based on tipster's advices from Betshoot and Hintwise websites (though the latter banned its users recently and replaced them by "best" performing random algorithms, which is basically a scam)
  • Statistics and performance analysis with visual feedback
  • Calculator of Surebets, Double chances and future stakes
  • Currently most of the app has been localized so GUI is available in both English and Polish languages

Tools

Application loads data using three different aproaches, the one used with particular website is determined based on its efficiency when retrieving data. Methods are:

  • API HTTP Request + JSON Parsing
  • Document HTTP Request + HtmlAgility Parsing
  • Selenium Webdriver + Selenium Parsing

Though keep in mind that some of them can't be used in some cases. That's why often it is necessary to use slower ones.

Application fully supports Selenium headless mode with Chrome, should you ever need to change this option, it can be achieved from Settings Panel.

Goals, TODOs and Known Bugs

The ultimate goal of this software is to automate betting process entirely, so it can be more easily considered as an investment option. For now however you can use it for advanced analysis of tipster performance and betting on supported broker platform.

TODOs:

  • Finish English localization (loaders, prompts, errors and unparsed bets are still not localized)
  • Use API for converting currencies as I was forced recently to hardcode it to using EUR.
  • Write viable replacement for Football-Data API. In this app arbitrary and complete source of information is needed but wrapping 3rd party website using Selenium is time consuming. Ideally I would like to use FlashScore or WhoScored.
  • AO often blocks login process or redirects randomly, this is hard to predict and even harder to solve. The website is full of surprising bugs. I implemented numerous walkarounds but you might still be sometimes prompted about inability to login.
  • Hintwise probably won't work properly anymore because they removed all their tipsters.
  • Sometimes unexpected discipline might cause data loading errors.
  • Sometimes discipline might be unlinked from league.

Afterword

To be perfectly honest this app is hard to maintain because it requires a lot of time from developer to constantly improve parsing mechanisms. Even minor change to external website has proven to be able to break functionality of the program (Like when Betshoot layout changed slightly in may 2018). I created this project for my Master's degree which I achieved on 12th June 2018. Since that day I didn't even have time to make decisions regarding my future and yet I still continued to work on this project (it surprisingly gained unexpected attention). Since 2010 I didn't have vacations or time for myself (for many personal reasons) and I doubt I will in forseable future. Though now I really need some time to decide what's next and find decent, stable job. Therefore, work on the application will be suspended until further notice. My main interest is blockchain, machine learning algorithms for various predictions and automation of trading and betting experience. But nobody is going to pay me for developing my own projects :).

About

[WPF] Project created for my Master's degree, it aims to utilize publicly available betting tips and statistics (data NOT provided by any API) in order to turn sport betting into a viable investment option, by merging and automating entire set of necessary steps. It is currently in early development stages.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%