Antimatter Finance
HomeApplicationGithub
  • Disclaimer
    • Notice and Disclaimer
  • 🔗Antimatter B2 Sidechain
    • Introduction - Scaling and Transaction Fees
    • Token Economy of B2
      • Configurations
    • Technical Background
    • Chain Architecture
      • System Contracts
      • On-Chain Governance
      • On-Chain Staking
      • Slashing
      • Blocks & Epochs
      • Reward Distribution
      • Modifications
    • DApps in Antimatter Ecosystem
    • Links
  • Introduction
    • Antimatter Overview
    • Antimatter Labs: Vision & Roadmap 2022
    • Community & Resources
    • Marketing Material
    • Educational Infographics
    • Challenges & Solutions
  • 🏗️Antimatter Structured Product
    • Dual Investment
      • Rules
      • On-chain Configurations
      • Risk Control
      • Terminology & Calculations
    • Recurring Strategy
    • DeFi Option Vault - DOV
      • Mechanism
    • Weekly Sharkfin
      • Mechanism
  • 📈Antimatter Perpetual Options
    • Introduction
      • Options Basics
      • Antimatter Features
      • Comparative analysis
      • Technical Whitepaper
      • Structure
      • Option Token Symbol System
    • Mechanism
      • Price Equilibrium and Arbitrage
      • Generation and Redemption
      • Underlying Asset
      • Leverage Ratio
      • Arbitrage Example
      • Slippage & Fees (full disclosure)
      • Oracles
      • Permission-less protocol
    • Mathematics
      • Modelling Kit
      • Mathematical Model
  • 🛠️Antimatter Dao
    • Introduction
    • Governance Policies
  • 🛒Antimatter Non-fungible Finance
    • Introduction
    • How to Create an Index
  • ℹ️User guides
    • Connect to a Wallet
      • Switch Wallet Network
    • Bull & Bear Tokens
      • How to Create an Option
      • Tools
    • Account System
    • Getting Started - Antimatter Structured
      • Dual Investment Subscription
      • Recurring Strategy Subscription
      • Defi Option Vault Subscription
      • Defi Option Vault Withdrawal
      • Decision Guide for Dual Investment
  • Developers
    • Contracts
    • GitHub
    • Auditing report
  • Token
    • Token Utility
    • Token Information
    • Token Bridge
Powered by GitBook
On this page

Was this helpful?

  1. Antimatter Perpetual Options
  2. Mechanism

Price Equilibrium and Arbitrage

PreviousMechanismNextGeneration and Redemption

Last updated 3 years ago

Was this helpful?

Given a price range [F,C][F,C][F,C] within which the price of the specific cryptocurrency varies, where FFF is the strike price for call and CCC is the strike price for put. Let c∈[F,C]c\in [F,C]c∈[F,C] be the market price of the cryptocurrency on the platform. Thus c−Fc-Fc−F is the intrinsic value of a call token, while C−cC-cC−c is the intrinsic value of a put token. Let x,yx,yx,y be the amount of call and put token respectively, and zzz be the total reserved value. The total reserved value is all the asset collected that are used to generate Antimatter tokens. If call and put tokens increase at the same ratio, the price should not change. We aim to build a model that zzz is a function of xxx and yyy, z=f(x,y)z=f(x,y)z=f(x,y), such that kf(x,y)=f(kx,ky)kf(x,y)=f(kx,ky)kf(x,y)=f(kx,ky) With this equation, we are able to define the price of each token: ∂z∂x,∂z∂y\frac{\partial z}{\partial x}, \frac{\partial z}{\partial y}∂x∂z​,∂y∂z​ When the volumes of both tokens are equal, it is expected that the prices of both tokens are equal(In reality, the price of call tokens might be higher, because it has more upside potential). When the volume of call tokens far exceeds the volume of put tokens, it is expected that the price of put token approaches 000. When the volume of put tokens far exceeds the volume of call tokens, it is expected that the price of put token approaches C−FC-FC−F. The behavior of call token is wilder but in the same way. One note is that the price of both tokens depends on the ratio of volume of both tokens, rather than the difference between them.

For example, we work with ETH and USDT. The price of ETH in terms of USDT varies within the interval [1000,4000][1000,4000][1000,4000]. Here 100010001000 is the strike price of call, and 400040004000 is the strike price of put. If the ratio between call token and put token generated is $6:4$, it is expected that the market price is 350035003500 In this case, the cost to generate a call token is about 600060006000 and the cost to generate a put token is about 240240240. When there is a difference between the market price and market price of ETH, one can buy and sell call or put token in two market to make profit.

The actual model goes as follows. Let z=(C−F)y2x2+y2+e⋅C−FCx2x2+y2z=\frac{(C-F)y^2}{\sqrt{x^2+y^2}}+e\cdot\frac{C-F}{C}\frac{x^2}{\sqrt{x^2+y^2}}z=x2+y2​(C−F)y2​+e⋅CC−F​x2+y2​x2​ where eee is the price of ETH. This expression ensures that ∂z∂x,∂z∂y≥0\frac{\partial z}{\partial x},\frac{\partial z}{\partial y}\geq0∂x∂z​,∂y∂z​≥0. This model works well with prices of tokens because of positive definiteness. Because the lowest possible price of ETH is 000 and the highest price of ETH is infinity, the price of call token will be appreciated to a greater extend, if the price moves in the right direction. The prices of both tokens remain in the interval [0,C−F][0,C-F][0,C−F] for current version.

