Fund Rebalancing
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Adjust the weight vector as follows. Let be the target portfolio weight. We have since long and short positions on the same underlying asset should differ in their indices thanks to the strategy-aware definition. Assume that represent the weights of investible assets and the weights of non-investible assets. Let be the target collateral ratio for position . Let for long positions and for short positions (over-collateral). The adjusted weight is given by: Note that the notation for the adjusted weight above is not entirely formally correct. The variable is overloaded to avoid the overuse of symbols and shorten the subsequent expressions.
Populate a list of rebalancing actions and their associated parameters. Let be the current portfolio weight. Let be the current collateral ratio for position . Let for long positions and for short positions (over-collateral). Also, let be the net asset value of the portfolio in the denomination unit.
Calculate the following quantities:
, representing the change in the exposure of asset . , representing the change in the collateral of asset .
Or alternatively and conservatively,
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 :
where 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 . 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 in a descending order i.e. from positive to negative. The higher , the earlier it gets executed.
The group of actions with . 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 in a descending order i.e. from positive to zero. The higher , the earlier it gets executed.
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 for more details.