
Zipline reloaded
Pythonic event-driven system for backtesting algorithmic trading strategies.

A toolkit for training and backtesting reinforcement learning algorithms in trading environments.
A toolkit for training and backtesting reinforcement learning algorithms in trading environments.
TradingGym is a Python-based toolkit designed to facilitate the training and backtesting of reinforcement learning (RL) agents and rule-based algorithms for trading. Inspired by OpenAI Gym, it provides a framework for creating custom trading environments with tick data or OHLC data formats. The architecture supports the simulation of trading scenarios with features like transaction fees and position limits. It allows users to define feature columns, such as price and volume, to be used as inputs for trading status. The environment integrates with brokerage APIs for real-time trading in the future. It offers functionalities to analyze transaction details, making it suitable for developing and testing various trading strategies including DQN, policy gradient, actor-critic, and A3C with RNN.
A toolkit for training and backtesting reinforcement learning algorithms in trading environments.
Quick visual proof for TradingGym. Helps non-technical users understand the interface faster.
TradingGym is a Python-based toolkit designed to facilitate the training and backtesting of reinforcement learning (RL) agents and rule-based algorithms for trading.
Explore all tools that specialize in backtest trading strategies. This domain focus ensures TradingGym delivers optimized results for this specific requirement.
Explore all tools that specialize in algorithmic trading simulation. This domain focus ensures TradingGym delivers optimized results for this specific requirement.
Open side-by-side comparison first, then move to deeper alternatives guidance.
Allows users to define various parameters such as transaction fees, maximum position size, and feature columns to tailor the trading environment to specific market conditions and trading strategies.
Handles both tick-by-tick data and Open-High-Low-Close data formats, enabling users to work with different levels of granularity depending on data availability and computational resources.
Provides a framework for training reinforcement learning agents using algorithms like DQN, Policy Gradient, Actor-Critic, and A3C with RNNs, allowing automated strategy optimization.
Enables users to evaluate trading strategies on historical data to assess their performance and identify potential weaknesses before deployment in live trading.
Offers detailed information about each transaction, including price, volume, and fees, allowing users to analyze the impact of individual trades on overall performance.
1. Install Git.
2. Clone the TradingGym repository from GitHub: `git clone https://github.com/Yvictor/TradingGym.git`.
3. Navigate to the TradingGym directory: `cd TradingGym`.
4. Install the package using pip: `python setup.py install`.
5. Import the necessary modules in your Python script: `import trading_env`.
6. Prepare your trading data in a Pandas DataFrame format.
7. Create a trading environment using `trading_env.make()` with specified parameters like `env_id`, `obs_data_len`, `step_len`, `df`, `fee`, `max_position`, `deal_col_name`, and `feature_names`.
8. Implement your reinforcement learning agent or rule-based algorithm.
All Set
Ready to go
Verified feedback from other users.
“Users praise the toolkit's flexibility and ease of use in creating custom trading environments, but some note the need for more comprehensive documentation.”
No reviews yet. Be the first to rate this tool.

Pythonic event-driven system for backtesting algorithmic trading strategies.

The gold standard for educational paper trading and financial literacy integration.

A professional desktop charting and trading platform for financial markets with high performance analytics.

Build trading algorithms with AI, backtest them, then execute—all in one platform.

AI-powered stock trading platform providing real-time momentum detection and actionable trading signals.

A cutting-edge, unified API for quantitative research, backtesting, and live trading on the world's leading algorithmic trading platform.