Starting from z=f(x,y)z=f(x,y)z=f(x,y), such that kf(x,y)=f(kx,ky)kf(x,y)=f(kx,ky)kf(x,y)=f(kx,ky), we have the equivalent following xfx+yfy=fxf_x+yf_y=fxfx​+yfy​=f. Let r=x2+y2,θ=tan⁡−1(yx)∈(0,π2)r=\sqrt{x^2+y^2},\theta=\tan^{-1}(\frac{y}{x})\in (0,\frac{\pi}{2})r=x2+y2​,θ=tan−1(xy​)∈(0,2π​). Also, x=rcos⁡θ,y=rsin⁡θx=r\cos\theta,y=r\sin\thetax=rcosθ,y=rsinθ. We further transform: xfx+yfy=f≡xrfx+yrfy=frxf_x+yf_y=f\equiv\frac{x}{r}f_x+\frac{y}{r}f_y=\frac{f}{r}xfx​+yfy​=f≡rx​fx​+ry​fy​=rf​. By chain rule, we have ∂f∂r=fr\frac{\partial f}{\partial r}=\frac{f}{r}∂r∂f​=rf​ Therefore f=A(θ)rf=A(\theta)rf=A(θ)r for some function AAA(This is true for any function of θ\thetaθ). Now we put these aside and consider the second question. The idea is that because (C−F)f=U+Ee(C-F)f=U+Ee(C−F)f=U+Ee, we may find U,EU,EU,E first and then sum them up because of homogeneity. We need ∂U∂x<0,∂U∂y>0,∂E∂x>0,∂E∂y<0\frac{\partial U}{\partial x}<0,\frac{\partial U}{\partial y}>0,\frac{\partial E}{\partial x}>0,\frac{\partial E}{\partial y}<0∂x∂U​<0,∂y∂U​>0,∂x∂E​>0,∂y∂E​<0. It worth checking that U=y⋅(yx2+y2)i,E=x⋅(xx2+y2)iU=y\cdot(\frac{y}{\sqrt{x^2+y^2}})^i,E=x\cdot(\frac{x}{\sqrt{x^2+y^2}})^iU=y⋅(x2+y2​y​)i,E=x⋅(x2+y2​x​)i satisfy the above inequalities. By homogeneity conditions, it turns out summing through index iii does no harm anything (although it turns out that the summation is redundant). We relate UUU and EEE with θ\thetaθ by sin⁡θ=yx2+y2,cos⁡θxx2+y2\sin\theta=\frac{y}{\sqrt{x^2+y^2}},\cos\theta\frac{x}{\sqrt{x^2+y^2}}sinθ=x2+y2​y​,cosθx2+y2​x​. Then by choice of AAA, we can obtain that z=f(x,y)=x⋅e⋅∑i=1∞ei(xx2+y2)i+y⋅∑i=1∞ui(yx2+y2)iz=f(x,y)=x\cdot e\cdot\sum_{i=1}^\infty e_i(\frac{x}{\sqrt{x^2+y^2}})^i+y\cdot\sum_{i=1}^\infty u_i(\frac{y}{\sqrt{x^2+y^2}})^iz=f(x,y)=x⋅e⋅∑i=1∞​ei​(x2+y2​x​)i+y⋅∑i=1∞​ui​(x2+y2​y​)i Next, we consider why III must be equal to 111. For simplicity, we let those constants be 111 Suppose I=2I=2I=2, then E=x3x2+y2,Ex=x2(x2+3y3)(x2+y2)2E=\frac{x^3}{x^2+y^2},E_x=\frac{x^2(x^2+3y^3)}{(x^2+y^2)^2}E=x2+y2x3​,Ex​=(x2+y2)2x2(x2+3y3)​. Similarly, Ux=−2y3x(x2+y2)2U_x=\frac{-2y^3x}{(x^2+y^2)^2}Ux​=(x2+y2)2−2y3x​. If we consider zx=Ux+eEx=ex4+y2x(3ex−2y)(x2+y2)2z_x=U_x+eE_x=\frac{ex^4+y^2x(3ex-2y)}{(x^2+y^2)^2}zx​=Ux​+eEx​=(x2+y2)2ex4+y2x(3ex−2y)​ and zy=Uy+eUy=y4+3x2y2−2ex3y(x2+y2)2z_y=U_y+eU_y=\frac{y^4+3x^2y^2-2ex^3y}{(x^2+y^2)^2}zy​=Uy​+eUy​=(x2+y2)2y4+3x2y2−2ex3y​ That their numerators are different means that we need more relations on xxx and yyy, which is implausible since xxx and yyy are the token volume. Thus k=1k=1k=1. The final thing is to take some constants that have good numerical performance and it is E=C−FC⋅x2x2+y2,U=(C−F)⋅y2x2+y2E=\frac{C-F}{C}\cdot\frac{x^2}{\sqrt{x^2+y^2}},U=(C-F)\cdot\frac{y^2}{\sqrt{x^2+y^2}}E=CC−F​⋅x2+y2​x2​,U=(C−F)⋅x2+y2​y2​. zzz follows directly.

📈