Skip to content
/ qtrade Public

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

License

Notifications You must be signed in to change notification settings

gguan/qtrade

Repository files navigation

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.

License

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages