A Python implementation of the Principal Portfolios methodology by Kelly, Malamud, and Pedersen (2023), enabling optimal asset allocation by exploiting cross-predictability among asset returns.
Project description
principal_portfolios
A Python package implementing the Principal Portfolios methodology introduced by Kelly, Malamud, and Pedersen (2023), The Journal of Finance.
📘 Overview
This package provides tools for constructing and analyzing Principal Portfolios—linear trading strategies derived from the singular value decomposition (SVD) of the prediction matrix that captures both own-asset and cross-asset predictive signals.
Key components include:
- Construction of the prediction matrix from asset returns and signals
- Decomposition into:
- Principal Portfolios (PPs): timeable portfolios ordered by predictability
- Principal Exposure Portfolios (PEPs): factor-exposed strategies (beta)
- Principal Alpha Portfolios (PAPs): factor-neutral strategies (alpha)
📖 Reference
Kelly, B., Malamud, S., & Pedersen, L. H. (2023). Principal Portfolios. The Journal of Finance, 78(1), 347–392.
🔧 Installation
After uploading to PyPI, install via:
pip install principal_portfolios
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file principal_portfolios-1.0.3.tar.gz.
File metadata
- Download URL: principal_portfolios-1.0.3.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c8826a1f1a9aea18267fca7d6aebee3a0780b73436cfb47d580707e31aef91b
|
|
| MD5 |
4a985d18a4b1b9d862f0e75afd0db6ee
|
|
| BLAKE2b-256 |
19441f3d82241b4a9a3313dda947e6b00f7136267f44d65c1b1824e5eb8f568e
|
File details
Details for the file principal_portfolios-1.0.3-py3-none-any.whl.
File metadata
- Download URL: principal_portfolios-1.0.3-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaca043021a172e0520bc4dc993c0dd6d2d33b85a4a3ddee05cd60372bacf2eb
|
|
| MD5 |
ee402c22f7f3a47528c68bf38a094542
|
|
| BLAKE2b-256 |
43e25508d7d1e040f02c320f51c36c78dc0960ffbdab41eea119c4c7e5f1f695
|