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.1.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.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8b5cf70b1b52d3665bf1ded6869bb6640056f5f2446a78d76cef347db6a7a27c
MD5 e8600124fb4a15719d1baf6a321050ba
BLAKE2b-256 3c2acfc4a0ab6d3909cc67d8d97295a2dfcc701bf54eb14f3f5165c380baf156

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gym_trading_env_continuous-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e64bd4a39d06a266129dce9aa9d035f84854e019b21ae94bdb0e70abd91864a6
MD5 3367c33083a9d45243f69c064bcd1a06
BLAKE2b-256 93a8c51c1864a362934ae2f10eb0ce5d1014c59af8265b4d5f0d2107811ff516

See more details on using hashes here.

Provenance

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