New call-to-action

Guided Rebalance - Mathematical Details

Image 1@2x

JULY 19,  2023 

Problem Definition

Let us denote asset weights by ⃗Screen Shot 2023-07-19 at 11.24.20 AM. We denote the function Screen Shot 2023-07-19 at 11.24.28 AM which, given the asset weight vector Screen Shot 2023-07-19 at 11.24.38 AM, computes the percent contribution to risk from each of the ⃗K  factors. When the risk metric is the volatility of the portfolio, then f(x) takes the following form:

Screen Shot 2023-07-19 at 11.27.45 AM (1)

where ⊙ is the element-wise dot product between two vectors, Screen Shot 2023-07-19 at 11.29.11 AM is the vector of exposures for the portfolio, Screen Shot 2023-07-19 at 11.29.18 AM is the factor covariance matrix. The objective function that we seek to minimize is:

Screen Shot 2023-07-19 at 11.30.25 AM (2)

where Screen Shot 2023-07-19 at 11.32.02 AM is the original asset allocation of the portfolio, Screen Shot 2023-07-19 at 11.32.14 AM represents the  Screen Shot 2023-07-19 at 11.32.19 AMnorm, and Screen Shot 2023-07-19 at 11.32.23 AM represents the Screen Shot 2023-07-19 at 11.32.29 AM norm. The Screen Shot 2023-07-19 at 11.32.19 AM norm penalty term seeks to minimize the size of changes between the original asset allocation and the optimal allocation, and Screen Shot 2023-07-19 at 11.32.29 AM norm helps to reduce the number of changes between the original allocation and the optimal allocation.

1) While in the simplest case, the risk measure used is the volatility, we can envision the use of other metrics such as CVaR or Expected Shortfall. Then the function f(x) computes the percentage contribution to the CVaR or Expected Shortfall.

2) The true norm to minimize the number of changes between the optimal portfolio and the original portfolio would be the Screen Shot 2023-07-19 at 11.35.24 AM norm, which is non-convex. Hence, we use its closest convex cousin — the Screen Shot 2023-07-19 at 11.32.29 AM norm — to impose the fewest trades constraint.

3) Since the assets in the target portfolio and the client’s original portfolio can be different, the function f(x) is computed on the expanded client portfolio. Let the set {x} denote the set of assets in the client’s original portfolio and the set {xtarget} denote the set of assets in the target.
Then the portfolio to be rebalanced is the set of assets {xrebalance} = {x} ∪ {xtarget}. The additional assets in this expanded set are set with an initial asset weight of 0.

 

Adding Client Constraints

Client constraints are the general set of asset allocation preferences that need to be accounted for when performing a rebalance. Broadly, these can be classified into IPS bounds and asset-specific restrictions. 

IPS Bounds 

An IPS or Investment Policy Statement is a document that serves to define the objectives for a client portfolio. In particular, an IPS defines the time-horizon and investment goals for the portfolio. Along with more general details, it also defines client-specified ranges for certain asset classes. A simple example could be that the client only wants between 20 and 30% of their portfolio in Equities and an even smaller amount between 2-5% in alternatives.

These IPS bounds can be taken into account as extra constraints to the original objective function defined in Equation 1 above. We do that as follows.

Let {1 ... N} be the indices of the expanded set of assets {xrebalance} . Then forM asset-classes,
we haveM partitions of {1 ... N} noted Screen Shot 2023-07-19 at 11.40.16 AM such that Screen Shot 2023-07-19 at 11.40.23 AM. The IPS bounds for each of the M asset classes can then be written as:

Screen Shot 2023-07-19 at 11.40.34 AM (3) (4) 

where Screen Shot 2023-07-19 at 11.41.57 AM are the lower bounds and Screen Shot 2023-07-19 at 11.42.11 AM are the upper bounds for each of the asset classes.

Restrictions 

Client specified restrictions are restrictions on buying/selling of certain securities within the portfolio. These restrictions could be imposed for many reasons. For instance, an executive in a big tech firm might not wish to sell their equity stake in their company. Or there could be legacy holdings that a client might wish to keep.

Irrespective of the reason for the restrictions, the rebalance should account for these. These restrictions can be accommodated as extra constraints on the objective function defined in (2) above.

These restrictions can be of multiple types. Let the asset index be denoted by I where I can have more than one element since the same asset can be present in more than one account. Then we have:

1) Do not buy: Screen Shot 2023-07-19 at 11.50.27 AM i.e. the final allocation can’t be more than the original allocation for that asset.

2) Do not sell: Screen Shot 2023-07-19 at 11.50.27 AMi.e. the final allocation can’t be less than the original allocation for that asset.

3) Do not trade: Screen Shot 2023-07-19 at 11.50.27 AMi.e. the final allocation must be equal to the original allocation for that asset.

4) Exclude: This restriction implies that for the asset in consideration, we must exclude it from the rebalance. Thus the set of assets over which the objective function in (2) is defined becomes Screen Shot 2023-07-19 at 11.50.44 AM where - stands for set exclusion.

As an extension of asset-specific restrictions, we can also specify account-level restrictions. In this case, we drop the sum over the accounts, and the index I then stands for the index of assets for the specified account.

Cash 

Cash and cash holdings need to be handled separately since a client might want to keep a certain weighting of their portfolio in cash. Within the Fabric application, we will consider cash as a “free” source of funds to be deployed in order to achieve the rebalance objective as closely as possible. By default, all cash should be deployed. However, if the advisor over-rides this default then they must specify the level of cash to be left within the portfolio. This specific case of cash can then be accounted for as an extra constraint to the objective function in (2).

Let the index of cash holdings be denoted as C, where once again cash holdings can be present in multiple accounts. Then the constraints are of the form

Screen Shot 2023-07-19 at 11.53.47 AM   (5)

Note that we only allow the deployment of cash within guided rebalance. Raising cash holdings
by selling assets is not within the scope of guided rebalance.

 

Complete Formulation 

Guided rebalance is then an optimization problem with the following form:

Screen Shot 2023-07-19 at 11.55.16 AM

The optimization problem above has an objective function that can be written as a sum of squares. The function f(x) as defined in (1) is a non-linear function of the asset weight vector Screen Shot 2023-07-19 at 11.24.38 AM. Thus, the op- ⃗x timization problem falls in the realm of non-linear least squares programming. Many algorithms exist to solve such problems. Within the Fabric analytics engine, we use Sequential Least Squares QP (SLSQP) Algorithm to minimize the objective function subject to the IPS, account, cash, and trading restrictions. 

 SHARE

New call-to-action
New call-to-action
New call-to-action

Access a better way to understand and work with risk, powered by MSCI’s factor model.

Access a better way to understand and work with risk, powered by MSCI’s factor model.

Recommended Articles

14

JUL 19, 2023

Factor Model Details                                        

Read more
5

JUL 19, 2023

Fabric Taxonomy                                      

Read more
2

JUL 19, 2023

Details on Risk Calculations.             

Read more
Group 41@2x

© 2022 Fabric Risk