Markets: A Rigorous Course

Reference

Formula sheet

The results the course derives, grouped by topic, each with the place it is proved.

Microstructure & execution

  1. Call-auction executable volume M01· M01 (1.2)
    V(p)=min⁡{D(p),S(p)}V(p) = \min\{D(p), S(p)\}
  2. Round-trip transaction cost (Indian charges) M01· M01 (1.3)
    C=2F(1+g)⏟K+(σb+δ+(e+ϕ)(1+g))⏟α B+(σs+(e+ϕ)(1+g))⏟β SC = \underbrace{2F(1+g)}_{K} + \underbrace{\big(\sigma_b + \delta + (e+\phi)(1+g)\big)}_{\alpha}\,B + \underbrace{\big(\sigma_s + (e+\phi)(1+g)\big)}_{\beta}\,S
  3. Break-even price move after costs M01· M01 (1.4)
    Δ∗=K/Q+(α+β)P1−β,Δ∗P=α+β1−β+K(1−β) PQ\Delta^* = \frac{K/Q + (\alpha + \beta) P}{1 - \beta}, \qquad \frac{\Delta^*}{P} = \frac{\alpha+\beta}{1-\beta} + \frac{K}{(1-\beta)\,PQ}
  4. Effective spread = realised spread + price impact M05· M05 (5.1)
    qt(pt−mt)⏟effective half-spread=qt(pt−mt+Δ)⏟realised half-spread+qt(mt+Δ−mt)⏟price impact\underbrace{q_t(p_t - m_t)}_{\text{effective half-spread}} = \underbrace{q_t(p_t - m_{t+\Delta})}_{\text{realised half-spread}} + \underbrace{q_t(m_{t+\Delta} - m_t)}_{\text{price impact}}
  5. Roll spread estimator M05· M05 (5.4)
    s^=2−γ^1,γ^1=sample first-order autocovariance of Δp\hat s = 2\sqrt{-\hat\gamma_1}, \qquad \hat\gamma_1 = \text{sample first-order autocovariance of } \Delta p
  6. Glosten–Milgrom quotes and spread M05· M05 (5.6)
    a=Vˉ+μ2ΔV,b=Vˉ−μ2ΔV,a−b=μ ΔVa = \bar V + \tfrac{\mu}{2}\Delta V, \qquad b = \bar V - \tfrac{\mu}{2}\Delta V, \qquad a - b = \mu\,\Delta V
  7. Kyle equilibrium: price impact λ and insider intensity β M05· M05 (5.7)
    λ=σv2σu,β=σuσv,μ=p0,α=−βp0\lambda = \frac{\sigma_v}{2\sigma_u}, \qquad \beta = \frac{\sigma_u}{\sigma_v}, \qquad \mu = p_0, \qquad \alpha = -\beta p_0
  8. Square-root market impact law M05· M05 (5.13)
    I(Q)P≈Y σD (QVD)δ,δ≈12,Y=O(1)\frac{I(Q)}{P} \approx Y\,\sigma_D\,\Big(\frac{Q}{V_D}\Big)^{\delta}, \qquad \delta \approx \tfrac12, \quad Y = O(1)
  9. Implementation shortfall decomposition M05· M05 (5.15)
    IS=Qe(p0−pd)⏟delay+Qe(pˉ−p0)⏟execution+(Q−Qe)(pT−pd)⏟opportunity+fees\text{IS} = \underbrace{Q_e(p_0 - p_d)}_{\text{delay}} + \underbrace{Q_e(\bar p - p_0)}_{\text{execution}} + \underbrace{(Q - Q_e)(p_T - p_d)}_{\text{opportunity}} + \text{fees}
  10. Almgren–Chriss expected implementation shortfall M05· M05 (5.20)
    E[IS]=12γX2+ε∑k∣nk∣+η~τ∑knk2,η~=η−12γτE[\text{IS}] = \tfrac12\gamma X^2 + \varepsilon\sum_k|n_k| + \frac{\tilde\eta}{\tau}\sum_k n_k^2, \qquad \tilde\eta = \eta - \tfrac12\gamma\tau
  11. Almgren–Chriss optimal holdings trajectory M05· M05 (5.23)
    x(t)=X sinh⁡(κ(T−t))sinh⁡(κT),κ=λσ2/ηx(t) = X\,\frac{\sinh\big(\kappa(T - t)\big)}{\sinh(\kappa T)}, \qquad \kappa = \sqrt{\lambda\sigma^2/\eta}
  12. Annual Sharpe ratio after per-trade costs M05· M05 (5.25)
    μA=N(e−c),σA=N σt,SRA=N e−cσt=SRAgross−N cσt\mu_A = N(e - c), \qquad \sigma_A = \sqrt N\,\sigma_t, \qquad \text{SR}_A = \sqrt N\,\frac{e - c}{\sigma_t} = \text{SR}_A^{\text{gross}} - \sqrt N\,\frac{c}{\sigma_t}
  13. Net asset value per unit, with daily fee accrual M06B· M06B (6B.1)–(6B.2)
    NAVt=At−LtNt,Et=c365 NAtpre\text{NAV}_t = \frac{A_t - L_t}{N_t}, \qquad E_t = \frac{c}{365}\,NA_t^{\text{pre}}
  14. Wealth transfer from dealing at a stale NAV M06B· M06B (6B.3)–(6B.4)
    Tbuy=S ε1+f,f=SNvs;Tred=−R εT_{\text{buy}} = \frac{S\,\varepsilon}{1 + f}, \quad f = \frac{S}{Nv_s}; \qquad T_{\text{red}} = -R\,\varepsilon
  15. Swing price (s = trading cost leaves stayers whole) M06B· M06B (6B.5)
    psw=NAV (1∓s)p^{\text{sw}} = \text{NAV}\,(1 \mp s)
  16. ETF no-arbitrage premium band M06B· M06B (6B.26)
    I (1−Cr)≤P≤I (1+Cc),Cc=κb+φc+h+s/2,  Cr=κs+φr+h+s/2I\,(1 - C_r) \le P \le I\,(1 + C_c), \quad C_c = \kappa_b + \varphi_c + h + s/2, \; C_r = \kappa_s + \varphi_r + h + s/2
  17. ETF versus index fund crossover horizon M06B· M06B (6B.27)
    T∗=ln⁡[(1−kI)/(1−kE)]ln⁡[(1+r−cE)/(1+r−cI)]≈kE−kIcI−cET^* = \frac{\ln[(1 - k_I)/(1 - k_E)]}{\ln[(1 + r - c_E)/(1 + r - c_I)]} \approx \frac{k_E - k_I}{c_I - c_E}

Returns & statistics

  1. Free-float index return as weighted constituent return M01· M01 (1.7)
    ItIt−1−1=∑iwi,t−1 Ri,t,wi,t−1=Pi,t−1NifiMt−1,Ri,t=Pi,tPi,t−1−1\frac{I_t}{I_{t-1}} - 1 = \sum_i w_{i,t-1}\, R_{i,t}, \qquad w_{i,t-1} = \frac{P_{i,t-1}N_i f_i}{M_{t-1}}, \quad R_{i,t} = \frac{P_{i,t}}{P_{i,t-1}} - 1
  2. Index divisor adjustment M01· M01 (1.8)
    Dt′=Dt⋅Mt′MtD_t' = D_t \cdot \frac{M_t'}{M_t}
  3. Total return index M01· M01 (1.9)
    TRIt=TRIt−1⋅It+IDtIt−1\text{TRI}_t = \text{TRI}_{t-1}\cdot \frac{I_t + \text{ID}_t}{I_{t-1}}
  4. Dividend price-adjustment factor M01· M01 (1.12)
    Fdiv=Pc−dPc=1−dPcF_{\text{div}} = \frac{P_c - d}{P_c} = 1 - \frac{d}{P_c}
  5. Simple and log returns M02· M02 (2.1)
    Rt=Pt+DtPt−1−1(simple, or arithmetic, return),rt=ln⁡(1+Rt)(log, or continuously compounded, return).R_t = \frac{P_t + D_t}{P_{t-1}} - 1 \quad\text{(simple, or arithmetic, return)}, \qquad r_t = \ln(1 + R_t) \quad\text{(log, or continuously compounded, return).}
  6. Volatility drag M02· M02 (2.3)
    E[ln⁡(1+R)]=ln⁡(1+μ)−σ22(1+μ)2+O ⁣(E∣R−μ∣3)≈μ−σ22E[\ln(1+R)] = \ln(1+\mu) - \frac{\sigma^2}{2(1+\mu)^2} + O\!\left(E|R-\mu|^3\right) \approx \mu - \frac{\sigma^2}{2}
  7. GBM: lognormal terminal price, mean and median M02· M02 (2.4)
    ln⁡STS0∼N ⁣((μ−12σ2)T, σ2T),E[ST]=S0eμT,median⁡(ST)=S0e(μ−σ2/2)T\ln\frac{S_T}{S_0} \sim N\!\left((\mu - \tfrac12\sigma^2)T,\ \sigma^2 T\right), \quad E[S_T] = S_0 e^{\mu T}, \quad \operatorname{median}(S_T) = S_0 e^{(\mu - \sigma^2/2)T}
  8. Variance ratio M02· M02 (2.7)
    VR(q)=Var⁡(rt(q))qVar⁡(rt)=1+2∑j=1q−1(1−jq)ρjVR(q) = \frac{\operatorname{Var}(r_t(q))}{q \operatorname{Var}(r_t)} = 1 + 2\sum_{j=1}^{q-1}\Big(1 - \frac{j}{q}\Big)\rho_j
  9. Estimating the mean: standard error and t-stat M02· M02 (2.13)
    μ^=ln⁡PT−ln⁡P0T,sd⁡(μ^)=σT,t-stat=μ^σ/T≈ST\hat\mu = \frac{\ln P_T - \ln P_0}{T}, \qquad \operatorname{sd}(\hat\mu) = \frac{\sigma}{\sqrt{T}}, \qquad t\text{-stat} = \frac{\hat\mu}{\sigma/\sqrt{T}} \approx S\sqrt{T}
  10. Jarque–Bera normality test M02· M02 · 2.4
    JB=n(S^26+K^224)⇒χ22JB = n\left(\frac{\hat S^2}{6} + \frac{\hat K^2}{24}\right) \Rightarrow \chi^2_2
  11. Hill tail-index estimator M02· M02 (2.16)
    α^k=[1k∑i=1kln⁡X(i)−ln⁡X(k+1)]−1\hat\alpha_k = \Big[\frac1k\sum_{i=1}^{k}\ln X_{(i)} - \ln X_{(k+1)}\Big]^{-1}
  12. Gap-fill probability M04A· M04A (4A.4)
    P(fill)=2Φ ⁣(−∣g∣σin)P(\text{fill})=2\Phi\!\left(-\frac{|g|}{\sigma_{in}}\right)
  13. SIP average cost is the harmonic mean of prices M06B· M06B (6B.14)–(6B.15)
    cˉ=n∑i1/pi≤1n∑ipi,H≈A (1−σδ2)\bar c = \frac{n}{\sum_i 1/p_i} \le \frac1n\sum_i p_i, \qquad H \approx A\,(1 - \sigma_\delta^2)

