QF-Lib

A modular Python library with an advanced event-driven backtester and high-quality tools for quantitative finance - portfolio construction, time series analysis, risk monitoring, and publication-ready reporting.

QF-Lib is a Python library that provides high quality tools for quantitative finance. A large part of the project is dedicated to backtesting investment strategies. The Backtester uses an event-driven architecture and simulates events such as daily market opening or closing. It is designed to test and evaluate any custom investment strategy.

Get started#