GUI for azapy library - Financial Portfolio Optimization Algorithms
Project description
azapyGUI project
Graphical User Interface for azapy library - Financial Portfolio Optimization Algorithms
An open-source python library for everybody
Author: Mircea Marinescu
email: Mircea.Marinescu@outlook.com
Package installation: pip install azapyGUI
To start the application create the following 2 line script - let's call it my_azapy.py
import azapyGUI
azapyGUI.start()
and then run in a powershell: python my_azapy.py
Provides support for
A. Risk-based portfolio optimization algorithms
- mCVaR - mixture CVaR (Conditional Value at Risk)
- mSMCR - mixture SMCR (Second Moment Coherent Risk)
- mMAD - m-level MAD (Mean Absolute Deviation)
- mLSD - m-level LSD (Lower Semi-Deviation)
- mBTAD - mixture BTAD (Below Threshold Absolute Deviation)
- mBTSD - mixture BTSD (Below Threshold Semi-Deviation)
- GINI - Gini index (as in Corrado Gini statistician 1884-1965)
- SD - standard deviation
- MV - variance (as in mean-variance model)
- mEVaR - mixture EVaR (Entropic Value at Risk) (beta version)
For each class of portfolio the following optimization strategies are available
- Optimal-risk portfolio for targeted expected rate of return value
- Sharpe-optimal portfolio - maximization of generalized Sharpe ratio
- Sharpe-optimal portfolio - minimization of inverse generalized Sharpe ratio
- Minimum risk portfolio
- Optimal-risk portfolio for a fixed risk-aversion factor
- Optimal-risk portfolio with the same risk value as a benchmark portfolio (e.g., same as equal weighted portfolio)
- Optimal-diversified portfolio for targeted expected rate of return (minimization of inverse 1-D ratio) (beta version)
- Optimal-diversified portfolio for targeted expected rate of return (maximization of 1-D ratio) (beta version)
- Maximum diversified portfolio (beta version)
- Optimal-diversified portfolio with the same diversification factor as a benchmark portfolio (e.g., same as equal weighted portfolio) (beta version)
- Optimal-diversified portfolio with the same expected rate of return as a benchmark portfolio (e.g., same as equal weighted portfolio) (beta version)
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
- Universal portfolio (Thomas M. Cover 1996) (beta version)
D. Market Selectors
- Dual Momentum Selector (beta version)
- Correlation Clustering Selector (beta version)
Automated market data collection
- Supported providers:
- yahoo.com
- eodhistoricaldata.com
- alphavantage.co
- marketstack.com
Required packages
- python 3.11.8
- azapy 1.2.5
- pandas 2.2.0
- numpy 1.26.0
- matplotlib 3.8.0
- xlsxwriter 3.1.1 (for non-Linux installations)
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 azapygui-0.1.1.tar.gz.
File metadata
- Download URL: azapygui-0.1.1.tar.gz
- Upload date:
- Size: 70.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7c9ec45d6841ee7f72ab0ea0ac832ce70f26efdbca2b2083c7d3b5b24f22bef
|
|
| MD5 |
d0125a9bbd4aab666702c183812ed9b0
|
|
| BLAKE2b-256 |
a90564dcc92b1020c419f7e6ca457da9fe033c75b6f8a245bc9a31ec0978f242
|
File details
Details for the file azapyGUI-0.1.1-py3-none-any.whl.
File metadata
- Download URL: azapyGUI-0.1.1-py3-none-any.whl
- Upload date:
- Size: 88.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a2dfb89fa72d3d5bdc9258ec1e50bcbad0bfa47d67d358c09e09de5639319b
|
|
| MD5 |
83619b66498cb815bec32af644a600ba
|
|
| BLAKE2b-256 |
374968c2272cfd5a169799533217d877c9f3f54945a560b716767da4fc7cef6b
|