Professional Documents
Culture Documents
Quanto Perp Pricing
Quanto Perp Pricing
Abstract
This paper discusses several stochastic approaches to pricing the Eth-Perp , a quanto
perpetual derivative been trading in BITMEX. First we condiser GBM assumptions to the
price of ETH and BTC, and we derive a BSDE model and a Non-linear Black Scholes model.
Second, we expand stochastics volatility models and we derive numerical pricing solutions
and hedging portfolio of BSDE and non-linear Black Scholes model. Through this model
we found relations of coefficients and option price and we get XXX results in backtesting,
and xxx results in real trading.
목차
1 Introduction 1
1.1 Funding Rate Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Empirical Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
E
Markt−1,k = St−1,k E
(1+Funding Basist−1,k ) ∴ Markt−1,480 = St−1,k
Impact Bidt−1,k = The average fill price to execute a market sell order of size 0.01 BTC
Impact Askt−1,k = The average fill price to execute a market buy order of size 0.01 BTC
Q
Vt−1,k
P̂t−1,k = E
−1
St−1,k
480
ˆ = 1
X
P I8H P̂t−1,k
480
k=1
2
Quanto Perpectual Pricing
ˆ t)
F̂t = f (P I8H
We construct a self-financing portfolio πt that is long one VtU , and short ∆B number of
StBand ∆E number of StE .
3
Since πt is self-financing,
By Itô’s formula,
∂VtU 2 ∂ 2 VtU ∂2V U 2 ∂ 2 VtU ∂VtU
dVtU = ( ∂t + 21 σB 2 StB ∂StB 2
+ σB σE ρStB StE ∂S B ∂S
t 1 2 E
E + 2 σE St ∂StE 2
)dt + ∂StB
dStB +
t t
∂VtU
∂StE
dStE
∂VtU ∂VtU
By setting ∆B = ∂StB
and ∆E = ∂StE
, we get
Since the instantaneous return of πt is riskless, the growth rate should the risk-free rate
r.
dπt = rπt dt
∂VtU 2 ∂ 2 VtU ∂2V U 2 ∂ 2 VtU
After some calculations, ∂t + 21 σB 2 StB ∂StB 2
+ σB σE ρStB StE ∂S B ∂S
t 1 2 E
E + 2 σE St ∂StE 2
−
t t
∂VtU ∂VtU
k10−6 Ft StB StE + rStB ∂StB
+ rStE ∂StE
− rVtU = 0
∂V 1 2 2 ∂ 2 V ∂2V 1 2 2 ∂2V ∂V ∂V
+ σB x +σ B σ E ρxy + σE y +rx +ry −k ·10−6 xyFt −rV = 0.
∂t 2 ∂x2 ∂x∂y 2 ∂y 2 ∂x ∂y
(1)
(t, x, y) ∈ (0, ∞)3
limx→∞ V (t, x, y) = ∞
limy→∞ V (t, x, y) = ∞
6
The boundary values is, V (t, 0, y) = 0 Recall that Pt = 10xyV − 1 and
V (t, x, 0) = 0
No conditions given for t
Pt − 0.05%
if Pt > 0.06%
Ft = f (Pt ) = 0.01% if − 0.04% ≤ Pt ≤ 0.06%
Pt + 0.05% if Pt < −0.04%
4
Quanto Perpectual Pricing
We can find solution that is seperated by variables let V = f (t)eαx2 +βy2 Then f satisfies
the following ode
ft = (α2 + β 2 + aα + bβ)f + K(f )
c1 f + c2
if f > r1
Where K(f ) is the function such that k(f ) = c2 if − r2 < f < r1
c1 f + c2
Since k is lipschitz, the ode has global well posed solution and we can compute solution
directly numerically.
5
Data Description
1047 rows dataframe, by using python3 ccxt fetchticker(”ETH/USD”). 30s time interval.
columns : impact bid price, impact ask price, impact mid price, current price
impact ask−impact bid
spread := impact mid
dYt = −f dt + ZdB
Hedging portfolio of Vut
Vtu = h0t Gt + hE E B B
t St + ht St
dVtU = h0t rGt dt + hE E B B
t dSt + ht St + (f unding)dt
= h0t rGt dt + hE E E 1 E 2 B B 2
t St (µ1 dt + σ1 dBt + σ2 dBt ) + (f unding)dt + ht St (µ2 dt + +dBt )
= [rVt + (µ1 − r)ht ð + (µ2 − r)t St + (f unding)]dt + (σ1 ht ð + ht St )dBt + (σ2 hE
u E B B E E E B 1 E
t ð+
B B
ht St )dBt2
Define
Zt1 = σ1E hE E B B
t St + ht St
Zt2 = σ2E hEt ð + hB B
t St
6
Quanto Perpectual Pricing
dVut = (rVtu ) + (µ1 − r)(β11 Zt1 + β12 Zt2 ) + (µ2 − r)(β21 Zt1 + β22 Zt2 ) + (f unding))dt +
Zt dBt1
1 + Zt2 dBt2
We use funding rate formula written in the BITMEX. However We assume continous
funding so we use PI8H(the 8h average of PI) instead of PI.
Set
Y (i) = Y (i + 1) + f h
7
The following plots are the results of the scheme.
8
Quanto Perpectual Pricing
9
10
Quanto Perpectual Pricing
11