Skip to main content

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) (beta 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.14.4
  • azapy 1.2.6
  • pandas 3.0.2
  • numpy 2.4.4
  • matplotlib 3.10.8
  • xlsxwriter 3.2.9 (for non-Linux installations)

Metadata

Release files for azapyGUI 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azapyGUI 1.0.0
File Size Uploaded
azapygui-1.0.0.tar.gz 70.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azapyGUI 1.0.0
File Interpreter ABI Platform
azapygui-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 159.0 kB

Release files / azapygui-1.0.0.tar.gz

Download URL azapygui-1.0.0.tar.gz
Size 70.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fb334c0e4025e174f91453c3358f7393cb26a498046da3e1adefc82da5ef2170
BLAKE2b-256 checksum
How to use checksums
fc0f08dd94ade8d2923e4565a745a27d828520ed3d09c4759502f5b64f5f2408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / azapygui-1.0.0-py3-none-any.whl

Download URL azapygui-1.0.0-py3-none-any.whl
Size 88.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca6146d93b88098794e32544a39dbeec1fcddd17b1d04a9f710e8adaf73cf7eb
BLAKE2b-256 checksum
How to use checksums
4b5d8a0a549d85ef148009ce527934cb636108789c014bc97fa9492ce29b71dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.1

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page