Portfolio & risk

  1. Normal VaR and expected shortfall M02· M02 · 2.8
    VaRc=−μ+σΦ−1(c),ESc=−μ+σ ϕ(Φ−1(c))/(1−c)\text{VaR}_c = -\mu + \sigma\Phi^{-1}(c), \qquad \text{ES}_c = -\mu + \sigma\,\phi(\Phi^{-1}(c))/(1-c)
  2. Equal-weight portfolio variance and the diversification floor M02· M02 (2.17)
    σp2=σ2n(1+(n−1)ρ)=σ2(ρ+1−ρn)→n→∞ρ σ2\sigma_p^2 = \frac{\sigma^2}{n}\big(1 + (n-1)\rho\big) = \sigma^2\Big(\rho + \frac{1-\rho}{n}\Big) \xrightarrow[n\to\infty]{} \rho\,\sigma^2
  3. Betting-against-beta return M06A· M06A (6A.25)
    rBAB=rL−rfβL−rH−rfβHr^{BAB} = \frac{r_L - r_f}{\beta_L} - \frac{r_H - r_f}{\beta_H}
  4. Fee drag: terminal wealth ratio and bounds M06B· M06B (6B.7)–(6B.8)
    ρT=(1+r−c11+r−c2)T,e−TΔc/(1+r−c1)≤ρT≤e−TΔc/(1+r−c2)\rho_T = \left(\frac{1 + r - c_1}{1 + r - c_2}\right)^{T}, \quad e^{-T\Delta c/(1 + r - c_1)} \le \rho_T \le e^{-T\Delta c/(1 + r - c_2)}
  5. Active share M06B· M06B (6B.20)
    AS=12∑i∣wp,i−wb,i∣AS = \tfrac12\sum_i |w_{p,i} - w_{b,i}|
  6. Berk–Green equilibrium fund size and flow M06B· M06B (6B.22)–(6B.23)
    qt∗=ϕt−fb,qt+1∗−qt∗=κtb ηt+1q_t^* = \frac{\phi_t - f}{b}, \qquad q^*_{t+1} - q^*_t = \frac{\kappa_t}{b}\,\eta_{t+1}
  7. Decomposition of an index fund's tracking difference M06B· M06B (6B.25)
    TD≈c+wc (RI−rc)+κ−ℓ+δ−∑idiRiTD \approx c + w_c\,(R_I - r_c) + \kappa - \ell + \delta - \textstyle\sum_i d_iR_i
  8. Dilution of stayers in a fund run, and the run threshold M06B· M06B (6B.30)–(6B.31)
    D(ρ)=ρ k(1−k)(1−ρ),ρ∗=b (1−k)k+b (1−k)D(\rho) = \frac{\rho\,k}{(1 - k)(1 - \rho)}, \qquad \rho^* = \frac{b\,(1 - k)}{k + b\,(1 - k)}
  9. Portfolio overlap M06B· M06B (6B.32)
    O(A,B)=∑imin⁡(wiA,wiB)=1−12∑i∣wiA−wiB∣O(A, B) = \sum_i \min(w^A_i, w^B_i) = 1 - \tfrac12\sum_i |w^A_i - w^B_i|
  10. Active expense ratio M06B· M06B (6B.33)
    cA=c−(1−AS) cIASc_A = \frac{c - (1 - AS)\,c_I}{AS}
  11. Global minimum-variance portfolio M14· M14 (14.1)
    wGMV=Σ−11A,σGMV2=1A,μGMV=BAw_{GMV} = \frac{\Sigma^{-1}\mathbf 1}{A}, \qquad \sigma^2_{GMV} = \frac1A, \qquad \mu_{GMV} = \frac BA
  12. Mean–variance frontier portfolio M14· M14 (14.2)
    w(m)=(C−Bm) Σ−11+(Am−B) Σ−1μD,σ2(m)=Am2−2Bm+CDw(m) = \frac{(C - Bm)\,\Sigma^{-1}\mathbf 1 + (Am - B)\,\Sigma^{-1}\mu}{D}, \qquad \sigma^2(m) = \frac{Am^2 - 2Bm + C}{D}
  13. Tangency (maximum-Sharpe) portfolio M14· M14 (14.3)
    wT=Σ−1(μ−rf1)1⊤Σ−1(μ−rf1)=Σ−1(μ−rf1)B−Arfw_T = \frac{\Sigma^{-1}(\mu - r_f\mathbf 1)}{\mathbf 1^\top\Sigma^{-1}(\mu - r_f\mathbf 1)} = \frac{\Sigma^{-1}(\mu - r_f\mathbf 1)}{B - Ar_f}
  14. Maximum Sharpe ratio M14· M14 · 14.1
    ST2=e⊤Σ−1e=C−2Brf+Arf2S_T^2 = e^\top\Sigma^{-1}e = C - 2Br_f + Ar_f^2
  15. Optimal covariance shrinkage intensity M14· M14 (14.4)
    δ∗=E∥S−Σ∥F2E∥S−Σ∥F2+∥Σ−F∥F2\delta^* = \frac{\mathbb E\|S - \Sigma\|_F^2}{\mathbb E\|S - \Sigma\|_F^2 + \|\Sigma - F\|_F^2}
  16. Euler risk contributions M14· M14 (14.6)
    σ(w)=∑i=1nwi∂σ∂wi=∑i=1nRCi,RCi:=wi(Σw)iσ(w)\sigma(w) = \sum_{i=1}^n w_i\frac{\partial\sigma}{\partial w_i} = \sum_{i=1}^{n} RC_i, \qquad RC_i := \frac{w_i(\Sigma w)_i}{\sigma(w)}
  17. Sharpe ratio of a volatility-targeted strategy M14· M14 · 14.5
    SVT=μ E[1/σt]1+μ2Var⁡(1/σt)S_{VT} = \frac{\mu\,\mathbb E[1/\sigma_t]}{\sqrt{1 + \mu^2\operatorname{Var}(1/\sigma_t)}}
  18. Maximum Sharpe of two combined strategies M14· M14 (14.7)
    S∗=S12+S22−2ρS1S21−ρ2S^* = \sqrt{\frac{S_1^2 + S_2^2 - 2\rho S_1S_2}{1 - \rho^2}}
  19. Sharpe of N equally combined strategies M14· M14 · 14.7
    SN/(1+(N−1)ρˉ)S\sqrt{N/(1 + (N-1)\bar\rho)}
  20. Prospect-theory value function M14· M14 · 14.9.1
    v(x)={xα,x≥0,−λ(−x)β,x<0,v(x) = \begin{cases} x^\alpha, & x \ge 0,\\ -\lambda(-x)^\beta, & x < 0,\end{cases}
  21. Disposition effect: PGR and PLR M14· M14 · 14.9.2
    PGR=realised gainsrealised gains+paper gains,PLR=realised lossesrealised losses+paper losses\text{PGR} = \frac{\text{realised gains}}{\text{realised gains} + \text{paper gains}}, \qquad \text{PLR} = \frac{\text{realised losses}}{\text{realised losses} + \text{paper losses}}
  22. VaR and expected shortfall (quantile definition) M14· M14 (14.10)
    VaR⁡α(L)=qα,ES⁡α(L)=11−α∫α1qu du\operatorname{VaR}_\alpha(L) = q_\alpha, \qquad \operatorname{ES}_\alpha(L) = \frac{1}{1-\alpha}\int_\alpha^1 q_u\,du
  23. Delta–gamma–vega scenario P&L (return form) M14· M14 (14.14)
    ΔV≈Θ Δt+∑iDi ri+12∑iGi ri2+∑kVk Δσk,Di=SiΔi,Gi=Si2Γii\Delta V \approx \Theta\,\Delta t + \sum_i D_i\,r_i + \tfrac12\sum_{i} G_i\,r_i^2 + \sum_k \mathcal V_k\,\Delta\sigma_k, \qquad D_i = S_i\Delta_i,\quad G_i = S_i^2\Gamma_{ii}
  24. Implied stock borrow fee from futures M14· M14 (14.17)
    bimp=r−q−1Tln⁡FSb_{\text{imp}} = r - q - \frac{1}{T}\ln\frac FS
  25. Constant (rebalanced) leverage: log-equity and volatility decay M14· M14 (14.19)
    ln⁡ETE0=λln⁡PTP0−12λ(λ−1)σ2T−(λ−1)cT\ln\frac{E_T}{E_0} = \lambda\ln\frac{P_T}{P_0} - \tfrac12\lambda(\lambda - 1)\sigma^2T - (\lambda - 1)cT
  26. Price fall that triggers a margin call M14· M14 (14.21)
    d∗=1−(1−e0)(1+ct)1−m,d∗=e0−m1−m  when c=0d^* = 1 - \frac{(1 - e_0)(1 + ct)}{1 - m}, \qquad d^* = \frac{e_0 - m}{1 - m}\ \text{ when } c = 0
  27. Probability of a margin call before T (first passage) M14· M14 (14.23)
    P(τb≤T)=Φ(b−νTσT)+e2νb/σ2 Φ(b+νTσT)P(\tau_b \le T) = \Phi\Big(\frac{b - \nu T}{\sigma\sqrt T}\Big) + e^{2\nu b/\sigma^2}\,\Phi\Big(\frac{b + \nu T}{\sigma\sqrt T}\Big)

Betting & sizing

  1. Expectancy per trade (in R) M03· M03 (3.1)
    E=1N∑i=1NRi=p Wˉ−(1−p) LˉE = \frac1N\sum_{i=1}^{N} R_i = p\,\bar W - (1-p)\,\bar L
  2. Kelly fraction, binary bet M03· M03 (3.5)
    f∗=p−qb=pb−qbf^* = p - \frac{q}{b} = \frac{pb - q}{b}
  3. Fractional Kelly: share of full-Kelly growth M03· M03 (3.7)
    g(cf∗)g(f∗)≈2c−c2\frac{g(cf^*)}{g(f^*)} \approx 2c - c^2
  4. Continuous-time Kelly fraction and growth M03· M03 (3.10)
    f∗=μ−rσ2,g(f∗)=r+12S2f^* = \frac{\mu - r}{\sigma^2}, \qquad g(f^*) = r + \tfrac12 S^2
  5. Probability of ever falling to x·W0 at c× Kelly M03· M03 (3.12)
    P(Wt≤xW0 for some t)=x2/c−1P\big(W_t \le xW_0 \text{ for some } t\big) = x^{2/c - 1}
  6. Optimal Kelly shrinkage under estimation error M03· M03 (3.14)
    k∗=μ2μ2+se2=t21+t2k^* = \frac{\mu^2}{\mu^2 + \text{se}^2} = \frac{t^2}{1 + t^2}
  7. Multi-asset Kelly M03· M03 (3.15)
    g(f)=r+f⊤(μ−r1)−12f⊤Σf,f∗=Σ−1(μ−r1),g(f∗)=r+12(μ−r1)⊤Σ−1(μ−r1)g(f) = r + f^\top(\mu - r\mathbf 1) - \tfrac12 f^\top\Sigma f, \qquad f^* = \Sigma^{-1}(\mu - r\mathbf 1), \qquad g(f^*) = r + \tfrac12(\mu - r\mathbf 1)^\top\Sigma^{-1}(\mu - r\mathbf 1)
  8. Gambler's ruin probability M03· M03 (3.16)
    Pa={ρa−ρN1−ρN,p≠q,1−aN,p=q.P_a = \begin{cases}\dfrac{\rho^a - \rho^N}{1 - \rho^N}, & p \ne q,\\[2mm] 1 - \dfrac aN, & p = q.\end{cases}
  9. Fixed-fractional position size (lot-rounded) M03· M03 (3.23)
    Q=ℓ⌊1ℓ⌊fEq∣Pe−Ps∣⌋⌋Q = \ell\left\lfloor\frac{1}{\ell}\left\lfloor\frac{fE_q}{|P_e - P_s|}\right\rfloor\right\rfloor
  10. Break-even win rate with costs M04· M04 (4.5)
    p>p∗=1+c1+Wp>p^*=\frac{1+c}{1+W}
  11. Bracket order: probability target hit first (with drift) M04A· M04A (4A.6)
    p=1−eγbe−γa−eγbp=\frac{1-e^{\gamma b}}{e^{-\gamma a}-e^{\gamma b}}
  12. Bracket order: expected holding time M04A· M04A (4A.7)
    Eτ=ap−b(1−p)μ\mathbb E\tau=\frac{ap-b(1-p)}{\mu}
  13. Exits cannot create expectancy (optional stopping) M04A· M04A (4A.8)
    E[Xτ]=μ E[τ]\mathbb E[X_\tau]=\mu\,\mathbb E[\tau]
  14. Probability a stop is hit within horizon T M04A· M04A (4A.9)
    P(min⁡t≤TXt≤−b)=Φ ⁣(−b−μTσT)+e−2μb/σ2 Φ ⁣(−b+μTσT)P\Big(\min_{t\le T}X_t\le-b\Big)=\Phi\!\Big(\frac{-b-\mu T}{\sigma\sqrt T}\Big)+e^{-2\mu b/\sigma^2}\,\Phi\!\Big(\frac{-b+\mu T}{\sigma\sqrt T}\Big)
  15. Discrete-monitoring barrier shift M04A· M04A (4A.10)
    β σΔt,β=−ζ(1/2)2π≈0.5826\beta\,\sigma\sqrt{\Delta t},\qquad \beta=-\frac{\zeta(1/2)}{\sqrt{2\pi}}\approx0.5826
  16. Trailing stop: mean peak gain before give-back d M04A· M04A (4A.14)
    m(d)=eγd−1γ,γ=2μσ2(m=d if μ=0)m(d)=\frac{e^{\gamma d}-1}{\gamma},\quad\gamma=\frac{2\mu}{\sigma^2}\qquad(m=d\text{ if }\mu=0)

Backtesting statistics

  1. System quality number (SQN) M03· M03 (3.2)
    SQN=min⁡(N,100)  RˉsR\text{SQN} = \sqrt{\min(N, 100)}\;\frac{\bar R}{s_R}
  2. Variance of the mean of overlapping h-period returns M04· M04 (4.4)
    Var⁡(Yˉ)≈h2σ2N,while the naive formula gives Var⁡(Yt)N=hσ2N\operatorname{Var}(\bar Y)\approx\frac{h^2\sigma^2}{N},\qquad\text{while the naive formula gives }\frac{\operatorname{Var}(Y_t)}{N}=\frac{h\sigma^2}{N}
  3. Survivorship bias in mean return M04· M04 (4.9)
    E[R∣survive]=μ+σ ϕ(a)1−Φ(a),a=−d−μσ\mathbb E[R\mid\text{survive}]=\mu+\sigma\,\frac{\phi(a)}{1-\Phi(a)},\qquad a=\frac{-d-\mu}{\sigma}
  4. Break-even cost per side M04· M04 (4.10)
    c∗=μg/TOc^*=\mu_g/\mathrm{TO}
  5. Standard error of the Sharpe ratio (normal returns) M04· M04 (4.13)
    SE⁡(S^)≈1+S2/2T\operatorname{SE}(\hat S)\approx\sqrt{\frac{1+S^2/2}{T}}
  6. Sharpe ratio aggregation with autocorrelation M04· M04 (4.14)
    S(q)=η(q) S,η(q)=qq+2∑k=1q−1(q−k)ρkS(q)=\eta(q)\,S,\qquad\eta(q)=\frac{q}{\sqrt{q+2\sum_{k=1}^{q-1}(q-k)\rho_k}}
  7. Probabilistic Sharpe ratio (PSR) M04· M04 (4.15)
    PSR(S∗)=Φ ⁣((S^−S∗)T−11−γ^3S^+γ^4−14S^2)\mathrm{PSR}(S^*)=\Phi\!\left(\frac{(\hat S-S^*)\sqrt{T-1}}{\sqrt{1-\hat\gamma_3\hat S+\frac{\hat\gamma_4-1}{4}\hat S^2}}\right)
  8. Minimum track record length M04· M04 (4.16)
    MinTRL=1+(1−γ^3S^+γ^4−14S^2)(z1−αS^−S∗)2\mathrm{MinTRL}=1+\Big(1-\hat\gamma_3\hat S+\frac{\hat\gamma_4-1}{4}\hat S^2\Big)\left(\frac{z_{1-\alpha}}{\hat S-S^*}\right)^2
  9. Deflated Sharpe ratio (DSR) M04· M04 (4.18)
    DSR=PSR(S0),S0=V[(1−γ)Φ−1 ⁣(1−1N)+γΦ−1 ⁣(1−1Ne)]\mathrm{DSR}=\mathrm{PSR}(S_0),\qquad S_0=\sqrt{V}\left[(1-\gamma)\Phi^{-1}\!\Big(1-\frac1N\Big)+\gamma\Phi^{-1}\!\Big(1-\frac1{Ne}\Big)\right]
  10. Trades needed to detect an edge with power 1−β M14· M14 (14.9)
    N≥((2+z1−β) sE)2N \ge \left(\frac{(2 + z_{1-\beta})\,s}{E}\right)^2

Volatility

  1. ATR and the implied volatility estimate M04A· M04A (4A.12)
    ATR≈1.596 σS,σ^ATR=ATR1.596 S\mathrm{ATR}\approx1.596\,\sigma S,\qquad \hat\sigma_{\mathrm{ATR}}=\frac{\mathrm{ATR}}{1.596\,S}
  2. Implied volatility: Newton starting value M08· M08 (8.30)
    σ∗=2∣x∣/τ=2∣ln⁡(F/K)∣/τ\sigma^*=\sqrt{2|x|/\tau}=\sqrt{2|\ln(F/K)|/\tau}
  3. Close-to-close variance estimator M09· M09 (9.1)
    σ^CC2=1n−1∑t=1n(rt−rˉ)2\hat\sigma^2_{CC}=\frac{1}{n-1}\sum_{t=1}^{n}(r_t-\bar r)^2
  4. Parkinson range estimator M09· M09 (9.6)
    σ^P,t2=(ln⁡Ht/Lt)24ln⁡2\hat\sigma^2_{P,t}=\frac{(\ln H_t/L_t)^2}{4\ln 2}
  5. Garman–Klass estimator M09· M09 (9.7)
    σ^GK,t2=12(ut−dt)2−(2ln⁡2−1) ct2\hat\sigma^2_{GK,t}=\tfrac12(u_t-d_t)^2-(2\ln2-1)\,c_t^2
  6. Yang–Zhang estimator M09· M09 (9.9)
    σ^YZ2=VO+k VC+(1−k) VRS,k=0.341.34+n+1n−1\hat\sigma^2_{YZ}=V_O+k\,V_C+(1-k)\,V_{RS},\qquad k=\frac{0.34}{1.34+\frac{n+1}{n-1}}
  7. Daily P&L of a delta-hedged option (hedged at implied vol) M09· M09 (9.12)
    P&Lday≈12ΓiS2[(ΔSS)2−σi2Δt]\text{P\&L}_{\text{day}}\approx\tfrac12\Gamma^iS^2\left[\left(\frac{\Delta S}{S}\right)^2-\sigma_i^2\Delta t\right]
  8. Total P&L when hedging at realised volatility M09· M09 (9.15)
    e−rTXT=BS(σr)−BS(σi)e^{-rT}X_T=BS(\sigma_r)-BS(\sigma_i)
  9. Variance risk premium M09· M09 (9.16)
    VRPt=EtQ[RVt,T]−EtP[RVt,T]VRP_t=E^{\mathbb Q}_t[RV_{t,T}]-E^{\mathbb P}_t[RV_{t,T}]
  10. Breeden–Litzenberger risk-neutral density M09· M09 (9.17)
    q(K)=erT∂2C∂K2q(K)=e^{rT}\frac{\partial^2C}{\partial K^2}
  11. 25-delta risk reversal and butterfly M09· M09 (9.18)
    RR25=σ25C−σ25P,BF25=12(σ25C+σ25P)−σATMRR_{25}=\sigma_{25C}-\sigma_{25P},\qquad BF_{25}=\tfrac12(\sigma_{25C}+\sigma_{25P})-\sigma_{ATM}
  12. Dupire local volatility M09· M09 (9.20)
    σloc2(K,T)=∂TC+(r−q)K ∂KC+qC12K2 ∂K2C\sigma_{loc}^2(K,T)=\frac{\partial_TC+(r-q)K\,\partial_KC+qC}{\tfrac12K^2\,\partial^2_KC}
  13. Heston stochastic volatility model M09· M09 (9.21)
    dSt=μStdt+vtStdWt1,dvt=κ(θ−vt)dt+ξvt dWt2,d⟨W1,W2⟩t=ρ dtdS_t=\mu S_tdt+\sqrt{v_t}S_tdW^1_t,\qquad dv_t=\kappa(\theta-v_t)dt+\xi\sqrt{v_t}\,dW^2_t,\qquad d\langle W^1,W^2\rangle_t=\rho\,dt
  14. Variance swap fair strike (option replication) M09· M09 (9.22)
    Kvar=1TEQ[∫0Tσt2dt]=2erTT[∫0FP(K)K2dK+∫F∞C(K)K2dK]K_{var}=\frac1TE^{\mathbb Q}\left[\int_0^T\sigma_t^2dt\right]=\frac{2e^{rT}}{T}\left[\int_0^F\frac{P(K)}{K^2}dK+\int_F^\infty\frac{C(K)}{K^2}dK\right]
  15. VIX / India VIX discretised variance M09· M09 (9.25)
    σVIX2=2T∑iΔKiKi2erTQ(Ki)−1T(FK0−1)2\sigma^2_{VIX}=\frac2T\sum_i\frac{\Delta K_i}{K_i^2}e^{rT}Q(K_i)-\frac1T\left(\frac F{K_0}-1\right)^2
  16. Dealer-gamma hedging feedback on volatility M09A· M09A (9A.6)
    dS=dS01+λG,σeff=σ1+λG(1+λG>0)dS=\frac{dS^0}{1+\lambda G},\qquad \sigma_{\text{eff}}=\frac{\sigma}{1+\lambda G}\quad(1+\lambda G>0)
  17. ATM straddle price (straddle-implied move) M09A· M09A (9A.8)
    ΠATM=e−rτFστ2π(1−σ2τ24+O(σ4τ2))≤e−rτFστ2π≈0.8 e−rτFστ\Pi_{ATM}=e^{-r\tau}F\sigma\sqrt\tau\sqrt{\tfrac2\pi}\left(1-\frac{\sigma^2\tau}{24}+O(\sigma^4\tau^2)\right)\le e^{-r\tau}F\sigma\sqrt\tau\sqrt{\tfrac2\pi}\approx0.8\,e^{-r\tau}F\sigma\sqrt\tau
  18. Expected absolute move and probability it is not exceeded M09A· M09A (9A.9)
    E∣ST−S∣=Sστ2π,P(∣ST−S∣<E∣ST−S∣)=2N ⁣(2/π)−1=0.5751\mathbb E|S_T-S|=S\sigma\sqrt\tau\sqrt{\tfrac2\pi},\qquad \mathbb P\big(|S_T-S|<\mathbb E|S_T-S|\big)=2N\!\left(\sqrt{2/\pi}\right)-1=0.5751
  19. IV rank M09A· M09A (9A.10)
    IVRt=σt−min⁡t−n<s≤tσsmax⁡t−n<s≤tσs−min⁡t−n<s≤tσs\mathrm{IVR}_t=\frac{\sigma_t-\min_{t-n<s\le t}\sigma_s}{\max_{t-n<s\le t}\sigma_s-\min_{t-n<s\le t}\sigma_s}
  20. IV percentile M09A· M09A (9A.11)
    IVPt=1n−1#{s: t−n<s<t, σs<σt}\mathrm{IVP}_t=\frac{1}{n-1}\#\{s:\ t-n<s<t,\ \sigma_s<\sigma_t\}
  21. Forward variance between two expiries M09A· M09A (9A.12)
    σ1,22=w2−w1τ2−τ1\sigma_{1,2}^2=\frac{w_2-w_1}{\tau_2-\tau_1}
  22. Event variance from two expiries after the event M09A· M09A (9A.13)
    e=τ1τ2 (σ12−σ22)τ2−τ1,σd2=σ22τ2−σ12τ1τ2−τ1e=\frac{\tau_1\tau_2\,(\sigma_1^2-\sigma_2^2)}{\tau_2-\tau_1},\qquad \sigma_d^2=\frac{\sigma_2^2\tau_2-\sigma_1^2\tau_1}{\tau_2-\tau_1}
  23. GARCH(1,1) M13· M13 (13.13)
    εt=σtzt,zt∼iid(0,1),σt2=ω+αεt−12+βσt−12\varepsilon_t = \sigma_t z_t, \quad z_t \overset{iid}{\sim} (0,1), \qquad \sigma_t^2 = \omega + \alpha\varepsilon_{t-1}^2 + \beta\sigma_{t-1}^2
  24. GARCH unconditional variance M13· M13 (13.14)
    σˉ2≡E[εt2]=E[σt2]=ω1−α−β\bar\sigma^2 \equiv \mathbb E[\varepsilon_t^2] = \mathbb E[\sigma_t^2] = \frac{\omega}{1-\alpha-\beta}
  25. GARCH k-step variance forecast M13· M13 (13.17)
    ET[σT+k2]=ET[εT+k2]=σˉ2+(α+β)k−1(σT+12−σˉ2)\mathbb E_T[\sigma_{T+k}^2] = \mathbb E_T[\varepsilon_{T+k}^2] = \bar\sigma^2 + (\alpha+\beta)^{k-1}\left(\sigma_{T+1}^2 - \bar\sigma^2\right)
  26. GARCH volatility half-life M13· M13 (13.18)
    h1/2=ln⁡0.5ln⁡(α+β)h_{1/2} = \frac{\ln 0.5}{\ln(\alpha+\beta)}
  27. GARCH(1,1) kurtosis with normal innovations M13· M13 (13.22)
    κ=Eεt4(Eεt2)2=3 [1−(α+β)2]1−(α+β)2−2α2>3\kappa = \frac{\mathbb E\varepsilon_t^4}{(\mathbb E\varepsilon_t^2)^2} = \frac{3\,[1-(\alpha+\beta)^2]}{1-(\alpha+\beta)^2-2\alpha^2} > 3

Valuation

  1. NOPAT and free cash flow to the firm M06· M06 (6.5)
    NOPATt=EBITt(1−τ),FCFFt=NOPATt+D&At−Capext−ΔNWCt\text{NOPAT}_t = EBIT_t (1-\tau), \qquad \text{FCFF}_t = \text{NOPAT}_t + \text{D\&A}_t - \text{Capex}_t - \Delta NWC_t
  2. Growing perpetuity (Gordon) M06· M06 (6.8)
    ∑t=1∞c1(1+g)t−1(1+r)t=c1r−g\sum_{t=1}^{\infty} \frac{c_1(1+g)^{t-1}}{(1+r)^t} = \frac{c_1}{r-g}
  3. Two-stage DCF with terminal value M06· M06 (6.9)
    V0=∑t=1NF0(1+g)t(1+W)t+F0(1+g)N(1+gT)(W−gT)(1+W)NV_0 = \sum_{t=1}^{N}\frac{F_0(1+g)^t}{(1+W)^t} + \frac{F_0(1+g)^N(1+g_T)}{(W-g_T)(1+W)^N}
  4. Value-driver formula M06· M06 (6.11)
    V0=NOPAT1(1−gRONIC)W−gV_0 = \frac{\text{NOPAT}_1\left(1 - \dfrac{g}{\text{RONIC}}\right)}{W - g}
  5. CAPM M06· M06 (6.14)
    μi−rf=βi(μM−rf),βi=Cov⁡(Ri,RM)σM2\mu_i - r_f = \beta_i(\mu_M - r_f), \qquad \beta_i = \frac{\operatorname{Cov}(R_i, R_M)}{\sigma_M^2}
  6. Levered beta (Hamada) M06· M06 (6.15)
    βL=βU[1+(1−τ)DE]\beta_L = \beta_U\left[1 + (1-\tau)\frac{D}{E}\right]
  7. Weighted average cost of capital M06· M06 (6.16)
    W=ED+Eke+DD+Ekd(1−τ)W = \frac{E}{D+E}k_e + \frac{D}{D+E}k_d(1-\tau)
  8. Justified P/E M06· M06 (6.17)
    P0E1=pk−g=1−g/ROEk−g,P0E0=p(1+g)k−g\frac{P_0}{E_1} = \frac{p}{k-g} = \frac{1 - g/\text{ROE}}{k-g}, \qquad \frac{P_0}{E_0} = \frac{p(1+g)}{k-g}
  9. Beneish M-score M06· M06 (6.19)
    M=−4.84+0.920 DSRI+0.528 GMI+0.404 AQI+0.892 SGI+0.115 DEPI−0.172 SGAI+4.679 TATA−0.327 LVGIM = -4.84 + 0.920\,\text{DSRI} + 0.528\,\text{GMI} + 0.404\,\text{AQI} + 0.892\,\text{SGI} + 0.115\,\text{DEPI} - 0.172\,\text{SGAI} + 4.679\,\text{TATA} - 0.327\,\text{LVGI}
  10. EPS after a debt-funded buyback M06A· M06A (6A.5)
    EPS′=E−r(1−τ)CN−C/Pb\text{EPS}' = \frac{E - r(1-\tau)C}{N - C/P_b}
  11. Promoter pledge invocation price M06A· M06A (6A.15)
    P∗=cLn,1−P∗P0=1−cc0,c0=nP0LP^* = \frac{cL}{n}, \qquad 1 - \frac{P^*}{P_0} = 1 - \frac{c}{c_0}, \quad c_0 = \frac{nP_0}{L}
  12. Residual income valuation M06A· M06A (6A.16)
    V0=B0+∑t=1∞(ROEt−k) Bt−1(1+k)tV_0 = B_0 + \sum_{t=1}^{\infty} \frac{(\text{ROE}_t - k)\,B_{t-1}}{(1+k)^t}
  13. Justified price-to-book M06A· M06A (6A.17)
    V0B0=1+ROE−kk−g=ROE−gk−g\frac{V_0}{B_0} = 1 + \frac{\text{ROE} - k}{k - g} = \frac{\text{ROE} - g}{k - g}
  14. Bank ROA and ROE M06A· M06A (6A.19)
    ROA=(NIM+fees−opex−credit cost)(1−τ),ROE=ROA×AB\text{ROA} = (\text{NIM} + \text{fees} - \text{opex} - \text{credit cost})(1 - \tau), \qquad \text{ROE} = \text{ROA} \times \frac{A}{B}
  15. Net NPA from gross NPA and provision coverage M06A· M06A (6A.20)
    NNPA=GNPA(1−PCR)1−GNPA⋅PCR\text{NNPA} = \frac{\text{GNPA}(1 - \text{PCR})}{1 - \text{GNPA}\cdot\text{PCR}}
  16. Beta of AMC profits to the market (operating leverage) M06B· M06B (6B.12)
    βΠ=βA (1−v) yeAeΠ;all equity: βA(1+FΠ)\beta_\Pi = \beta_A\,\frac{(1 - v)\,y_eA_e}{\Pi}; \quad \text{all equity: } \beta_A\Big(1 + \frac{F}{\Pi}\Big)
  17. Present value of fees on a SIP customer M06B· M06B (6B.13)
    PV=ymP q1−q⋅1−an1−a,a=1−λ1+k,  q=(1+g) aPV = y_mP\,\frac{q}{1 - q}\cdot\frac{1 - a^{n}}{1 - a}, \quad a = \frac{1 - \lambda}{1 + k}, \; q = (1 + g)\,a

Event studies

  1. Standardised unexpected earnings (SUE) M06A· M06A (6A.1)
    SUEq=dq−δ^qs^q\text{SUE}_q = \frac{d_q - \hat\delta_q}{\hat s_q}
  2. CAR t-test under the market model (results-day event study) M06A· M06A (6A.4)
    ti=CARiσ^ivi∼tL1−2,vi=L2+γ′X∗(X′X)−1X∗′γt_i = \frac{CAR_i}{\hat\sigma_i\sqrt{v_i}} \sim t_{L_1-2}, \qquad v_i = L_2 + \gamma' X^*(X'X)^{-1}X^{*\prime}\gamma
  3. Merger arbitrage: implied completion probability M06A· M06A (6A.12)
    PT(1+rT)=p D+(1−p)F+c⟹p=PT(1+rT)−c−FD−FP_T(1 + rT) = p\,D + (1 - p)F + c \quad\Longrightarrow\quad p = \frac{P_T(1 + rT) - c - F}{D - F}
  4. Market model for normal returns M12· M12 (12.1)
    Riτ=αi+βiRmτ+εiτ,E[εiτ]=0, Var⁡(εiτ)=σi2R_{i\tau}=\alpha_i+\beta_iR_{m\tau}+\varepsilon_{i\tau},\qquad \mathbb E[\varepsilon_{i\tau}]=0,\ \operatorname{Var}(\varepsilon_{i\tau})=\sigma_i^2
  5. Abnormal return M12· M12 (12.4)
    ARiτ=Riτ−α^i−β^iRmτ,τ∈[T1+1,T2]AR_{i\tau}=R_{i\tau}-\hat\alpha_i-\hat\beta_iR_{m\tau}, \qquad \tau\in[T_1+1,T_2]
  6. Cumulative abnormal return and its variance M12· M12 (12.8)
    CARi=γ′ARi∗,Var⁡(CARi)=γ′Viγ=σi2[L2+γ′X∗(X′X)−1X∗′γ]CAR_i=\gamma'AR_i^*,\qquad \operatorname{Var}(CAR_i)=\gamma'V_i\gamma=\sigma_i^2\left[L_2+\gamma'X^*(X'X)^{-1}X^{*\prime}\gamma\right]
  7. Standardised CAR M12· M12 (12.9)
    SCARi=CARiσ^i2 γ′[I+X∗(X′X)−1X∗′]γ∼tL1−2SCAR_i=\frac{CAR_i}{\sqrt{\hat\sigma_i^2\,\gamma'[I+X^*(X'X)^{-1}X^{*\prime}]\gamma}} \sim t_{L_1-2}
  8. Cross-sectional t-test of mean CAR M12· M12 (12.11)
    tCS=CAR‾sCAR/N,sCAR2=1N−1∑i(CARi−CAR‾)2t_{CS}=\frac{\overline{CAR}}{s_{CAR}/\sqrt N},\qquad s_{CAR}^2=\frac1{N-1}\sum_i(CAR_i-\overline{CAR})^2
  9. Boehmer–Musumeci–Poulsen (BMP) test M12· M12 (12.13)
    tBMP=SCAR‾sSCAR/N,sSCAR2=1N−1∑i(SCARi−SCAR‾)2t_{\text{BMP}}=\frac{\overline{SCAR}}{s_{SCAR}/\sqrt N},\qquad s^2_{SCAR}=\frac1{N-1}\sum_i(SCAR_i-\overline{SCAR})^2
  10. Sequential Bayesian updating in log-odds M12· M12 (12.18)
    ln⁡P(A∣n1:k)P(B∣n1:k)=ln⁡P(A)P(B)+∑j=1kln⁡P(nj∣A)P(nj∣B)\ln\frac{P(A\mid n_{1:k})}{P(B\mid n_{1:k})}=\ln\frac{P(A)}{P(B)}+\sum_{j=1}^k\ln\frac{P(n_j\mid A)}{P(n_j\mid B)}
  11. Expected value of perfect information M12· M12 (12.20)
    EVPI=∑sP(s)max⁡ax(s,a)−max⁡a∑sP(s)x(s,a) ≥0EVPI=\sum_sP(s)\max_ax(s,a)-\max_a\sum_sP(s)x(s,a)\ \ge 0

