Skip to main content

python PyPI Apache 2.0 with Commons Clause Documentation Status Github stars

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

Render animated image

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)

Source distribution for gym-trading-env-continuous 1.0.4
File Size Uploaded
gym_trading_env_continuous-1.0.4.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gym-trading-env-continuous 1.0.4
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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