Skip to content

Lightweight backtesting framework for modular and more advanced backtesting

License

Notifications You must be signed in to change notification settings

papaya0712/quantybt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuantyBT 🪐

A lightweight backtesting framework based on vectorbt focused on statistical robustness, modularity, and seamless strategy integration with custom-implemented models and crypto focused data-loader.


Features

  • Simple integration with vectorbt as the backtesting engine (bt_instance).
  • Custom model support: native wrappers for Hawkes processes, Kalmanfilter, and other statistical frameworks.
  • Built-in data loaders for cryptocurrencies (e.g., Bitcoin, Ethereum).
  • Modular architecture: define strategies by inheriting from a base Strategy class (preprocess, generate_signals, param_space).
  • Robust validation: out-of-sample splits, walk-forward optimization, and hyperparameter tuning via hyperopt.
  • Statistical analysis tools: Monte Carlo simulations, bootstrapping of trade outcomes, and sensitivity analysis.
  • Performance reporting: generate equity curves, heatmaps, and metric summaries with minimal boilerplate.

Installation

Install the package via pip:

pip install quantybt

About

Lightweight backtesting framework for modular and more advanced backtesting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages