Ross ROSS = Recommend OSS · open-source software intelligence for agents

AminHP/gym-anytrading

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym) observed · 2026-08-28

github.com/AminHP/gym-anytrading · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2543
  • days_rel: n/a
  • days_push: 902
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2386 stars · 479 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

gym-anytrading is a collection of OpenAI Gym environments for developing and testing reinforcement learning-based trading algorithms in FOREX and stock markets. It provides an abstract TradingEnv plus concrete ForexEnv and StocksEnv with simplified buy/sell actions and positions.

Use cases

  • train an RL agent to trade stocks
  • backtest a DQN trading strategy
  • build a q-learning forex trading bot
  • gym environment for algorithmic trading research
  • simulate trading positions and rewards for reinforcement learning
  • benchmark RL trading algorithms

When to choose

  • you want a simple, ready-made Gym environment for RL trading experiments
  • you are prototyping DQN or Q-learning agents on stock or forex price data
  • you need a flexible base class to extend with custom trading environments

When to avoid

  • you need a full production trading system with money management and multiple markets
  • you require realistic broker execution, fees, and order types
  • you expect an RL agent to handle all trading decisions like hold, budget, and portfolio allocation

Facets

library · maturity stable

reinforcement-learning simulation machine-learning reinforcement-learning fintech machine-learning python cross-platform openai-gym trading-environment forex stocks q-learning dqn rl-environments algorithms

1 source

Member repositories

RepositoryRoleHealth v2
AminHP/gym-anytradingmain23

For agents

markdown · JSON · MCP: product_card(name="AminHP/gym-anytrading")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem