Skip to main content

A simple, easy, customizable Gymnasium environment for trading.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gym_trading_env_continuous-1.0.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gym_trading_env_continuous-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file gym_trading_env_continuous-1.0.0.tar.gz.

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.0.tar.gz
Algorithm Hash digest
SHA256 25ce92b04464577f4733965d74b7608b402959e0d387a1d6f50b556f98a9f587
MD5 be19e7446cb7251b0ed37fa464a5c5ce
BLAKE2b-256 70b9ac84b8aa8bf4536250c34969a7c6ae3eb5bc47dea5c0eb99ff39284b9dfd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gym_trading_env_continuous-1.0.0.tar.gz:

Publisher: pypi.yml on rchaput/gym-trading-env-continuous

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gym_trading_env_continuous-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72b9a64463e79d7326e14a83ed67da1c4dded6200ab2fb5788f143bc8b5136ef
MD5 2d5fb2a7103b91b1e2142cbcb304b6e2
BLAKE2b-256 2a7771c019bd8d10d8f1e680f988c659cd05fc2ef9bb4e1d973925dd464126f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gym_trading_env_continuous-1.0.0-py3-none-any.whl:

Publisher: pypi.yml on rchaput/gym-trading-env-continuous

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page