{"repo":"harveybc/gym-fx","free":true,"listed":false,"github":"https://github.com/harveybc/gym-fx","clone":"git clone https://github.com/harveybc/gym-fx.git","description":"Gymnasium trading environment for FX and crypto: backtrader execution bridge, protected SL/TP orders, solvency curricula and audit-grade trade diagnostics","language":"Python","stars":209,"topics":["openai-gym","forex","reinforcement-learning","deep-learning","machine-learning","python","algorithmic-trading","backtesting","backtrader","cryptocurrency"],"license":null,"category":"trading","readme_excerpt":"gym-fx Gymnasium-compatible trading environment for FX and crypto time series. It wraps a backtrader simulation behind a standard gym.Env step/reset interface so reinforcement-learning agents can trade a historical price feed with realistic order execution, protected stop-loss / take-profit brackets, margin and solvency accounting, execution-cost models and session/event context. Every moving part — data feed, broker, strategy (order execution), preprocessor, reward and metrics — is a plugin selected by name from a JSON config. Status Lifecycle: ACTIVE-CORE. This environment is the execution layer consumed by the agent-multi RL training and optimization pipelines. It is actively maintained; its behavior is part of the evidence contract of ongoing experiments. Disclaimer: everything in this repository operates on historical or synthetic data in simulation/backtest mode. Nothing here executes real-capital trades, and none of the examples or configurations are financial advice. Role and non-responsibilities Role: provide the trading environment only — observation construction, order simulation, reward computation and per-episode diagnostics behind the Gymnasium API ( GymFxEnv in app/env.py ). Not responsible for: - Training agents or optimizing hyperparameters — that is agent-multi. - Price prediction or feature/label engineering — see predictor and feature-eng. - Distributed optimization — gym-fx has no DOIN integration of its own; it is driven indirectly when doin-node runs ag","default_branch":null,"files":null,"tree":[],"storefront":"/r/harveybc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/harveybc/gym-fx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}