# MFE Quant Analytics
**Quantitative Financial Analytics Extensions for Pandas**
MFE Quant Analytics is a Python package that extends Pandas with tools for financial performance measurement, risk analysis, portfolio optimization, and quantitative investment research.
## Installation
pip install mfe-quant-analytics
## Getting Started
import pandas as pd
import mfe\_quant\_analytics as mqa
The package provides a custom Pandas accessor, .mfe, allowing financial analysis methods to be called directly from supported Pandas objects.
## Main Features
### Financial Performance
- Annualized returns and CAGR
- Volatility
- Sharpe ratio
- Sortino ratio
- Maximum drawdown
- Risk-adjusted performance metrics
### Risk Management
- Value at Risk (VaR)
- Conditional Value at Risk (CVaR)
- Alpha and beta estimation
- Portfolio risk analysis
### Portfolio Optimization
- Markowitz mean-variance optimization
- Maximum Sharpe ratio portfolios
- Minimum variance portfolios
- Efficient frontier
- Risk parity allocation
### Portfolio Analysis
- Performance comparison
- Historical backtesting
- Strategy evaluation
- Integrated quantitative analysis
## Pandas Integration
The .mfe accessor provides an interface for running financial calculations directly on compatible Pandas Series and DataFrames.
For example:
\# prices is a Pandas DataFrame containing historical prices
results = prices.mfe.summary()
## License
MIT License.
Metadata
Release files for mfe-quant-analytics 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mfe_quant_analytics-0.9.1.tar.gz | 112.9 kB | Without provenance | Details for mfe_quant_analytics-0.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mfe_quant_analytics-0.9.1-py3-none-any.whl | Python 3 | none | any | Details for mfe_quant_analytics-0.9.1-py3-none-any.whl |
Total release size: 236.3 kB
Release files / mfe_quant_analytics-0.9.1.tar.gz
| Download URL | mfe_quant_analytics-0.9.1.tar.gz |
|---|---|
| Size | 112.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4589720fddcf3199c192ba320e39698ab05f820dc3053bd8d911cfbc86f60d2a
|
|
BLAKE2b-256 checksum How to use checksums |
eb690c110243e3bfec74de46f51e781919eead8944b03d917d5a1f68ae7c4ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.0
|
Release files / mfe_quant_analytics-0.9.1-py3-none-any.whl
| Download URL | mfe_quant_analytics-0.9.1-py3-none-any.whl |
|---|---|
| Size | 123.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c875c1c31229676892399674aa3282e8a3c7734063b5a30c3115e26197c2137f
|
|
BLAKE2b-256 checksum How to use checksums |
673ec15d75f70ffb627647d6b1633866b3104f8dbcc8fe1f98c912a5491a5c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.0
|
Security for mfe-quant-analytics 0.9.1
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.