Skip to main content

hfhd is an accelerated Python library for estimating (integrated) covariance matrices with high frequency data in high dimensions.

Project description

logo Documentation Status PyPI version License: MIT

hfhd is an accelerated Python library for estimating (integrated) covariance matrices with high frequency data in high dimensions. Its main focus lies on the estimation of covariance matrices of financial returns. This is a challenging task since high frequency data are observed irregularly (and non-synchronously across assets) and are contaminated with microstructure noise. The hfhd.hf module provides a collection of tools for synchronization and noise reduction.

When many assets are considered relative to the sample size, we say that the covariance matrix has high dimension. Then, sample eigenvalues are overdispersed relative to the population eigenvalues due to the curse of dimensionality. This overdispersion leads to an ill-conditioned covariance matrix estimate. The hfhd.hd module provides tools to improve the condition of the matrix.

Read the documentation.

Install hfhd

$ pip install hfhd

Developing hfhd

To install hfhd, along with the tools to develop and run tests, run the following command in your virtualenv after cloning the repo:

$ pip install -e .[dev]

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

hfhd-0.1.4.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hfhd-0.1.4-py2.py3-none-any.whl (40.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hfhd-0.1.4.tar.gz.

File metadata

  • Download URL: hfhd-0.1.4.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for hfhd-0.1.4.tar.gz
Algorithm Hash digest
SHA256 438b6a4e84a53b24d30fb4cfb2fe68b19e2fdeec1bee45b41047a2f4ef65e595
MD5 cc2d681f41005dcd9fd5e486c817dff3
BLAKE2b-256 54cbcec228ad401f52d65f6d9099c0f247a6f7ed7bffceba9113b6a92c767d66

See more details on using hashes here.

File details

Details for the file hfhd-0.1.4-py2.py3-none-any.whl.

File metadata

  • Download URL: hfhd-0.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for hfhd-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bcefd86a256a4e78d7b6082705c57fd55731e412fa53274f8db6a13a467e7b3a
MD5 8d6838cb5ac3ae2727ba7070c621d79d
BLAKE2b-256 9101b908d9592525a6c0ddc12ad38092b978df62093d0973bba32597fa0e7928

See more details on using hashes here.

Supported by

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