Skip to content
/ BTQuant Public
forked from itsXactlY/BTQuant

This framework provides robust tools for backtesting, forward trading, and live trading. It uses Backtrader for strategy testing, integrates with JackRabbitRelay to simulate over 400 exchanges, and supports real-time trading with a 1-second websocket feed from Binance. Easy to set up, requiring as few as 50 lines of code to start trading.

Notifications You must be signed in to change notification settings

MBSL73/BTQuant

 
 

Repository files navigation

Work in Progress. If you came this far: Join our Discord

BTQuant Framework

Overview

This framework is designed to provide robust and efficient tools for backtesting, forward trading, and live trading. Leveraging the power of Backtrader, this framework integrates seamlessly with JackRabbitRelay to mimic over 400 exchanges for forward trading, and for live trading via a 1-second websocket data feed.

Features

Backtesting

  • Utilizes Backtrader for comprehensive backtesting of trading strategies.
  • Test and validate your strategies with historical data to ensure robustness and reliability.

Forward Trading

  • Powered by Backtrader in conjunction with JackRabbitRelay.
  • Mimic over 400 exchanges, enabling thorough forward testing and simulation of real-world trading conditions.
  • We act as our own broker, providing full control and customization.

Live Trading

  • Integrated with Binance Websocket (for now) for real-time data.
  • Supports 1-second websocket data feeds for precise and timely trading decisions.
  • Implements real-time dollar cost averaging.
  • Requires as few as 50 lines of code to get started with your own trading strategy.

Getting Started

Prerequisites

Installation

For installing JackRabbitRelay, please follow the instructions provided in the links below:

Quick way for Framework itself below:

Run

  • Copy dontcommit.py.template to dontcommit.py

  • Fill identify str from JackRabbitRelay Setup above

  • python3 backtesting.py

or

  • python3 mimic_binance_forward_trading.py

About

This framework provides robust tools for backtesting, forward trading, and live trading. It uses Backtrader for strategy testing, integrates with JackRabbitRelay to simulate over 400 exchanges, and supports real-time trading with a 1-second websocket feed from Binance. Easy to set up, requiring as few as 50 lines of code to start trading.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%