Skip to main content

Sports odds betting environment

PyPI version build Coverage Status Hatch project Endpoint Badge License - MIT Code style: black Imports: isort

A sports betting environment for Farma Foundation Gymnasium based environments.

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

Metadata

Release files for oddsgym 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oddsgym 0.10.1
File Size Uploaded
oddsgym-0.10.1.tar.gz 18.2 kB Details

Release files / oddsgym-0.10.1.tar.gz

Download URL oddsgym-0.10.1.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
42657351e50f19bd26790f9824dab9384da04666f02da3f46465308c4e738cb0
BLAKE2b-256 checksum
How to use checksums
3bb9fb4d4b5d8657949a6f9ce51792b07224e6f7c5af264b40eb4406e5a24437
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.10.1 This release

1 release file

0.10.0

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.2

1 release file

0.6.0

1 release file

0.5.12

1 release file

0.5.11

1 release file

0.5.10

1 release file

0.5.9

1 release file

0.5.8

1 release file

0.5.7

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.5

1 release file

0.4.1

1 release file

0.4.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page