# 📊Portfolio Optimization

Using knowledge-based and computational techniques, the optimal DeFi management can be separated into 2 parts including the reliable DeFi asset selection and the optimal DeFi asset allocation. The total value locked (TVL) and its changes are considered as the reliability of the DeFi assets that can be mathematically expressed as follows:

Step 1: Filtering DeFi assets based on the reliability score calculated by:

Where:

Note that selected DeFi assets need to be audited by at least 1 outstanding smart contract audit company. And the timeframe to consider the TVL is set to 20 days. In the next step, the expected return and the return’s volatility (risk) of the selected DeFi assets calculated from historical data of rewards, governance token prices, and liquidity provider (LP) token prices are used in the optimal DeFi asset allocation model as:

Step 2: Providing the optimal DeFi asset allocation by:

*Where*:

The Markowitz Portfolio Optimization model mentioned above considers the expected return maximization for different values of volatility so-called "efficient frontier". The optimal solutions at different volatility acceptance levels are shown in Figure 1 (blue line):

Figure 1 Optimal solutions of DeFi portfolio allocation using quadratic programming and Monte Carlo Simulation

In Figure 1, the blue line is the efficient frontier used to select the optimal asset allocation for the DeFi investment at given volatility tolerance levels. Axes X and Y represent the risk level (standard deviation in %) and the expected return of the DeFi asset portfolio in %, respectively.

The efficient frontier solves for a weighted portfolio of assets that maximizes the reward-risk ratio - named the Sharpe Ratio. Given a risk-free reward, one can find a tangent line that stretches from the Y-axis to the efficient frontier that achieves the highest slope (reward per unit risk). In the diagram above, it is the red star on the efficient frontier. Hence, the weights to achieve this portfolio reward-risk tradeoff is our solution to the efficient frontier optimization.

We are currently researching the increasing complexity of the problem. This posits the use of a more advanced, multi-objective function that requires a more advanced numerical method such as the Particle Swarm Optimization.

References:

Last updated