Optifolio UsersGuide EN
Optifolio UsersGuide EN
User's Guide
OptiFolio
Portfolio Analysis and Optimization
OptiFolio - User's Guide
Contents
I. Overview ________________________________________________________________ 1
II. Importing data and configuring OptiFolio _____________________________________ 8
II.1. Importing market prices from the web __________________________________________ 8
II.2. Configuring web data sources in the session file___________________________________ 9
II.2.1. The Data Sources sheet _____________________________________________________________ 9
II.2.2. The Assets universe sheet __________________________________________________________ 10
II.2.3. The Parameters sheet _____________________________________________________________ 11
II.3. Configuring historical prices in an MS Excel® worksheet ___________________________ 11
II.4. Importing market prices from MS Excel® or delimited files _________________________ 12
II.5. Parameters configuration ____________________________________________________ 13
III. The Data Manager ______________________________________________________ 15
III.1. Asset prices, returns, and statistics____________________________________________ 15
III.1.1. Historical prices _________________________________________________________________ 15
III.1.1. Price discontinuities ______________________________________________________________ 16
III.1.2. Asset returns ___________________________________________________________________ 18
III.1.3. Return statistics _________________________________________________________________ 20
(1) Editing assumptions ______________________________________________________________ 20
(2) Positive definiteness ______________________________________________________________ 22
III.1.4. Adjusted returns _________________________________________________________________ 23
IV.6. Interactive portfolio navigation and selection on the efficient frontier _______________ 37
IV.7. Interactive experiment with a simple portfolio of three assets _____________________ 39
IV.7.1. Experimenting with the diversification effect __________________________________________ 39
OptiFolio - User's Guide
IV.7.2. Experimenting with two assets: VaR and CVaR features _________________________________ 41
IV.7.3. Experimenting with three assets: VaR and CVaR features ________________________________ 42
I. Overview
OptiFolio allows you to conduct constrained portfolio optimization using both the Modern Portfolio
Theory approach (the Markowitz-Sharpe model) and the contemporary Conditional VaR model,
automatically importing market data from the web from multiple sources. Furthermore, OptiFolio
makes it easy to apply Monte Carlo Simulations in order to generate forecasted scenarios for
assets and portfolio values. The application provides you with a user-friendly interface where you
can change your assumptions, create and edit user portfolios, explore each point of the efficient
frontier, and much more.
Here we present a compact version of a typical OptiFolio session.
■ Load historical prices data from the web, from multiple sources (Yahoo®, End-of-day
Historical Data, Quandl and others), as well as from MS Excel® documents and delimited
files.
■ All your session data (including assets, portfolios, asset groups, constraints, assumptions,
user views and data sources) are automatically saved in Session files (which are editable
MS Excel® files, by the way).
1
OptiFolio - User's Guide
■ The historical prices for your assets are automatically updated by the software from the
configured web sources.
2
OptiFolio - User's Guide
■ OptiFolio finds the optimum portfolios with maximum Sharpe ratio and minimum standard
deviation or maximum expected Return/CVaR and minimum CVaR according to each chart
type. Additionally it calculates every point of the efficient frontier and displays them in a
table or in a chart.
3
OptiFolio - User's Guide
■ OptiFolio allows the user to define asset groups and limits for the portfolio. Groups and
limits are also stored in human readable files.
4
OptiFolio - User's Guide
■ The user can interactively explore the optimum asset combinations along the efficient
frontier, as shown below. Portfolios of interest can be saved to the Portfolio Manager by
double-clicking.
5
OptiFolio - User's Guide
■ Manage user-defined portfolios, calculate statistics, and conduct Monte Carlo Simulations.
■ OptiFolio allows the user to define the risk factors, such as interest rates and exchange
rate, which determine the returns of the assets included in the portfolio. This toolbox
automatically calculates the expected returns, the covariance and correlation matrixes
based on the risk factors.
6
OptiFolio - User's Guide
■ OptiFolio can also calculate the expected returns based on the Black-Litterman model from
just the perspectives of the user about the future returns of the assets included in the
portfolio.
■ Finally, the user can save his session in an MS Excel® file with all the data (data sources,
assets information, prices, covariance matrix, expected returns, risk factors, mapping
matrix from risk factors to assets, asset groups, investment limits, portfolios and user
views) used in OptiFolio. The next time the application is opened, OptiFolio will load the
built-in session file, restore all data structures and ask the user
7
OptiFolio - User's Guide
8
OptiFolio - User's Guide
Once all the assets that are going to be included in the portfolio have been selected, as well as the
time period for the prices, proceed to download the database using the “Download prices” button.
If the current dataset matches the requested assets (by names), then the “Clear portfolios, groups
and limits” option will be enabled. If left unchecked, only the prices will be updated and no other
objects will be changed.
OptiFolio will show a window that resumes the availability of the prices for each asset.
Each row indicates the starting (“Available from”) and final (“Available to”) date, in the selected
range of sample, when the prices of the assets are available and the total number of points. In case
one of the assets is not available for the period requested, which can be identified when the
number of points is equal to 0, it will be needed to disable its importation to make a satisfactory
download of the remaining assets prices.
9
OptiFolio - User's Guide
The “Data Sources” sheet contains the access details of the configured data sources. The columns
contain the Source ID and name (you decide both of them), the type (should be “WEB”), the base
URL (do not include the https prefix, it is automatically inserted; http is not accepted), the UserID (if
needed), the UserKey (if needed), the position of the dates column, the position of the prices
column and the request string (this URL is added to the base URL in order to build the final query
URL).
The Request string contains several auto-replaceable tokens:
%ASSETID ........................... Asset symbol or ID
%ASSETNAME ..................... Asset name
%ASSETINTERNALNAME ..... Asset internal name
%APIKEY ............................. UserKey
%USERID ............................. UserID
%DATEYMD0 ....................... Initial date in YMD format
%DATEYMD1 ....................... Ending date in YMD format
%UNIXDATEYMD0................ Initial date in Unix format
%UNIXDATEYMD1................ Ending date in Unix format
%FREQ ................................ Frequency indicator letter (‘d’ for daily, ‘w’ for weekly)
The web service is expected to return the information in comma-separated format.
The “Assets universe” sheet contains the list of all assets of interest for the user.
10
OptiFolio - User's Guide
The columns contain the Asset name (this is the unique identifier of the asset), the asset ID (this is
the ID for the web data source), the SourceID, the import mark (only assets marked with an “X” will
be imported), and optional comments.
Notice that the same asset may appear in more than one row, with different data sources. This
allows you to easily switch from one data source to another.
This worksheet contain basic working parameters, such as the annual risk-free rate, the holding
period (in working days) and the sample size (in working days). This sample size is used for
importing historical data from the web.
11
OptiFolio - User's Guide
In order to import data from MS Excel®, use the “Load prices from XLS file” button on the ribbon.
Then select the MS Excel® file containing the historical prices data.
If the workbook contains more than one spreadsheet, select the appropriate worksheet from the list.
If the workbook has only one, it will be selected automatically. If the number of assets is greater
than 255, a flat file (Comma-Separated or Tab-Delimited) should be used instead of an MS Excel®
formatted file.
12
OptiFolio - User's Guide
■ Risk-free rate
The annualized risk-free rate indicates the return on a risk-free asset (such as a US
Treasury Bill). This value will be used to calculate the “risk premium” (the excess return of
an asset or portfolio above the risk-free rate) and the Sharpe ratio.
■ Number of days per year
All returns will be calculated using the Holding-Period entered by the user inside the Data
Manager. However, when an annual figure is required, OptiFolio will use this assumed
number of days per year (DPY). For example, a daily risk-free rate would be calculated as:
1
(1 + YearlyRFR ) DPY − 1
13
OptiFolio - User's Guide
■ Color palette
Choose a color palette to represent portfolio densities on each feasible combination of risk
and return.
All changes made on the parameters window will be automatically saved into the Optifolio.ini file
when the program is closed. This file will be loaded the next time OptiFolio is opened.
14
OptiFolio - User's Guide
Use the “Data Manager” to browse, edit, and produce information about prices, returns, general
statistics, and a Monte Carlo Simulation for asset prices. Additionally, it is possible to configure the
transaction costs (as a percentage of the position) incurred when buying or selling assets. These
will be implemented in the back-testing analysis of the desired portfolio.
Enter the “Historical prices” tab to get time series charts for each asset and enter the “Historical
prices table” tab to get the assets list with each price point of the chart. Both the chart and table
may be copied to the clipboard by right-clicking on them.
To zoom in on a section of a chart, left click and drag the mouse pointer making a diagonal from
left to right. To return to the default zoom level, click and drag the pointer making a diagonal from
right to left.
15
OptiFolio - User's Guide
There are certain events related to stocks where the nominal price of a stock changes abruptly but
no real effects are produced on the returns (the most common examples are dividend flows and
stock splits). When discontinuities are present, it is not advisable to use the raw prices to generate
historical returns. The prices must be adjusted first in order to suppress the breakpoints and work
with a "continuous" data series. The following example shows a typical scenario where a stock
split changed the nominal price of the security.
OptiFolio allows the user to detect price discontinuities and fix them by using a backward price
adjustment algorithm.
In order to examine all asset data and look for breakpoints, enter the 'Price discontinuities' tab,
configure a maximum daily change threshold and press the 'List breakpoints button'.
16
OptiFolio - User's Guide
Press the 'Adjust data' button to run the price adjustment algorithm. Consider that for each
breakpoint, the data will lose one point (at date 'T0'). This is the adjusted data series from the
previous example:
17
OptiFolio - User's Guide
The asset returns tab shows three important parameters for the analysis:
■ Holding period (in working days)
All internal return calculations will be carried out for a time span equal to the holding period.
In other words, all returns, mean returns, and covariances will be expressed for the holding
period (see example below).
18
OptiFolio - User's Guide
■ Overlapping observations
The return calculation can be done with all the observations in the sample (“Overlapping”)
or just considering the observations that maintain an arbitrary distance with the last
observation (“Non-overlapping”).
The advantage of working with the entire sample is that the number of observations is
considerably larger; nonetheless, high levels of autocorrelation are introduced in the
calculation of the returns.
Pressing the Recalculate returns and update all statistics button will regenerate all internal
returns and return statistics matrices (means, covariances, correlations). This should usually be
done each time one of the Asset returns parameters is changed.
The second return would be calculated comparing Feb 4th vs. Feb 2nd (one physical
observation apart, two working days apart in this case) and would express the
result for three working days, as follows:
3
P Feb 4
r Feb 4
= ( )2 −1
P Feb 2
19
OptiFolio - User's Guide
In the “Return statistics” tab, OptiFolio shows the (1) expected returns, (2) return covariances, (3)
return correlations, and (4) statistics summary of the returns.
The “Expected returns” tab also contains the expected return vector. This vector is initially taken
from historical means, but it may be configured by the user.
The covariances and correlations matrices are interlinked. When any covariance or correlation
changes, a corresponding change will be automatically carried out on the other matrix in order to
keep both matrices consistent with each other.
Remember that expected returns and covariances are the main inputs for the portfolio optimization
models.
By default, statistics are calculated from the historical returns. If you change the values for the
assumed statistics and want to restore historical values, simply press the “Assume historical”
button.
If, instead of typing, you prefer to paste assumptions from an external matrix, use the “Paste
values” button.
20
OptiFolio - User's Guide
The “Assume independency” button is used to assume zero correlations (and covariances) among
assets. Only variances will be taken into consideration under this scenario
For instance, in this chart the correlation between assets 1 and 3 is 0.5166. If this correlation is
manually changed to, say, 0.2, the diversification power between this pair of assets will increase
and the feasible investment area will expand to the left, as shown in the next figure.
21
OptiFolio - User's Guide
If the same correlation is reduced even more, to -0.5 for instance, the chart will expand even
further, as expected.
The positive definiteness of the covariance matrix is evaluated each time a correlation or
covariance assumption is changed. A positive definite matrix exhibits a green label on the upper
right corner, as shown below. Otherwise, a red warning will appear at the same place.
22
OptiFolio - User's Guide
The Adjusted returns matrix shown on the “Asset Returns” tab contains a transformation of the
historical returns. This transformed return series is calculated in such a way that:
■ They have the same dates and data length in comparison to the historical return matrix
■ Each column has a mean return equal to the expected mean return
■ Each column has a variance equal to the assumed variance for that variable
This data is used by the CVaR/Return portfolio optimization model as the raw data for the historical
CVaR calculation.
The general formula employed to transform each column (X) in order to achieve target statistics is:
X t − Mean(X )
A t
= ( Hist
)σX + E(X) Target
σX
Target
Hist
23
OptiFolio - User's Guide
expenses incurred from buys or sells. Additionally, it can be established as a fixed percentage for
all the assets and independently of the kind of transaction with the “Assume all equal to:” button.
24
OptiFolio - User's Guide
25
OptiFolio - User's Guide
The results of the chart may also be found in tabular form on the “Price simulation table” tab.
The “Copy paths” button will copy the detail of each of the simulated value paths. Note that the
amount of information copied to the clipboard may be considerable depending on the number of
requested scenarios and the horizon of the simulation.
26
OptiFolio - User's Guide
The first methodology used to draw the complete profile of the feasible area examines alternative
portfolios formed using a systematic rule to distribute weights uniformly.
For instance, given two assets, all portfolios (0%, 100%), (1%, 99%)…(99%, 1%), and (100%, 0%)
would be included on the chart. The level of detail would increase as the simulation advances.
Therefore, on a “second pass,” portfolios (0.1%, 99.9%), (0.2%, 99.8%), and so on would be
tested.
Press the “Start” button to begin analyzing feasible portfolios. The simulation can reach speeds of
several million portfolios per second. Therefore, the chart and especially the efficient frontier should
adopt a defined shape rapidly. Press the “Stop” button once you are satisfied with the level of detail.
Note that the chart generation will not end automatically.
27
OptiFolio - User's Guide
Colors shown in the graph represent the relative density of portfolios on each Risk/Return
combination (this means that in “hotter” areas there are many portfolios with different internal
weights that produce the same combination of risk and return). The chart can be copied by right-
clicking and selecting the copy option.
28
OptiFolio - User's Guide
In the Markowitz model, the portfolio (risk, return) coordinates are calculated using the Expected
Standard Deviation and Expected return for the portfolio (horizontal and vertical, respectively). The
formula is:
n n n
[ E ( Risk p
), E (Re turn p
)] = [ E ( p
), E ( r p )] = [ w j w k E ( j ,k
) , w j E (rj )]
j =1 k =1 j =1
Note that this model is essentially parametric. In other words, it directly uses the expected returns
and covariances in order to estimate the portfolio statistics.
On the CVaR/Return model, the risk measure is not the standard deviation but the portfolio
Conditional Value-at-Risk (CVaR). In this case, the CVaR is calculated using the historical
simulation method, employing the Adjusted Returns discussed in the Data Manager section.
The relevant formulas are presented here. Assume that given a vector of asset weights “w,” and a
matrix of adjusted returns “AR,” the hypothetical adjusted return vector of the portfolio is Rp:
R p = w AR
Then, the Value-at-Risk of this vector with a significance level of would be:
VaR ( R p , ) = Percentile ( , R p )
29
OptiFolio - User's Guide
Rp
R p VaR ( R P , )
CVaR ( R p , ) =
1
R p VaR ( R P , )
The portfolio coordinates for the CVaR/Return model will then be:
n
[ E ( Risk p
), E (Re turn p
)] = [ E ( CVaR p
), E ( r p )] = [ CVaR ( w AR , ), w j E (r j )]
j =1
30
OptiFolio - User's Guide
OptiFolio has the option to save these portfolios to the Portfolio Manager by using the buttons
located on the blue options bar.
The first four columns of the table show the basic statistics for each portfolio, while the rest of
columns exhibit the asset weights needed to reach that point.
You may copy the table to the clipboard by right-clicking on it. You can also add specific frontier
portfolios to the Portfolio Manager by right-clicking on them.
31
OptiFolio - User's Guide
The graphic representation of the frontier shows the weights of the portfolios along the frontier.
From left to right, the portfolios increase in terms of total risk.
32
OptiFolio - User's Guide
In order to get a better understanding of the chart, you can use the context menu to select among
six different color schemes.
The graphic representation of the strategic statistics of the frontier portfolios show how the
statistics change as the portfolios increase in terms of total risk from left to right. The statistics you
can observe are:
■ Sharpe Ratio
■ Investor utility (Low Risk Tolerance)
■ Investor utility (Medium Risk Tolerance)
■ Investor utility (High Risk Tolerance)
■ Keating’s Omega
33
OptiFolio - User's Guide
34
OptiFolio - User's Guide
35
OptiFolio - User's Guide
As well as in the previous case, you can choose the number of portfolios to be shown for the
graphic display of the strategic statistics.
36
OptiFolio - User's Guide
Once the drawing sequence has been finished, move the mouse over any frontier portfolio and
OptiFolio will show a floating window containing the following information: (1) the three assets
with the highest weights in the portfolio, (2) a pie chart showing the relative weights of those three
assets (sorted), as well as the rest of the portfolio, and (3) the key Risk and Return statistics for
the selected portfolio.
37
OptiFolio - User's Guide
Any frontier portfolio can be saved to the Portfolio Manager for further analysis by double-clicking
onto it.
38
OptiFolio - User's Guide
You can also hover the mouse over any pure asset to see its name and coordinates.
This module allows you to interactively play with generic three-assets portfolios in order to
demonstrate some of the features of the Mean-Variance and the CVaR models.
You can use this chart as a simple aid to give an academic explanation of how the diversification
works. The chart shows three pure assets and their intermediate portfolios on the Expected Return
(vertical axis) and Expected Standard Deviation (horizontal axis) plane. The assets coordinates and
inter-asset correlations can be adjusted by the user. However, remember that this simulation only
takes into account the pair-wise diversification effects; the three-assets efficient frontier is probably
closer to left side of the graphic.
The default chart shows three assets located at risk-return combinations given by coordinates
(10%, 5%), (17%, 24%) and (20%, 12%) respectively. Inter-asset correlations are initially set at 1.0,
so there are no diversification effects and asset 3 is dominated by some combinations of 1 and 2.
39
OptiFolio - User's Guide
By moving the correlations sliders and the asset points themselves, you can set a broad spectrum
of configurations, such as the one shown below. You can copy the chart contents by right-clicking
and selecting 'Copy'.
40
OptiFolio - User's Guide
The VaR and CVaR values behave very differently when confronted with progressive portfolio
rebalancing. This can be seen very clearly in the following charts, that show the VaR and CVaR
results for a portfolio with two assets when the weight of the first asset is assumed to change from
0% to 100% in small intervals. In this example, the VaR shows several local minima and no clear
global minimum.
41
OptiFolio - User's Guide
The previous experiment can be easily extended to a three-assets portfolio, as shown below.
42
OptiFolio - User's Guide
CVaR exhibits a smooth surface with one global optimum point, contrasting the chaotic surface of
the VaR statistic.
43
OptiFolio - User's Guide
44
OptiFolio - User's Guide
In the right corner, there is an option to load the groups that have been previously created, and next
to it, there is a button to save the groups. Groups can be loaded from three different data sources,
as shown below:
45
OptiFolio - User's Guide
Here you can see an example of the simple internal structure of these files.
46
OptiFolio - User's Guide
Like the asset groups, limits can also be saved and loaded from files. Refer to the provided
examples to see the detailed structure of the limits file.
47
OptiFolio - User's Guide
Remember that portfolio optimizations must be run again in order to consider any change made to
the investment limits (or groups).
By using this feature, you can select a reference portfolio (the drop-down list will show all
portfolios that appear in the Portfolio Manager). The limit will be referred to as the difference in
absolute weights between the feasible portfolio and the reference portfolio. Differences can be
measures either individually or in total:
• Limit to individual asset turnover. The limit will be compared to the maximum asset-wise
difference in weights between the candidate portfolio and the reference portfolio. In other
words, the maximum allowable absolute weight difference in any asset will be the entered
percentage.
• Limit to total asset turnover. The limit will be compared to the sum of asset-wise
differences in weights between the candidate portfolio and the reference portfolio. In other
words, the total weight differences along the portfolio will not exceed the entered
percentage.
48
OptiFolio - User's Guide
By enabling this feature, the feasible portfolios will be confined to a certain region of minimum and
maximum expected return and risk. The risk measure will depend on the current model: either
Standard Deviation or Conditional Value-at-Risk.
49
OptiFolio - User's Guide
50
OptiFolio - User's Guide
The Portfolio composition tab shows the portfolio weights in graphic and tabular form. The table
report may be edited by the user in order to set new weights for the assets. This tab also presents
the portfolio composition by asset groups.
51
OptiFolio - User's Guide
52
OptiFolio - User's Guide
53
OptiFolio - User's Guide
54
OptiFolio - User's Guide
55
OptiFolio - User's Guide
56
OptiFolio - User's Guide
Fig. 75: Portfolio back-testing (prices valid in t-1) with transaction costs
57
OptiFolio - User's Guide
58
OptiFolio - User's Guide
After pressing the “Forecast” button, a forecasted return matrix is generated (containing as many
random scenarios as is configured on the Parameters window) using random numbers from a
multivariate elliptical copula that combines the distributions for each asset. This copula considers
the inter-variable correlations as well as the individual parameters. For each possible returns
scenario, a value path is calculated. Once all value paths have been estimated, a chart showing the
median value and critical percentiles (1%, 5%, 95%, and 99%) is shown. The chart will go as far as
indicated by the Horizon value (in working days).
The results of the chart may also be found in tabular form on the “Price simulation table” tab, or as
a chart with all the simulated paths on the “Overlaid forecasts” tab.
The “Copy paths” button will copy the detail of each of the simulated value paths. Note that the
amount of information copied to the clipboard may be considerable depending on the number of
requested scenarios and the horizon of the simulation.
59
OptiFolio - User's Guide
60
OptiFolio - User's Guide
61
OptiFolio - User's Guide
In order to include the risk factors for further analysis, first load in the tab “Define Risk Factors” its
historical data for the same period that was set for the assets prices. Using the button “Load Risk
Factors”, a floating window will allow the selection of an MS Excel® file that contains this
information with the same structure that is used to import the asset prices. This file can include the
values of market indexes for shares, and, if bonds have been included, the interest rates that are
relevant. In the same way, if there are assets denominated in foreign currency, then it should also
include the historical values of the exchange rate (base currency divided by foreign currency). For
those assets that do not have any risk factor, excluding the exchange rate, they must be included in
the file with the same historical prices to avoid errors in the estimation of the expected values.
62
OptiFolio - User's Guide
Next, in the “Risk Factor classification” tab, the risk factors that should be analyzed using
arithmetic changes (usually the variables that are in percentages such as interest rates) must be
selected. OptiFolio automatically selects the factors that are identified with a name that starts with
“RATE_”. To confirm that the risk factors are correctly classified, use the “Keep changes” button.
The “Detailed Returns” tab includes a table with the risk factors returns considering the previous
setup and the configuration used in “Data Manager” for its calculation.
63
OptiFolio - User's Guide
The “Map Risk Factors to Assets” tab has matrix in which each row represents an asset included
in the portfolio and each column represents a risk factor. This matrix has to be filled with the
sensibility that has one assets against a particular risk factor measured as the impact that has 1%
change in the risk factor over the return in the asset. Therefore, the shares should have a
coefficient equal to the beta calculated from a linear estimation against a group of indexes. Bonds,
in the other hand, will have a coefficient with the interests rates equal to their Key Rate Durations.
Lastly, the assets that are denominated in other currencies should have a coefficient equal to 1
with the exchange rate that applies. It is important to remember that sometimes is necessary to
include as factors the historical prices for a group of assets as mentioned before. All of them must
also have a coefficient equal to 1 with its counterpart in the rows of assets.
OptiFolio uses colors to identify visually the relationship between the assets and its risk factors. A
green box will represent a positive coefficient, red when is negative, white when it is equal to 0 and
yellow when it is equal to 1.
64
OptiFolio - User's Guide
65
OptiFolio - User's Guide
To finish, press the “Estimate asset statistics” button. This will update the mean and variance of
the expected asset returns as function of its risk factors. Thereafter, one can check or modify the
statistics of the risk factors in the “Return Statistics” tab or start a new portfolio optimization with
the “Portfolio Optimization” button in the Main Ribbon.
66
OptiFolio - User's Guide
Fig.87: Example of (MVO) portfolio optimization with historical mean and variance
Fig.88: Example of (MVO) portfolio optimization with expected returns based on risk factors
67
OptiFolio - User's Guide
The “Define Views” tab allows to administrate groups of perspectives about the assets included in
the portfolio. To create a new group, click on the “New set of views” button, and to create a new
perspective inside this group, use the “New view” button.
OptiFolio works with two types of perspectives: absolutes and relatives. Two start designing a new
perspective, select one of the views in the list that is located at the left of the window.
68
OptiFolio - User's Guide
The absolute perspectives only involve one of the assets included in the portfolio. As an example, if
one anticipates that the future return in one year of an asset will be 4%, then in the column
“Weights” one must identify the row that corresponds to this asset and enter the number 1. Instead,
the (annualized) expected return always goes in the last row of the weights column. OptiFolio
interprets each weight (wi) as the coefficient that multiplies each expected return (rie) of the (N)
assets in the portfolio from the next equation:
69
OptiFolio - User's Guide
The relative perspectives, unlike the absolutes, involves at least two assets included in the portfolio.
As an example, a relative perspective could be that the excess return from two assets in the same
investment group will be 1% in the next year. Thus, the correct way to implement this perspective
would be that the coefficient from the asset that will have more return be equal to 1, and for the
other asset, -1. Again, the (annualized) expected return has to be completed in the last row of the
weights column, which in this case would be equal to the excess return.
70
OptiFolio - User's Guide
Once all the perspectives have been defined, the expected asset returns can be found in the “Black-
Litterman expected returns” tab. To calculate these returns, the model requires to know the market
portfolio and risk aversion (coefficient), which can be set on the lists that can be found at the
bottom of the window, as well as select the group of perspectives to be used. The first three
columns report the returns based only on the Black equilibrium model; the first one always
maintains the return configuration established in “Data Manager”, while the other two presents the
returns with simple and compound annualization. The fourth column, instead, shows the Black-
Litterman adjustment that has to be implemented on the first three returns presented. Lastly, the
remaining columns provide the adjusted expected returns.
To replace the expected return values with the ones calculated under the Black-Litterman model,
use the “Use results as expected asset returns” button.
71
OptiFolio - User's Guide
Fig.93: Example of (MVO) portfolio optimization with historical mean and variance
72