Rates & FX

  1. Debt fund NAV change for a parallel yield shift M06B· M06B (6B.28)
    ΔNAVNAV≈−Dp Δy+12Cp (Δy)2\frac{\Delta \text{NAV}}{\text{NAV}} \approx -D_p\,\Delta y + \tfrac12 C_p\,(\Delta y)^2
  2. Bond price from yield (m compounding periods a year) M11· M11 (11.2)
    P(y)=∑k=1NCFk (1+y/m)−mtkP(y)=\sum_{k=1}^{N} CF_k\,(1+y/m)^{-m t_k}
  3. Macaulay duration M11· M11 (11.4)
    Dmac=1P∑k=1Ntk CFk (1+y/m)−mtkD_{\text{mac}} = \frac{1}{P}\sum_{k=1}^{N} t_k\,CF_k\,(1+y/m)^{-mt_k}
  4. Modified duration M11· M11 (11.5)
    Dmod=−1PdPdyD_{\text{mod}} = -\frac{1}{P}\frac{dP}{dy}
  5. Convexity M11· M11 (11.7)
    C=1Pd2Pdy2C = \frac{1}{P}\frac{d^2P}{dy^2}
  6. Duration–convexity price approximation M11· M11 (11.9)
    ΔPP=−Dmod Δy+12C (Δy)2+O((Δy)3)\frac{\Delta P}{P} = -D_{\text{mod}}\,\Delta y + \tfrac12 C\,(\Delta y)^2 + O\big((\Delta y)^3\big)
  7. Equity duration (Gordon model) M11· M11 (11.11)
    Dmodeq≡−1P∂P∂r=1r−g=PD1,Dmaceq=1+rr−gD_{\text{mod}}^{eq} \equiv -\frac{1}{P}\frac{\partial P}{\partial r} = \frac{1}{r-g} = \frac{P}{D_1}, \qquad D_{\text{mac}}^{eq} = \frac{1+r}{r-g}
  8. Long yield = expected short rates + term premium M11· M11 (11.14a)
    yn=1n∑k=0n−1Et[rt+k]+TPny_n = \frac1n\sum_{k=0}^{n-1}\mathbb E_t[r_{t+k}] + TP_n
  9. Taylor rule M11· M11 (11.15)
    i=r∗+π+aπ(π−π∗)+ay xi = r^* + \pi + a_\pi(\pi-\pi^*) + a_y\,x
  10. Covered interest parity (FX forward) M11· M11 (11.17)
    F=S 1+rdT1+rfTF = S\,\frac{1+r_dT}{1+r_fT}
  11. Uncovered interest parity M11· M11 (11.19)
    Et[st+1]−st=it−it∗\mathbb E_t[s_{t+1}] - s_t = i_t - i_t^*
  12. Currency carry excess return M11· M11 (11.22)
    xrt+1=(it−it∗)−Δst+1xr_{t+1} = (i_t - i_t^*) - \Delta s_{t+1}
  13. Dollar return on a rupee asset M11· M11 (11.24)
    1+RUSD=(1+RINR)S0S11+R_{\text{USD}} = (1+R_{\text{INR}})\frac{S_0}{S_1}
  14. USDINR futures fair value and annualised premium M11· M11 (11.26)
    F=S 1+rdτ1+rfτ,F/S−1τ=rd−rf1+rfτ≈rd−rfF = S\,\frac{1 + r_d\tau}{1 + r_f\tau}, \qquad \frac{F/S - 1}{\tau} = \frac{r_d - r_f}{1 + r_f\tau} \approx r_d - r_f
  15. Effective rate of a currency futures hedge M11· M11 (11.27)
    effective rate=F1+(S2−F2)=F1−b2\text{effective rate} = F_1 + (S_2 - F_2) = F_1 - b_2
  16. Garman–Kohlhagen currency option prices M11· M11 · 11.17.5
    c=Se−rfτN(d1)−Ke−rdτN(d2),p=Ke−rdτN(−d2)−Se−rfτN(−d1)c = Se^{-r_f\tau}N(d_1) - Ke^{-r_d\tau}N(d_2),\qquad p = Ke^{-r_d\tau}N(-d_2) - Se^{-r_f\tau}N(-d_1)

