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.3.tar.gz (18.2 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.3-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f73f903d3f0c8102c3c081aa1fb0f6433ff2f7cee47d124c626b453a06129c85
MD5 2acb0b49297ec4af0f5a8efa3bc6b251
BLAKE2b-256 22027437afd198eb7e07fddb76f467e54ba6ddf9986fd1ff87c217490f145680

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e08de1fa5a7df5986af9f56c8839ff94a531db8706aba9a9bc8b4c8f9a2d4fd4
MD5 b59bdd5bf994426b1c6acbbdcda2bcbe
BLAKE2b-256 f38b28d5cc1a31966534f612e6064d08d0042a6b7f6f611ec56c8e1138b10fbb

See more details on using hashes here.

Provenance

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