qf-lib


Nameqf-lib JSON
Version 2.2.10 PyPI version JSON
download
home_pagehttps://quarkfin.github.io/qf-lib-info
SummaryQuantitative Finance Library
upload_time2023-09-22 15:27:32
maintainer
docs_urlNone
authorJacek Witkowski, Marcin Borratynski, Thomas Ruxton, Dominik Picheta, Olga Kalinowska, Karolina Cynk, Jakub Czerski, Bartlomiej Czajewski, Zeynep Gültuğ Aydemir, Octavian-Mihai Matei, Eirik Thorp Eythorsson
requires_python>=3.7.1
licenseApache License 2.0
keywords quantitative finance backtester
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # QF-Lib

[![PyPI](https://img.shields.io/pypi/v/qf-lib?color=green&label=PyPI%20Latest%20Release)](https://pypi.org/project/qf-lib/)
[![Downloads](https://static.pepy.tech/personalized-badge/qf-lib?period=month&units=international_system&left_color=grey&right_color=blue&left_text=PyPI%20Downloads%20/%20month)](https://pepy.tech/project/qf-lib)
[![GitHub](https://img.shields.io/github/license/quarkfin/qf-lib?color=orange&label=License)](https://github.com/quarkfin/qf-lib/blob/master/LICENSE)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qf-lib?color=yellow&label=python)
[![Codecov](https://img.shields.io/codecov/c/gh/quarkfin/qf-lib?color=pink)](https://app.codecov.io/gh/quarkfin/qf-lib)
[![Documentation Status](https://readthedocs.org/projects/qf-lib/badge/)](https://qf-lib.readthedocs.io/)
[![CI](https://github.com/quarkfin/qf-lib/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/quarkfin/qf-lib/actions/workflows/tests.yml)
![PyPI - Format](https://img.shields.io/pypi/format/qf-lib?color=lightgrey)
![PyPI - Status](https://img.shields.io/pypi/status/qf-lib?color=darkred)

## 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](https://qf-lib.readthedocs.io/en/latest/installation.html#installing-optional-data-providers).
* Tools to prevent look-ahead bias in the backtesting environment.
* Adapted [data containers](https://qf-lib.readthedocs.io/en/latest/reference/structure.html#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](https://qf-lib.readthedocs.io/en/latest/reference/structure.html#analysis) 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:

```sh
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:

```sh
python setup.py install
```

## Prerequisites
The library uses [WeasyPrint](https://weasyprint.readthedocs.io) to export documents to PDF. WeasyPrint requires additional dependencies, check the 
[platform-specific instructions for Linux, macOS and Windows installation](https://weasyprint.readthedocs.io/en/stable/install.html).

In order to facilitate the GTK3+ installation process for Windows you can use 
[following installers](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases). Download and run the latest 
`gtk3-runtime-x.x.x-x-x-x-ts-win64.exe` file to install the GTK3+.

## Documentation
* Installation guide: https://qf-lib.readthedocs.io/en/latest/installation.html
* Configuration guide: https://qf-lib.readthedocs.io/en/latest/configuration.html
* API documentation: https://qf-lib.readthedocs.io/

            

Raw data

            {
    "_id": null,
    "home_page": "https://quarkfin.github.io/qf-lib-info",
    "name": "qf-lib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.1",
    "maintainer_email": "",
    "keywords": "quantitative finance backtester",
    "author": "Jacek Witkowski, Marcin Borratynski, Thomas Ruxton, Dominik Picheta, Olga Kalinowska, Karolina Cynk, Jakub Czerski, Bartlomiej Czajewski, Zeynep G\u00fcltu\u011f Aydemir, Octavian-Mihai Matei, Eirik Thorp Eythorsson",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/aa/69/db9c06a46f46343aaae1d0bb35e6199e022072b8fbeda96519a88fe275e7/qf-lib-2.2.10.tar.gz",
    "platform": null,
    "description": "# QF-Lib\n\n[![PyPI](https://img.shields.io/pypi/v/qf-lib?color=green&label=PyPI%20Latest%20Release)](https://pypi.org/project/qf-lib/)\n[![Downloads](https://static.pepy.tech/personalized-badge/qf-lib?period=month&units=international_system&left_color=grey&right_color=blue&left_text=PyPI%20Downloads%20/%20month)](https://pepy.tech/project/qf-lib)\n[![GitHub](https://img.shields.io/github/license/quarkfin/qf-lib?color=orange&label=License)](https://github.com/quarkfin/qf-lib/blob/master/LICENSE)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qf-lib?color=yellow&label=python)\n[![Codecov](https://img.shields.io/codecov/c/gh/quarkfin/qf-lib?color=pink)](https://app.codecov.io/gh/quarkfin/qf-lib)\n[![Documentation Status](https://readthedocs.org/projects/qf-lib/badge/)](https://qf-lib.readthedocs.io/)\n[![CI](https://github.com/quarkfin/qf-lib/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/quarkfin/qf-lib/actions/workflows/tests.yml)\n![PyPI - Format](https://img.shields.io/pypi/format/qf-lib?color=lightgrey)\n![PyPI - Status](https://img.shields.io/pypi/status/qf-lib?color=darkred)\n\n## What is QF-lib?\n**QF-Lib** is a Python library that provides high quality tools for quantitative finance. \nA large part of the project is dedicated to backtesting investment strategies. \nThe Backtester uses an **event-driven architecture** and simulates events such as daily market opening \nor closing. It is designed to **test and evaluate any custom investment strategy**.\n\nMain features include:\n* 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](https://qf-lib.readthedocs.io/en/latest/installation.html#installing-optional-data-providers).\n* Tools to prevent look-ahead bias in the backtesting environment.\n* Adapted [data containers](https://qf-lib.readthedocs.io/en/latest/reference/structure.html#containers), which extend the functionality of pandas `Series'` and `Dataframes`.\n* Summary generation - all performed studies can be summarized with a practical and informative document explaining the results. [Several document templates](https://qf-lib.readthedocs.io/en/latest/reference/structure.html#analysis) are available in the project.\n* Simple adjustment of existing settings and creation of new functionalities.\n\n\n## Installation\nYou can install `qf-lib` using the pip command:\n\n```sh\npip install qf-lib\n```\n \nAlternatively, to install the library from sources, you can download the project and in the qf_lib directory \n(same one where you found this file after cloning the repository) execute the following command:\n\n```sh\npython setup.py install\n```\n\n## Prerequisites\nThe library uses [WeasyPrint](https://weasyprint.readthedocs.io) to export documents to PDF. WeasyPrint requires additional dependencies, check the \n[platform-specific instructions for Linux, macOS and Windows installation](https://weasyprint.readthedocs.io/en/stable/install.html).\n\nIn order to facilitate the GTK3+ installation process for Windows you can use \n[following installers](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases). Download and run the latest \n`gtk3-runtime-x.x.x-x-x-x-ts-win64.exe` file to install the GTK3+.\n\n## Documentation\n* Installation guide: https://qf-lib.readthedocs.io/en/latest/installation.html\n* Configuration guide: https://qf-lib.readthedocs.io/en/latest/configuration.html\n* API documentation: https://qf-lib.readthedocs.io/\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Quantitative Finance Library",
    "version": "2.2.10",
    "project_urls": {
        "Documentation": "https://qf-lib.readthedocs.io",
        "Homepage": "https://quarkfin.github.io/qf-lib-info",
        "Source": "https://github.com/quarkfin/qf-lib"
    },
    "split_keywords": [
        "quantitative",
        "finance",
        "backtester"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "644ca4bc3bb579831009d2c53e75eb61bbc5a52004aafa93f22a3ecb493a8b8b",
                "md5": "a2cecd3e02df200dd3713734282fc1e6",
                "sha256": "998142ba3acacb55e2334e2d702a6e18e37cdd2800700a69aaac3b95ed3c2bcf"
            },
            "downloads": -1,
            "filename": "qf_lib-2.2.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2cecd3e02df200dd3713734282fc1e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.1",
            "size": 1401884,
            "upload_time": "2023-09-22T15:27:30",
            "upload_time_iso_8601": "2023-09-22T15:27:30.851714Z",
            "url": "https://files.pythonhosted.org/packages/64/4c/a4bc3bb579831009d2c53e75eb61bbc5a52004aafa93f22a3ecb493a8b8b/qf_lib-2.2.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aa69db9c06a46f46343aaae1d0bb35e6199e022072b8fbeda96519a88fe275e7",
                "md5": "339bf566fa1ea4f91606c6e66c0a4ddb",
                "sha256": "9337c6c82b5f53e8af41269ae54d25fb9630b6ac3294d324c839ad2b2c08bcda"
            },
            "downloads": -1,
            "filename": "qf-lib-2.2.10.tar.gz",
            "has_sig": false,
            "md5_digest": "339bf566fa1ea4f91606c6e66c0a4ddb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.1",
            "size": 11412754,
            "upload_time": "2023-09-22T15:27:32",
            "upload_time_iso_8601": "2023-09-22T15:27:32.909290Z",
            "url": "https://files.pythonhosted.org/packages/aa/69/db9c06a46f46343aaae1d0bb35e6199e022072b8fbeda96519a88fe275e7/qf-lib-2.2.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-22 15:27:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "quarkfin",
    "github_project": "qf-lib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "qf-lib"
}
        
Elapsed time: 0.11989s