Futures

  1. Cost-of-carry forward price M07· M07 (7.1)
    F0=S0 e(r−q)TF_0 = S_0\,e^{(r-q)T}
  2. Forward price with known income M07· M07 (7.3)
    F0=(S0−I) erTF_0 = (S_0 - I)\,e^{rT}
  3. Value of a forward contract M07· M07 (7.4)
    ft=(Ft−K) e−rτ=Ste−qτ−Ke−rτ,τ=T−tf_t = (F_t - K)\,e^{-r\tau} = S_te^{-q\tau} - Ke^{-r\tau}, \qquad \tau = T - t
  4. No-arbitrage band with costs and borrow/lend rates M07· M07 (7.5)
    S0(1−c) e(rℓ−q)T  ≤  F0  ≤  S0(1+c) e(rb−q)TS_0(1-c)\,e^{(r_\ell - q)T} \;\le\; F_0 \;\le\; S_0(1+c)\,e^{(r_b - q)T}
  5. Basis (futures minus spot) M07· M07 (7.9)
    bt=St(e(r−q)τ−1)=St(r−q)τ+O(τ2)b_t = S_t\left(e^{(r-q)\tau} - 1\right) = S_t(r-q)\tau + O(\tau^2)
  6. Minimum-variance hedge ratio M07· M07 (7.15)
    h∗=Cov⁡(ΔS,ΔF)Var⁡(ΔF)=ρ σSσFh^* = \frac{\operatorname{Cov}(\Delta S, \Delta F)}{\operatorname{Var}(\Delta F)} = \rho\,\frac{\sigma_S}{\sigma_F}
  7. Optimal number of futures contracts M07· M07 (7.17)
    N∗=h∗QAQFN^* = \frac{h^*Q_A}{Q_F}
  8. Contracts to change portfolio beta M07· M07 (7.18)
    N=(β⋆−β) VPVFN = (\beta^\star - \beta)\,\frac{V_P}{V_F}
  9. Tailing the hedge M07· M07 (7.19)
    Ntail=N∗ e−rτN_{\text{tail}} = N^*\,e^{-r\tau}

