Dolphin.fm
  • 🐬Overview
    • Introduction
    • Background
    • The Vision
    • Roadmap
    • Core Components
  • 🌊Product Manual
    • Stage 1: Knowledge Discovery Trading Engine
    • Onboarding Wizard
    • Knowledge Discovery Trading Engine(KDTE)
    • One-Click Trading
    • One-Click Investment
      • Dual Investment with Downside Protection
      • Single Asset Yield Farming with Impermanent Loss Protection
    • Stage 2: Agent Engine and Ecosystem
  • 💡Technology
    • System Architecture
      • Online Service
      • Knowledge Service
      • AI Infrastructure
      • AI Agent Infrastructure
    • Large-Language-Model Specialized in Investing
      • Domain Knowledge
      • Tabular Understanding
    • Quantitative and Machine Learning Models
      • Main Strategy for Hedging Impermanent Loss
      • Time Selection and Loss & Rebalance Strategy
      • Volatility Predictions
  • 💎TOKENOMICS
    • Introduction to $DOLFM
    • $DOLFM Token Utilities
    • Quantitative Token Self-regulating Mechanism
      • Buyback & Burn Mechanism
      • Revenue-based Minting Algorithm
      • veToken Model
Powered by GitBook
On this page
  • Mathematical Foundation: Carr-Madan Formula
  • Impermanent Loss Hedging using Carr-Madan Formula
  • Volatility Estimation
  1. Technology
  2. Quantitative and Machine Learning Models

Main Strategy for Hedging Impermanent Loss

PreviousQuantitative and Machine Learning ModelsNextTime Selection and Loss & Rebalance Strategy

Last updated 10 months ago

Mathematical Foundation: Carr-Madan Formula

For any return structure f(ξT) with respect to ξT that expires at time T, it can be realized by constructing a European Option portfolio with ξT as the target and expiration date T, under the condition of f(ξT) is second-order derivable, which is essentially a static investment strategy:

Among them, i0 is a constant determined by the system when constructing the investment portfolio (current period). The portfolio here includes

By decomposing the IL, we can see that the automated spot market maker is equivalent to "free", providing the market with a set of call options and put option combinations with different strike prices (that is, the source of IL is the same as using Limit orders traded on centralized exchanges).

Assuming ξ0=1

We get the curve of f, f’ and f’’:

Impermanent Loss Hedging using Carr-Madan Formula

From the graph:

  • The orange line is the impermanent loss ratio with respect to the price of the underlying asset.

  • The blue line is the payoffs of a portfolio of put and call options, and the number of options is calculated by the Carr-Madan Formula.

  • The payoff of the options closely matches the impermanent loss graph.

The option premiums are evaluated in three different scenarios: full hedging, hedging upward IL only, and hedging downward IL only:

The cost of full hedging IL is only 0.2%, or the cost to hedge 10000 USDT staked is 20 USDT.

The cost of hedging downward IL is only 0.12%, or the cost to hedge 10000 USDT staked is 12 USDT.

Volatility Estimation

Calculating the annualized average volatility σ of a certain interval using the following method:

We chose to use the volatility when the option is purchased to manage the risk of the entire portfolio and backtested with different interval lengths in the past, such as the volatility of one hour, one day, one week, half a year, and one year, to form a prediction of the volatility of different interval lengths in the future.

which is the interest rate,

Quantity of , the underlying asset,

Quantity of European options, where i < i0 as put option; i > i0 as call option

For hedging IL, we need to create the option portfolio to generate the following income: exactly the opposite of IL.

Where as the short-term logarithmic return rate of the underlying St

💡