Skip to main content

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 documentation

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

ko-fi

Provides support for

A. Risk-based portfolio optimization algorithms

  1. mCVaR - mixture CVaR (Conditional Value at Risk)
  2. mSMCR - mixture SMCR (Second Moment Coherent Risk)
  3. mMAD - m-level MAD (Mean Absolute Deviation)
  4. mLSD - m-level LSD (Lower Semi-Deviation)
  5. mBTAD - mixture BTAD (Below Threshold Absolute Deviation)
  6. mBTSD - mixture BTSD (Below Threshold Semi-Deviation)
  7. GINI - Gini index (as in Corrado Gini statistician 1884-1965)
  8. SD - standard deviation
  9. MV - variance (as in mean-variance model)
  10. mEVaR - mixture EVaR (Entropic Value at Risk) (beta version)

For each class of portfolio the following optimization strategies are available

  1. Optimal-risk portfolio for targeted expected rate of return value
  2. Sharpe-optimal portfolio - maximization of generalized Sharpe ratio
  3. Sharpe-optimal portfolio - minimization of inverse generalized Sharpe ratio
  4. Minimum risk portfolio
  5. Optimal-risk portfolio for a fixed risk-aversion factor
  6. Optimal-risk portfolio with the same risk value as a benchmark portfolio (e.g., same as equal weighted portfolio)
  7. Optimal-diversified portfolio for targeted expected rate of return (minimization of inverse 1-D ratio) (beta version)
  8. Optimal-diversified portfolio for targeted expected rate of return (maximization of 1-D ratio) (beta version)
  9. Maximum diversified portfolio (beta version)
  10. Optimal-diversified portfolio with the same diversification factor as a benchmark portfolio (e.g., same as equal weighted portfolio) (beta version)
  11. 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

  1. Constant weighted portfolio. A particular case is equal weighted portfolio.
  2. Inverse volatility portfolio (i.e., portfolio weights are proportional to the inverse of asset volatilities)
  3. Inverse variance portfolio (i.e., portfolio weights are proportional to the inverse of asset variances)
  4. 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

  1. Kelly's portfolio (as in John Larry Kelly Jr. scientist 1923-1965) - maximization of portfolio log returns
  2. Universal portfolio (Thomas M. Cover 1996) (alpha version)

D. Market Selectors

  1. Dual Momentum Selector (beta version)
  2. 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.4
  • pandas 2.2.0
  • numpy 1.26.0
  • matplotlib 3.8.0
  • xlsxwriter 3.1.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azapygui-0.0.2.tar.gz (68.7 kB view details)

Uploaded Source

Built Distribution

azapyGUI-0.0.2-py3-none-any.whl (85.6 kB view details)

Uploaded Python 3

File details

Details for the file azapygui-0.0.2.tar.gz.

File metadata

  • Download URL: azapygui-0.0.2.tar.gz
  • Upload date:
  • Size: 68.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for azapygui-0.0.2.tar.gz
Algorithm Hash digest
SHA256 62da2200370ad2526bba458b4c6ca22fa491625d61db1f40f9a624cb1973aa1e
MD5 c040744014b1c82b7609b7a5734bcf3b
BLAKE2b-256 d92b08a2fdce35ac972d178fa06b2de147c8f2a4fd1f788ae07e1678939002fe

See more details on using hashes here.

File details

Details for the file azapyGUI-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: azapyGUI-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for azapyGUI-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d1a75f6ffea303091e216926517a68a963d7ed97951fbd4fda6c0afff39bfac
MD5 bcf2dec6b04f52405288a315138270c8
BLAKE2b-256 61d88166a802f293b8702adbe32fcb86f912e5a36da17239e849bb70d8fccccd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page