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.2.tar.gz (18.0 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.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.2.tar.gz
Algorithm Hash digest
SHA256 faae9c73504579696f424e33d20b56bfa27fb4dff22d03c162edaa8ffaa268c1
MD5 516d881b6dac0dc4dafea12694c9538e
BLAKE2b-256 c5cdc2d2ffdd0c27887e0bef6db126c15a19ad58fd93560bfa28f782ca3a14ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for gym_trading_env_continuous-1.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3508bc862fc1172cded7046468fa31855b47eb04ab41cb5a42eff0b7cb6079
MD5 912988d8ff62066e02976cfcd9fd29d1
BLAKE2b-256 6e367d9f3b0feafdb5ee559c8bd8cce11b9da50d63dba1ef0869fdb97931e8f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gym_trading_env_continuous-1.0.2-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