Fund Rebalancing
Mechanism

Following our principle, fund managers are allowed to manage funds using a set of restricted actions to prevent malicious actions. Rebalancing portfolios is one of the possible actions. The fund manager rebalances the portfolio by submitting a rebalancing request to the protocol. The request contains only the quantity of strategy-aware assets to buy and sell, including its corresponding collateral adjustment actions. After the fund manager has confirmed the rebalancing request, the smart contract begins the following process:
Verify basic qualifications, including but not limited to:
Authentication and authorization
Strategic actions e.g. to enter or exit strategy-aware assets
Collateral adjustment actions, if applicable
Populate a list of executable actions from the strategic actions.
Execute the sequence of actions according to the sorted list. This should increase and decrease the exposure of each asset component to meet the target portfolio weight. If applicable, the collateral will also be simultaneously adjusted to meet the target level.
Note that the rebalancing operation is neither scheduled nor triggered by an on-chain event, but only responds to off-chain requests. The off-chain process, however, can be manual requests, schedulers, conditions, or trading robots and should be left to the decision of the fund manager. See Action Sequencing Guideline for more details.
Action Sequencing Guideline
The action sequencing guideline is a mere suggestion - not intended to be mandatory. Fund managers may reserve the rights to follow their own strategies.
Adjust the weight vector as follows. Let w=[w1,w2,...,wk,wk+1,...,wn] be the target portfolio weight. We have wi>0 since long and short positions on the same underlying asset should differ in their indices thanks to the strategy-aware definition. Assume that w1,w2,...,wk represent the weights of investible assets and wk,...,wn the weights of non-investible assets. Let κi be the target collateral ratio for position i. Let κi=1 for long positions and κi>1 for short positions (over-collateral). The adjusted weight is given by: w=∑i=1kκiwi1[w1,w2,...,wk,0,...,0] Note that the notation for the adjusted weight above is not entirely formally correct. The variable w is overloaded to avoid the overuse of symbols and shorten the subsequent expressions.
Populate a list of rebalancing actions and their associated parameters. Let w′=[w1′,w2′,...,wk′,wk+1′,...,wn′] be the current portfolio weight. Let κi′ be the current collateral ratio for position i. Let κi′=1 for long positions and κi′>1 for short positions (over-collateral). Also, let nav be the net asset value of the portfolio in the denomination unit.
Calculate the following quantities:
δiexposure=nav⋅(wi−wi′), representing the change in the exposure of asset i. δicollateral=nav⋅(κiwi−κi′wi′), representing the change in the collateral of asset i.
Δi={δiexposureδicollateral−δiexposurefor long positionsfor short positions
Or alternatively and conservatively,
Δi={δiexposureδicollateral−min{δiexposure,0}for long positionsfor short positions
Then, to avoid friction cost due to marginal adjustment, add the strategy action to the list only if any of the following conditions hold for asset i:
∣δiexposure∣>ϵexposure
∣δicollateral∣>ϵcollateral
∣Δi∣>ϵ
where ϵexposure,ϵcollateral,ϵ>0 are tolerance thresholds for each quantity.
Sort the actions in the list as follows. Unless otherwise stated, the order within the same group does not matter.
The group of exit actions for long positions. These actions liquidate assets into the denomination asset to be used to in the subsequent actions. It is, therefore, essential to get executed first.
The group of actions with Δi<0. If no additional constraints, e.g. locked-up periods, are applied, these actions add to the portfolio the nomination asset, e.g. cash, to be used in the subsequent actions. These actions include but not limit to short selling assets or reducing collateral. It is, therefore, essential to get executed second.
Among these actions, they are sorted by their change in exposure δiexposure in a descending order i.e. from positive to negative. The higher δiexposure, the earlier it gets executed.
The group of actions with Δi≥0. These actions convert the nomination asset into strategy-aware assets and their collateral if applicable. These actions include but not limit to buying assets or increasing collateral. It is, therefore, essential to get executed last.
Among these actions, they are sorted by their absolute change in exposure ∣δiexposure∣ in a descending order i.e. from positive to zero. The higher ∣δiexposure∣, the earlier it gets executed.
Last updated
Was this helpful?