SkillAgentSearch skills...

Qtrade

QTrade is a simple, modular, and highly customizable trading interface capable of handling strategy backtesting, reinforcement learning tasks.

Install / Use

/learn @gguan/Qtrade
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CI Status Python PyPI version Coverage codestyle

QTrade

QTrade is a simple, modular, and highly customizable trading interface capable of handling backtesting, reinforcement learning tasks.

Features

  • Backtesting engine
  • Gym Trading environment simulation

Installation

QTrade can be installed with pip:

$ pip install qtrade-lib

Alternatively, you can obtain the latest source code from GitHub:

$ git clone https://github.com/gguan/qtrade.git
$ cd qtrade
$ pip install .

Run Example

To run the example code from repository:

$ pip install -r examples/requirements.txt
$ python examples/simple_strategy.py

Requirements

  • Python >= 3.8
  • Dependencies listed in requirements.txt

Usage

The User Guide is the place to learn how to use the library and accomplish common tasks. For more advanced customization, refer to the Customization Guide.

The Reference Documentation provides API-level documentation.

References

This project is inspired by following projects.

  • https://github.com/tensortrade-org/tensortrade
  • https://github.com/kernc/backtesting.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated5mo ago
Forks1

Languages

Python

Security Score

87/100

Audited on Oct 25, 2025

No findings