Financial Portfolio Optimization Algorithms
Project description
azapy
Financial Portfolio Optimization Algorithms
Author: Mircea Marinescu
email: Mircea.Marinescu@outlook.com
Contents
A. Risk based portfolio optimization algorithms:
- Mixture CVaR (Conditional Value at Risk)
- Mixture SMCR (Second Moment Coherent Risk)
- MV (Mean Variance)
- SD (Standard Deviation)
- Mixture MAD (Mean Absolute Deviation)
- Mixture LSSD (Lower Semi-Standard Deviation)
- GINI (as in Corrado Gini - statistician 1884-1965)
- MSGINI (Second Moment Gini dispersion measure)
- Omega ratio (introduced by Con Keating and William F. Shadwick - 2002)
For each class of portfolios the following optimization strategies are available:
- minimization of dispersion for a give expected rate of return
- maximization of generalized Sharpe ratio
- minimization of the inverse of generalized Sharpe ratio
- minimum dispersion portfolio
- Inverse-N risk optimal portfolio (optimal portfolio with the same dispersion measure as equal weighted portfolio)
- maximization of expected rate of returns for a fixed value of risk aversion
B. "Naïve" portfolio strategies:
- Constant weighted portfolio. A particular case is equal weighted portfolio.
- Inverse volatility portfolio (i.e. portfolio weights are proportional to the inverse of asset volatilities)
- Inverse variance portfolio (i.e. portfolio weights are proportional to the inverse of asset variances)
- Inverse drawdown portfolio (i.e. portfolio weights are proportional to the asset absolute value of maximum drawdowns over a predefined historical period)
C. Greedy portfolio optimization strategies:
- Kelly's portfolio (as in John Larry Kelly Jr. - scientist 1923-1965) - maximization of portfolio log returns
Utility functions:
- Collect historical market data from a data provider (at this point only from alphavantage)
- Generate business calendars (at this point only NYSE business calendar)
- Generate rebalancing portfolio schedules
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
azapy-0.0.6.tar.gz
(54.5 kB
view details)
Built Distribution
azapy-0.0.6-py3-none-any.whl
(84.6 kB
view details)
File details
Details for the file azapy-0.0.6.tar.gz
.
File metadata
- Download URL: azapy-0.0.6.tar.gz
- Upload date:
- Size: 54.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 418c06f1f19a35604b115ea793c8827db6a8fd7c58048af63e868543cd7211d7 |
|
MD5 | 8f3849fc52b97a02be00e4b79db26d58 |
|
BLAKE2b-256 | 8e92de715ce545842fe46949227e92d9da8b14437c3f941c0279a2e49b2bdd8f |
File details
Details for the file azapy-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: azapy-0.0.6-py3-none-any.whl
- Upload date:
- Size: 84.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7ef046f942bae2db7920e5357bd100bda46a8b21a01e1e27c04f2ce7e3071d5 |
|
MD5 | d046239368299c541deb1d85b51c026c |
|
BLAKE2b-256 | 702ca1f8e5783e25432a457681cf1c6740ecca225e9d392b7c07e0d101f946af |