This program finds a strategy to bet on CSGO matches on the betting site CSGO-Lounge. Old matches are parsed from the website with jsoup and stored locally in a Java Object file.
Disclosure: The CSGO Lounge maintainers probably don't approve of running this and I don't think it would work after a few updates to the website.
Settings The odds are calculated as a combination of different metrics Currently the best combination of the metrics:
- The decrease of influence of a previous match with time passed is weighted as 0.0f (ignored). This means old matches count as much as new matches.
- The number of matches played by a team overall is weighted as 0.65f
- Results of previous direct encounters is weighted 0.8f
The difference of the calculated to the official odds is should be 0.2f before a bet is placed.
With Maven installed, run "mvn install" to get the dependencies from the Maven repository.
Run Main.main() to run the simulator for 4 months with the current settings and see how much money you would make. Run Main.main(n) to load the newest matches with n being the offset from the first match ever stored on the website.