Skip to content
프로젝트

소개

고급 이벤트 기반 백테스터와 퀀트 금융을 위한 고품질 도구 모음을 제공하는 모듈형 Python 라이브러리입니다. 다양한 데이터 공급업체 및 브로커와 통합되며 암호화폐, 주식, 선물을 지원합니다.

비즈니스 및 금융

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

QF-Lib

PyPI Downloads GitHub PyPI - Python Version Codecov Documentation Status CI PyPI - Format PyPI - Status

What is QF-lib?

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.

Main features include:

  • Flexible data sourcing - the project supports the possibility of an easy selection of the data source. Currently provides financial data from Bloomberg, Quandl, Haver Analytics or Portara. To check if there are any additional dependencies necessary for any of these data providers please visit the installation guide.
  • Tools to prevent look-ahead bias in the backtesting environment.
  • Adapted data containers, which extend the functionality of pandas Series' and Dataframes.
  • Summary generation - all performed studies can be summarized with a practical and informative document explaining the results. Several document templates are available in the project.
  • Simple adjustment of existing settings and creation of new functionalities.

Installation

You can install qf-lib using the pip command:

pip install qf-lib

Alternatively, to install the library from sources, you can download the project and in the qf_lib directory (same one where you found this file after cloning the repository) execute the following command:

python setup.py install

Prerequisites

The library uses WeasyPrint to export documents to PDF. WeasyPrint requires additional dependencies, check the platform-specific instructions for Linux, macOS and Windows installation.

In order to facilitate the GTK3+ installation process for Windows you can use following installers. Download and run the latest gtk3-runtime-x.x.x-x-x-x-ts-win64.exe file to install the GTK3+.

Documentation

How to Contribute

We welcome all contributions - bug reports, fixes, documentation improvements, new features, or ideas! Here’s how you can get involved:

  • Find an Issue: Check out the GitHub Issues tab. Look for labels like documentation or good first issue to get started.
  • Triage Issues: Help by reproducing bugs, asking for missing details (e.g., version numbers, steps to reproduce), or clarifying discussions.
  • Share Your Ideas: If you spot something missing or have an improvement in mind, open an issue or submit a pull request.
  • Join the Discussion: Have questions or want to collaborate? Join our Discord community.

Code of Conduct: All participants are expected to follow our Code of Conduct.

관련 프로젝트 살펴보기

불러오는 중…