Options

  1. Put–call parity (European, dividend yield q) M08· M08 (8.4)
    c−p=Se−qT−Ke−rTc - p = Se^{-qT} - Ke^{-rT}
  2. One-period binomial price and risk-neutral probability M08· M08 (8.9)
    V0=ΔS0+B=e−rΔt[pVu+(1−p)Vd],p=erΔt−du−d∈(0,1)V_0=\Delta S_0+B = e^{-r\Delta t}\big[pV_u+(1-p)V_d\big],\qquad p=\frac{e^{r\Delta t}-d}{u-d}\in(0,1)
  3. Cox–Ross–Rubinstein up and down factors M08· M08 (8.11)
    u=eσΔt,d=1/uu=e^{\sigma\sqrt{\Delta t}},\qquad d=1/u
  4. Geometric Brownian motion solution M08· M08 (8.16)
    St=S0exp⁡ ⁣((μ−12σ2)t+σWt)S_t=S_0\exp\!\Big(\big(\mu-\tfrac12\sigma^2\big)t+\sigma W_t\Big)
  5. Black–Scholes–Merton PDE M08· M08 (8.18)
    ∂V∂t+12σ2S2∂2V∂S2+(r−q)S∂V∂S−rV=0\frac{\partial V}{\partial t}+\tfrac12\sigma^2S^2\frac{\partial^2V}{\partial S^2}+(r-q)S\frac{\partial V}{\partial S}-rV=0
  6. Risk-neutral valuation M08· M08 (8.19)
    V(t,S)=e−r(T−t) E[h(ST) ∣ St=S]V(t,S)=e^{-r(T-t)}\,\mathbb E\big[h(S_T)\,\big|\,S_t=S\big]
  7. Black–Scholes d1 and d2 M08· M08 (8.22)
    d1=ln⁡(S/K)+(r−q+12σ2)τστ,d2=d1−στ=ln⁡(S/K)+(r−q−12σ2)τστd_1=\frac{\ln(S/K)+(r-q+\tfrac12\sigma^2)\tau}{\sigma\sqrt\tau},\qquad d_2=d_1-\sigma\sqrt\tau=\frac{\ln(S/K)+(r-q-\tfrac12\sigma^2)\tau}{\sigma\sqrt\tau}
  8. Black–Scholes call M08· M08 (8.23)
    c=Se−qτN(d1)−Ke−rτN(d2)c=Se^{-q\tau}N(d_1)-Ke^{-r\tau}N(d_2)
  9. Black–Scholes put M08· M08 (8.24)
    p=Ke−rτN(−d2)−Se−qτN(−d1)p=Ke^{-r\tau}N(-d_2)-Se^{-q\tau}N(-d_1)
  10. Black-76 (options on futures) M08· M08 (8.25)
    c=e−rτ[FN(d1)−KN(d2)],p=e−rτ[KN(−d2)−FN(−d1)],d1,2=ln⁡(F/K)±12σ2τστc=e^{-r\tau}\big[FN(d_1)-KN(d_2)\big],\quad p=e^{-r\tau}\big[KN(-d_2)-FN(-d_1)\big],\quad d_{1,2}=\frac{\ln(F/K)\pm\frac12\sigma^2\tau}{\sigma\sqrt\tau}
  11. Call delta M08· M08 · 8.9
    Δc=e−qτN(d1)\Delta_c=e^{-q\tau}N(d_1)
  12. Put delta M08· M08 · 8.9
    Δp=Δc−e−qτ=−e−qτN(−d1)\Delta_p=\Delta_c-e^{-q\tau}=-e^{-q\tau}N(-d_1)
  13. Gamma M08· M08 · 8.9
    Γ=e−qτφ(d1)Sστ\Gamma=\dfrac{e^{-q\tau}\varphi(d_1)}{S\sigma\sqrt\tau}
  14. V=Se−qτφ(d1)τ\mathcal V=Se^{-q\tau}\varphi(d_1)\sqrt\tau
  15. Call theta M08· M08 · 8.9
    Θc=−Se−qτφ(d1)σ2τ−rKe−rτN(d2)+qSe−qτN(d1)\Theta_c=-\dfrac{Se^{-q\tau}\varphi(d_1)\sigma}{2\sqrt\tau}-rKe^{-r\tau}N(d_2)+qSe^{-q\tau}N(d_1)
  16. Theta–gamma relation M08· M08 (8.27)
    Θ+12σ2S2Γ+(r−q)SΔ−rV=0\Theta+\tfrac12\sigma^2S^2\Gamma+(r-q)S\Delta-rV=0
  17. Delta-hedged P&L (gamma vs variance) M08· M08 (8.28)
    dΠ≈12ΓS2[(dS/S)2−σ2dt]d\Pi\approx\tfrac12\Gamma S^2\big[(dS/S)^2-\sigma^2dt\big]
  18. Parity-implied forward from the option chain M09A· M09A (9A.1)
    F=K+erτ (C−P)F = K + e^{r\tau}\,(C-P)
  19. Put–call ratios (OI and volume) M09A· M09A (9A.3)
    PCROI=∑KpK∑KcK,PCRvol=∑KvKp∑KvKc\mathrm{PCR}_{OI}=\frac{\sum_K p_K}{\sum_K c_K},\qquad \mathrm{PCR}_{vol}=\frac{\sum_K v^p_K}{\sum_K v^c_K}
  20. Option holders' payout at expiry (max pain = its argmin) M09A· M09A (9A.4)
    W(x)=∑j=1n[cKj(x−Kj)++pKj(Kj−x)+]W(x)=\sum_{j=1}^{n}\Big[c_{K_j}(x-K_j)^+ + p_{K_j}(K_j-x)^+\Big]

