Skip to main content

QuantFeat

QuantFeat is a Python package for quantitative financial analysis, including EDA, returns, volatility, and data conversion utilities for time series data.

Installation

Install the latest release from PyPI:

pip install quantfeat

Usage

Import the modules you need:

from quantfeat import eda, returns, volatility, convert_data

Data Resampling

Convert raw data to a desired frequency (e.g., hourly):

import pandas as pd
data = pd.read_csv("your_data.csv")
df = convert_data.resample(data, "1H", start="2020-01-01", end="2025-08-01")

Exploratory Data Analysis (EDA)

Profile your dataset and get price/volume/returns stats:

eda.profile(df)
eda.price_stats(df)
eda.returns(df)
eda.volume_stats(df)

Generate plots and heatmaps:

eda.plot_time_series(df)
eda.corr_heatmap(df)

Run a full EDA pipeline (with summary and plots):

eda.perform_quantitative_eda(df)

Returns Calculation

Compute simple/log/lagged/rolling returns:

from quantfeat import returns
returns.simple_returns(df)
returns.log_returns(df)
returns.lagged_returns(df, n=5)
returns.rolling_returns(df, window=20)

Volatility Estimation

Estimate volatility using various models:

from quantfeat import volatility
volatility.realized_volatility(df, window=20)
volatility.parkinson_volatility(df, window=20)
volatility.garman_klass_volatility(df, window=20)
volatility.rogers_satchell_volatility(df, window=20)
volatility.yang_zhang_volatility(df, window=20)

Data Validation

Check and standardize your data:

from quantfeat import validate
validate.validate_and_standardize(df)

Documentation

See function docstrings or source for detailed arguments and options.

License

MIT

Metadata

Release files for quantfeat 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantfeat 0.1.0
File Size Uploaded Provenance
quantfeat-0.1.0.tar.gz 13.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for quantfeat 0.1.0
File Interpreter ABI Platform
quantfeat-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / quantfeat-0.1.0.tar.gz

Download URL quantfeat-0.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
39cfae2e236d5d327c5cec5b0bd3f34a952c8c07dbfbb5f9b4967dbb2a9611ba
BLAKE2b-256 checksum
How to use checksums
01b7eb0d2a1e65ef4b8e5401188a238262cf8edf0a0e0524c4cf8cde95070abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / quantfeat-0.1.0-py3-none-any.whl

Download URL quantfeat-0.1.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0084abce29e56c8bddc208588e1ac69030341502357a0b079f13e58201c8c58d
BLAKE2b-256 checksum
How to use checksums
ef1712ecd95c376b7a96a9521dbce00e5d539ac0f8bb02f9650be34926a5d514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for quantfeat 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page