Testing strategies of betting on horse races in GTA Online. Calculating adjusted advantage compared to the odds and using Kelly Criterion to determine bet size, then simulating games.
Testing strategies of betting on horse races in GTA Online. Calculating adjusted advantage compared to the odds and using Kelly Criterion to determine bet size, then simulating games.
Also automates betting in the game using python. Game is expected to run in Windowed mode with 1280x1024 resolution and English language.
Both are working, but still work in progress.
git clone https://github.com/Maxim-Mazurok/gtao-betting
cd gtao-betting
nvm i
- optionalnpm ci
npm test
cd automation
pip install -r requirements.txt
python main.py
See also my personal spreadsheet: https://docs.google.com/spreadsheets/d/1z27GEyrFVnBBZcCJ-w2QDZS9LKDiZfK2wvD02UxifzE/edit?usp=sharing
adjustChancesToFirstHorse
+ getXthFavourite(0)
results in Adjusted Expected Wins to follow Actual Wins. But it doesn't work with getBetKelly
, so maybe I figured out how to calculate odds for the first best horse, but not for the rest. Maybe try a strategy that re-allocates chances per group?