Commodities

  1. Commodity futures with storage cost and convenience yield M10· M10 (10.1)
    Ft(T)=St ec (T−t)=St e(r+u−y)(T−t)F_t(T) = S_t\, e^{c\,(T-t)} = S_t\, e^{(r+u-y)(T-t)}
  2. Implied convenience yield M10· M10 (10.4)
    y≡r+u−1Tln⁡F0(T)S0y \equiv r + u - \frac{1}{T}\ln\frac{F_0(T)}{S_0}
  3. Futures return = spot return + change in log basis M10· M10 (10.8)
    ln⁡Ft′(T)Ft(T)=ln⁡St′St⏟spot return+[ln⁡Ft′(T)St′−ln⁡Ft(T)St]⏟change in log basis\ln\frac{F_{t'}(T)}{F_t(T)} = \underbrace{\ln\frac{S_{t'}}{S_t}}_{\text{spot return}} + \underbrace{\left[\ln\frac{F_{t'}(T)}{S_{t'}} - \ln\frac{F_t(T)}{S_t}\right]}_{\text{change in log basis}}
  4. Rolling long futures: return minus cumulative carry M10· M10 (10.10)
    ∑k=0N−1ln⁡Stk+1Ftk(tk+1)=ln⁡StNSt0−Δ∑k=0N−1ck\sum_{k=0}^{N-1}\ln\frac{S_{t_{k+1}}}{F_{t_k}(t_{k+1})} = \ln\frac{S_{t_N}}{S_{t_0}} - \Delta\sum_{k=0}^{N-1} c_k
  5. Hotelling rule for exhaustible resources M10· M10 (10.13)
    pt−c=(p0−c) ertp_t - c = (p_0 - c)\, e^{rt}
  6. Domestic gold price (INR per 10 g) M10· M10 (10.15)
    P10gINR=PozUSD+qG×10×X×(1+d)P^{\text{INR}}_{10g} = \frac{P^{\text{USD}}_{oz} + q}{G}\times 10 \times X \times (1 + d)
  7. Mean-reversion half-life from AR(1) coefficient M10· M10 (10.19)
    h1/2=−ln⁡2ln⁡φh_{1/2} = -\frac{\ln 2}{\ln \varphi}
  8. 3-2-1 crack spread M10· M10 (10.20)
    3-2-1 crack ($/bbl)=2Pgasoline+Pdistillate−3Pcrude3\text{3-2-1 crack (\$/bbl)} = \frac{2P_{\text{gasoline}} + P_{\text{distillate}} - 3P_{\text{crude}}}{3}

