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.4.tar.gz (18.3 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.4-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a9950a18344b2bf7b0e93184fd3c82df3de10f52a753ef1ffa2e6e7ee1fb48cb
MD5 1626fe7d116cf10f8e2334124050fc5e
BLAKE2b-256 f1234453c132cc117044358607db648c04b363990fedaa35579b756e4409b9ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1fdb6e1ddcb80a8a0b48899e3fc550ce0da4b9094ea8ea241efc820772f515cd
MD5 32170c59a0d9a12896ecbf8983e4075b
BLAKE2b-256 570eb01fa8970c20f90ef79ee61058d1b25a6710f0d3fa41848b1b8528abb456

See more details on using hashes here.

Provenance

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