Skip to main content

Quant Invest Lab is a python package to help you to do some quantitative experiments, while trying to learn or build quantitative investment solutions. This project was initially my own set of functionnalities but I decided to build a package for that and sharing it as open source project.

Project description

Quant Invest Lab

Quant Invest Lab is a project aimed to provide a set of basic tools for quantitative experiments. By quantitative experiment I mean trying to build you own set of investments solution. The project is still in its early stage, but I hope it will grow in the future.

Initially this project was aimed to be a set of tools for my own experiments, but I decided to make it open source. Of courses it already exists some awesome packages, more detailed, better suited for some use cases. But I hope it will be useful for someone else. Feel free to use it, modify it and contribute to it.*

Main features

  • Data: download data from external data provider without restriction on candle stick, the main provider is kucoin for now (currently only crypto data are supported).
  • Backtesting: backtest your trading strategy (Long only for now but soon short and leverage) on historical data for different timeframe. Optimize you take profit, stop loss. Access full metrics of your strategy.
  • Indicators: a set of indicators to help you build your strategy.
  • Portfolio: a set of portfolio optimization tools to help you build your portfolio.
  • Simulation: simulate your data based on real data using statistics to get a better understanding of its behavior during backtesting.
  • Metrics: a set of metrics to help you evaluate your strategy through performances and risks.

Installation

To install Quant Invest Lab through pip, run the following command:

pip install quant-invest-lab --upgrade

You can install it using poetry the same way :

poetry add quant-invest-lab

Basic examples

Backtest a basic EMA crossover strategy

Next steps create official docs and add more examples

Disclaimer

This package is only for educational purpose or experimentation it is not intended to be used in production. I am not responsible for any loss of money you may have using this package. Use it at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quant_invest_lab-0.2.0.tar.gz (25.7 kB view hashes)

Uploaded Source

Built Distribution

quant_invest_lab-0.2.0-py3-none-any.whl (27.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page