A sports betting environment for OpenAI Gym
Project description
Sports odds betting environment
![Coverage Status](https://pypi-camo.freetls.fastly.net/fcee9b42225bdf2bb758df36413439baa2f9e9ee/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4f72794a6f6e61792f4f6464732d47796d2f62616467652e7376673f6272616e63683d6d6173746572)
A sports betting environment for OpenAI Gym.
Installation
pip install oddsgym
Environment
The starting bank is X (X > 0), representing X available bets. Actions are all available bets for a game (depends on sport), placing 1 bet for each option. Also, the agent can not bet over his current bank (i.e can't place 3 bets when the current bank is 2). For example, in 3-way betting for soccer, the avilable actions are:
1. Bet on home team
2. Bet on away team
3. Bet on draw
4. Bet on home team and away team
5. Bet on home team and draw
6. Bet on away team and draw
7. Bet on home team and away team and draw
8. Don't place a bet for this game
A step is placing a bet on a single game. In each step, the agent knows the betting odds for this game. The reward for each step is the amount of money won (negative reward when losing money). An episode is betting for a whole year or when "striking out" (losing all the money).
Documentation
The full documentation is hosted at: https://oryjonay.github.io/Odds-Gym
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.