Forecasting

  1. Yule–Walker equations for AR(p) M13· M13 (13.5)
    ρk=∑j=1pϕjρk−j,k≥1,σ2=γ0(1−∑j=1pϕjρj)\rho_k = \sum_{j=1}^p \phi_j \rho_{k-j}, \quad k \ge 1, \qquad \sigma^2 = \gamma_0\Big(1 - \sum_{j=1}^p \phi_j\rho_j\Big)
  2. AR(1) h-step forecast and its variance M13· M13 (13.6)
    Et[Xt+h]=μ+ϕh(Xt−μ),Var⁡t(Xt+h)=σ2 1−ϕ2h1−ϕ2\mathbb E_t[X_{t+h}] = \mu + \phi^h (X_t - \mu), \qquad \operatorname{Var}_t(X_{t+h}) = \sigma^2\,\frac{1-\phi^{2h}}{1-\phi^2}
  3. Predictive regression with persistent predictor M13· M13 (13.7)
    rt+1=α+βxt+ut+1,xt+1=θ+ρxt+vt+1r_{t+1} = \alpha + \beta x_t + u_{t+1}, \qquad x_{t+1} = \theta + \rho x_t + v_{t+1}
  4. Out-of-sample R² M13· M13 (13.8)
    ROS2=1−∑t(rt+1−r^t+1)2∑t(rt+1−rˉt)2R^2_{OS} = 1 - \frac{\sum_{t} (r_{t+1} - \hat r_{t+1})^2}{\sum_t (r_{t+1} - \bar r_t)^2}
  5. Sharpe ratio of a timing strategy from predictive R² M13· M13 (13.9)
    S∗2≡E ⁣[(μ+xt)2σε2]=S2+R21−R2S^{*2} \equiv \mathbb E\!\left[\frac{(\mu+x_t)^2}{\sigma_\varepsilon^2}\right] = \frac{S^2 + R^2}{1 - R^2}
  6. Stambaugh bias in predictive regressions M13· M13 (13.12)
    E[β^−β]=γ E[ρ^−ρ]≈−γ 1+3ρT\mathbb E[\hat\beta - \beta] = \gamma\,\mathbb E[\hat\rho - \rho] \approx -\gamma\,\frac{1+3\rho}{T}
  7. Hamilton filter (regime probability update) M13· M13 (13.23)
    ξt∣t(j)=ξt∣t−1(j) fj(yt)∑kξt∣t−1(k) fk(yt)\xi_{t\mid t}(j) = \frac{\xi_{t\mid t-1}(j)\,f_j(y_t)}{\sum_k \xi_{t\mid t-1}(k)\,f_k(y_t)}
  8. Triple-barrier label M13· M13 (13.29)
    label={+1Re,t≥pt first,−1Re,t≤−sl first,0vertical barrier t=e+v reached first.\text{label} = \begin{cases}+1 & R_{e,t}\ge \text{pt first},\\ -1 & R_{e,t}\le -\text{sl first},\\ 0 & \text{vertical barrier } t = e+v \text{ reached first.}\end{cases}
  9. Brier score M13· M13 (13.32)
    BS=1N∑i=1N(pi−yi)2\mathrm{BS} = \frac1N\sum_{i=1}^N(p_i - y_i)^2
  10. Murphy decomposition of the Brier score M13· M13 (13.36)
    BS=1N∑knk(fk−yˉk)2⏟reliability (REL)−1N∑knk(yˉk−yˉ)2⏟resolution (RES)+yˉ(1−yˉ)⏟uncertainty (UNC)\mathrm{BS} = \underbrace{\frac1N\sum_k n_k(f_k - \bar y_k)^2}_{\text{reliability (REL)}} - \underbrace{\frac1N\sum_k n_k(\bar y_k - \bar y)^2}_{\text{resolution (RES)}} + \underbrace{\bar y(1-\bar y)}_{\text{uncertainty (UNC)}}

Stat arb

  1. Dickey–Fuller regression M13A· M13A (13A.2)
    Δyt=γ yt−1+et,γ=ρ−1\Delta y_t = \gamma\, y_{t-1} + e_t, \qquad \gamma = \rho - 1
  2. Dickey–Fuller limiting distributions M13A· M13A (13A.4)
    T(ρ^−1)⇒12(W(1)2−1)∫01W(r)2 dr,τ^≡ρ^−1se⁡(ρ^)⇒12(W(1)2−1)(∫01W(r)2 dr)1/2T(\hat\rho - 1) \Rightarrow \frac{\tfrac12\left(W(1)^2 - 1\right)}{\int_0^1 W(r)^2\,dr}, \qquad \hat\tau \equiv \frac{\hat\rho-1}{\operatorname{se}(\hat\rho)} \Rightarrow \frac{\tfrac12\left(W(1)^2 - 1\right)}{\left(\int_0^1 W(r)^2\,dr\right)^{1/2}}
  3. Augmented Dickey–Fuller regression M13A· M13A (13A.5)
    Δyt=γ yt−1+∑j=1p−1δj Δyt−j+et\Delta y_t = \gamma\,y_{t-1} + \sum_{j=1}^{p-1}\delta_j\,\Delta y_{t-j} + e_t
  4. Vector error-correction model (VECM) M13A· M13A (13A.9)
    Δyt=ν+Π yt−1+∑i=1p−1Γi Δyt−i+εt,Π=−(I−∑i=1pAi),Γi=−∑j=i+1pAj\Delta y_t = \nu + \Pi\,y_{t-1} + \sum_{i=1}^{p-1}\Gamma_i\,\Delta y_{t-i} + \varepsilon_t,\qquad \Pi = -\Big(I - \sum_{i=1}^p A_i\Big),\quad \Gamma_i = -\sum_{j=i+1}^p A_j
  5. Reduced-rank factorisation (adjustment × cointegrating vectors) M13A· M13A (13A.10)
    Π=αβ′,α,β∈Rn×r of full column rank\Pi = \alpha\beta', \qquad \alpha,\beta \in\mathbb R^{n\times r}\ \text{of full column rank}
  6. Engle–Granger cointegrating regression M13A· M13A (13A.14)
    pt1=μ+b pt2+utp^1_t = \mu + b\,p^2_t + u_t
  7. Johansen trace statistic M13A· M13A (13A.20)
    λtrace(r)=−T∑i=r+1nln⁡(1−λ^i)\lambda_{\text{trace}}(r) = -T\sum_{i=r+1}^n\ln(1-\hat\lambda_i)
  8. Ornstein–Uhlenbeck process M13A· M13A (13A.22)
    dXt=κ(θ−Xt) dt+σ dWt,κ>0dX_t = \kappa(\theta - X_t)\,dt + \sigma\,dW_t, \qquad \kappa>0
  9. OU exact discretisation as AR(1) M13A· M13A (13A.23)
    Xt+Δ=a+b Xt+et+Δ,b=e−κΔ,a=θ(1−b),σe2=σ2(1−b2)2κX_{t+\Delta} = a + b\,X_t + e_{t+\Delta},\qquad b = e^{-\kappa\Delta},\quad a = \theta(1-b),\quad \sigma_e^2 = \frac{\sigma^2(1-b^2)}{2\kappa}
  10. OU parameters from AR(1) estimates M13A· M13A (13A.24)
    κ^=−ln⁡b^Δ,θ^=a^1−b^,σ^=σ^e2κ^1−b^2\hat\kappa = -\frac{\ln\hat b}{\Delta},\qquad \hat\theta = \frac{\hat a}{1-\hat b},\qquad \hat\sigma = \hat\sigma_e\sqrt{\frac{2\hat\kappa}{1-\hat b^2}}
  11. Profit rate of an OU entry/exit cycle M13A· M13A (13A.26)
    μ(a,m)=m−a−cE[T],E[T]=Ea[τm]+Em[τa]\mu(a,m) = \frac{m - a - c}{\mathbb E[\mathcal T]},\qquad \mathbb E[\mathcal T] = \mathbb E_a[\tau_m] + \mathbb E_m[\tau_a]
  12. Total least squares hedge ratio M13A· M13A (13A.30)
    β^TLS=(Syy−Sxx)+(Syy−Sxx)2+4Sxy22Sxy\hat\beta_{\text{TLS}} = \frac{(S_{yy}-S_{xx}) + \sqrt{(S_{yy}-S_{xx})^2 + 4S_{xy}^2}}{2S_{xy}}
  13. Time-varying hedge ratio state-space model M13A· M13A (13A.31)
    yt=xt′βt+εt,  εt∼N(0,R);βt=βt−1+ηt,  ηt∼N(0,Q)y_t = x_t'\beta_t + \varepsilon_t,\ \ \varepsilon_t\sim N(0,R);\qquad \beta_t = \beta_{t-1} + \eta_t,\ \ \eta_t\sim N(0,Q)
  14. Kalman filter innovation and its variance M13A· M13A (13A.33)
    et=yt−xt′bt∣t−1,Ft=xt′Pt∣t−1xt+Re_t = y_t - x_t'b_{t|t-1},\qquad F_t = x_t'P_{t|t-1}x_t + R
  15. Kalman gain and update M13A· M13A (13A.34)
    Kt=Pt∣t−1xt/Ft,bt∣t=bt∣t−1+Ktet,Pt∣t=Pt∣t−1−Ktxt′Pt∣t−1K_t = P_{t|t-1}x_t/F_t,\qquad b_{t|t} = b_{t|t-1} + K_te_t,\qquad P_{t|t} = P_{t|t-1} - K_tx_t'P_{t|t-1}
  16. MCX–COMEX gold log spread M13A· M13A (13A.40)
    st=ln⁡FtMCX−[ln⁡FtCOMEX+ln⁡Xtfwd+ln⁡(1+dt)+ln⁡10×0.99531.1034768]s_t = \ln F^{\text{MCX}}_t - \Big[\ln F^{\text{COMEX}}_t + \ln X^{\text{fwd}}_t + \ln(1+d_t) + \ln\frac{10\times0.995}{31.1034768}\Big]

Create a free account

Reading is open to everyone. An account keeps your progress, answers, notes and code drafts, and gives you the study plan, the journals and the simulator. Running code needs an account approved for it.