Portfolio Edit window¶
Portfolio Edit window facilitates the editing of new/existing portfolios. It may look like this:

There are 3 main features that describe a portfolio:
portfolio name
portfolio components
optimization model
Portfolio name¶
It can be entered at the top. The default value (for a new portfolio) is MyPort. Feel free to change it
to something meaningful to you. Note that the portfolio name must be unique during an azapyGUI session.
Portfolio components¶
The exchange symbols can be entered on the left panel. It must be one symbol per cell. Pressing Enter will move the focus to the next cell. The symbols can be entered in any cell, not necessarily in order, using lower or upper characters. Leading and ending spaces will be ignored.
Optimization model¶
These are the analytical algorithms for portfolio weights evaluations. Some may be very simple; the simplest model is Equal Weighted Portfolio
where all weights are equal to 1/n with n the number of portfolio weights. Others may be very sophisticated, involving
selectors as well as an optimizer. For example, the model listed in the Portfolio Edit fig at the top this section, involves
2 selectors: Correlation Clustering, and Dual Momentum, as well as optimizer maximizing the Sharpe ratio for a (1,1)-mMAD
risk measure. The analytical models are discussed here.
Model choices:
Selector- the Selector model can be chosen from the first combobox.Optimization type- designates the optimizer family.Risk based- optimization based on various risk measures.Naive- simple optimization inspired by market wisdom.Greedy- maximum return optimization using other criteria than risk exposure (as in risk measures).
Optimizer model- the actual optimizer model corresponding to the value of theOptimization type.
Once a value is chosen for the Selector or Optimization model, the corresponding model parameters window will
popup. The model parameters windows will be discussed later.
After the model is selected and the parameters are chosen, the models are listed on the right table. Pressing on the + will expose the parameters value. A valid model may have several Selectors (or none) and one and only one Optimizer. Always the Optimizer will be listed last.
The order of Selectors (if there are more than one) matters. Right clicking the mouse on the Selector name will drop down a menu allowing us to move the Selector up or down the list. In the example above the model will execute successively, a correlation clustering selection (eliminating similar assets), followed by a dual momentum selection (of best assets and capital at risk allocation), and finally an mMAD-Sharpe weights optimization on the selected components.
