Gym Trading Env is an Gymnasium environment for simulating stocks and training Reinforcement Learning (RL) trading agents. It was designed to be fast and customizable for easy RL trading algorithms implementation.
Gym Trading Env Continuous is a fork that uses continuous actions by default; it includes a wrapper that allows using discrete actions exactly as in the original Gym Trading Env. Everything else should work the same, and the original documentation should be useful as well.
| Documentation |
Key features
This package aims to greatly simplify the research phase by offering :
- Easy and quick download technical data on several exchanges
- A simple and fast environment for the user and the AI, but which allows complex operations (Short, Margin trading).
- A high performance rendering (can display several hundred thousand candles simultaneously), customizable to visualize the actions of its agent and its results.
- (Coming soon) An easy way to backtest any RL-Agents or any kind
Installation
Gym Trading Env supports Python 3.9+ on Windows, Mac, and Linux. You can install it using pip:
pip install gym-trading-env-continuous
Or using git :
git clone https://github.com/rchaput/gym-trading-env-continuous
Documentation available here
Metadata
Release files for gym-trading-env-continuous 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gym_trading_env_continuous-1.0.4.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gym_trading_env_continuous-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / gym_trading_env_continuous-1.0.4.tar.gz
| Download URL | gym_trading_env_continuous-1.0.4.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9950a18344b2bf7b0e93184fd3c82df3de10f52a753ef1ffa2e6e7ee1fb48cb
|
|
BLAKE2b-256 checksum How to use checksums |
f1234453c132cc117044358607db648c04b363990fedaa35579b756e4409b9ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency logRelease files / gym_trading_env_continuous-1.0.4-py3-none-any.whl
| Download URL | gym_trading_env_continuous-1.0.4-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fdb6e1ddcb80a8a0b48899e3fc550ce0da4b9094ea8ea241efc820772f515cd
|
|
BLAKE2b-256 checksum How to use checksums |
570eb01fa8970c20f90ef79ee61058d1b25a6710f0d3fa41848b1b8528abb456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2025.
Transparency log