Reference · Look-ups · Chapter R2

The maths on one page

Every formula, with where it is derived

This page collects the formulas the book relies on, grouped by part. Each one links to the numbered display where the book derives it or first works it with numbers, so you can go back to the reasoning when the formula alone is not enough.

Use it as a reminder, not a first introduction. A formula on its own hides its assumptions: the square-root-of-time rule needs independent returns, and Black-Scholes needs a volatility that does not change. The chapter behind each link states what the formula assumes and where it breaks.

1 · Symbols

The book uses the same symbol for the same thing everywhere, with a few exceptions. A handful of letters, GG, LL and DD among them, mean different things in different chapters, so each table below says what they mean there.

SymbolMeaning
SS, StS_tthe price of the underlying, at time tt
KKan option's strike price
TTtime to expiry in years; 30 days is 30/36530/365
RtR_t, rtr_tthe simple return and the log return over period tt
rr, rfr_fthe risk-free interest rate
qqthe dividend yield
μ\mu, σ\sigmathe mean return and the volatility, annualized unless a subscript says otherwise
σI\sigma_I, σR\sigma_Rimplied and realized volatility
ppa probability, often a win rate
E[X]\mathbb{E}[X], Var⁡(X)\operatorname{Var}(X)expected value and variance
N(x)N(x), φ(x)\varphi(x)the standard normal distribution function and its density
Δ\Delta, Γ\Gamma, Θ\Theta, ν\nudelta, gamma, theta and vega
ρ\rhocorrelation; the Greek rho is written as a word
SR\text{SR}the Sharpe ratio

2 · Returns

From Part I. StS_t is the price at the end of period tt, and GG is the compound growth rate.

QuantityFormulaWhere
Simple returnRt=St/St−1−1R_t = S_t/S_{t-1} - 1(1A.1)
Compounding1+Rtotal=∏t=1n(1+Rt)1 + R_{\text{total}} = \prod_{t=1}^{n} (1 + R_t)(1A.2)
Log returnrt=ln⁡(St/St−1)r_t = \ln(S_t/S_{t-1})(1A.10)
From one to the otherrt=ln⁡(1+Rt)r_t = \ln(1 + R_t) and Rt=ert−1R_t = e^{r_t} - 1(1A.11)
Log returns addrtotal=ln⁡(Sn/S0)=∑t=1nrtr_{\text{total}} = \ln(S_n/S_0) = \sum_{t=1}^{n} r_t(1A.14)
Square-root-of-time ruleσn-day=σdailyn\sigma_{n\text{-day}} = \sigma_{\text{daily}}\sqrt{n}(1A.16)
Annualized volatilityσannual=σdaily252\sigma_{\text{annual}} = \sigma_{\text{daily}}\sqrt{252}(1A.17)
Growth rate after variance dragG=μ−σ2/2G = \mu - \sigma^2/2(1A.19)

3 · Distributions and edge

From Chapters 1B and 1C. A bet wins GG with probability pp, loses LL otherwise, and costs cc.

QuantityFormulaWhere
Expected valueE[X]=∑ipi xi\mathbb{E}[X] = \sum_i p_i\,x_i(1B.1)
Skewnessγ3=E[((R−μ)/σ)3]\gamma_3 = \mathbb{E}\big[((R - \mu)/\sigma)^3\big](1B.2)
Kurtosisγ4=E[((R−μ)/σ)4]\gamma_4 = \mathbb{E}\big[((R - \mu)/\sigma)^4\big](1B.3)
Skewness of a two-outcome betγ3=(1−2p)/p(1−p)\gamma_3 = (1 - 2p)/\sqrt{p(1-p)}(1B.6)
Expected shortfallES95=E[R∣R≤VaR95]\text{ES}_{95} = \mathbb{E}[R \mid R \le \text{VaR}_{95}](1B.8)
A bet's expected valueE[X]=pG−(1−p)L−c\mathbb{E}[X] = pG - (1-p)L - c(1C.2)
Breakeven win ratep∗=(L+c)/(G+L)p^{*} = (L + c)/(G + L)(1C.3)
Log utilityU(W)=ln⁡WU(W) = \ln W(1C.7)

4 · Risk-adjusted return

From Chapter 1D. SR^\widehat{\text{SR}} is a Sharpe ratio measured on nn returns, and KK is the number of strategies tried.

QuantityFormulaWhere
Sharpe ratioSR=(E[R]−rf)/σR\text{SR} = (\mathbb{E}[R] - r_f)/\sigma_R(1D.1)
Annualized Sharpe ratioSRannual=SRdaily252\text{SR}_{\text{annual}} = \text{SR}_{\text{daily}}\sqrt{252}(1D.3)
Sharpe ratio over NN periodsSRN≈SR1N\text{SR}_N \approx \text{SR}_1\sqrt{N}(1D.4)
Chance of ever falling to a fraction ff of wealthPr⁡=f 2μ/σ2−1\Pr = f^{\,2\mu/\sigma^2 - 1}(1D.5)
Sortino ratio(E[R]−rf)/σdown(\mathbb{E}[R] - r_f)/\sigma_{\text{down}}(1D.7)
Information ratioE[Rs−Rb]/σ(Rs−Rb)\mathbb{E}[R_s - R_b]/\sigma(R_s - R_b)(1D.9)
Treynor ratio(E[R]−rf)/β(\mathbb{E}[R] - r_f)/\beta(1D.10)
Calmar ratioE[Rannual]/∣MaxDD∣\mathbb{E}[R_{\text{annual}}]/\lvert\text{MaxDD}\rvert(1D.11)
Tail betaCov⁡(Rs,Rm∣tail)/Var⁡(Rm∣tail)\operatorname{Cov}(R_s, R_m \mid \text{tail})/\operatorname{Var}(R_m \mid \text{tail})(1D.12)
Standard error of a Sharpe ratios=(1−γ3SR^+γ4−14SR^2)/(n−1)s = \sqrt{\big(1 - \gamma_3\widehat{\text{SR}} + \tfrac{\gamma_4 - 1}{4}\widehat{\text{SR}}^2\big)/(n - 1)}(1D.13)
Probabilistic Sharpe ratioPSR=N((SR^−SR∗)/s)\text{PSR} = N\big((\widehat{\text{SR}} - \text{SR}^*)/s\big)(1D.14)
The best of KK tries by luck aloneSR0=V [(1−γE)N−1(1−1K)+γEN−1(1−1Ke)]\text{SR}_0 = \sqrt{V}\,\big[(1 - \gamma_E)N^{-1}(1 - \tfrac1K) + \gamma_E N^{-1}(1 - \tfrac{1}{Ke})\big](1D.15)

5 · Drawdown, leverage and portfolios

From Chapters 1E to 1G. WtW_t is wealth, PtP_t its running peak, DD a drawdown, and kk the leverage.

QuantityFormulaWhere
DrawdownDt=1−Wt/PtD_t = 1 - W_t/P_t(1E.1)
Gain needed to recoverG=D/(1−D)G = D/(1 - D)(1E.2)
Years to recover at growth ggt=−ln⁡(1−D)/ln⁡(1+g)t = -\ln(1 - D)/\ln(1 + g)(1E.3)
Leveragek=exposure/capitalk = \text{exposure}/\text{capital}(1E.4)
Levered return, borrowing at rbr_bRk=kR−(k−1) rbR_k = kR - (k - 1)\,r_b(1E.5)
Correlationρ=Cov⁡(X,Y)/(σXσY)\rho = \operatorname{Cov}(X, Y)/(\sigma_X\sigma_Y)(1F.1)
Variance of two assetsσp2=w12σ12+w22σ22+2w1w2ρσ1σ2\sigma_p^2 = w_1^2\sigma_1^2 + w_2^2\sigma_2^2 + 2w_1w_2\rho\sigma_1\sigma_2(1F.2)
Variance of many assetsσp2=w⊤Σ w\sigma_p^2 = \mathbf{w}^\top\boldsymbol{\Sigma}\,\mathbf{w}(1F.6)
Two equal strategies combinedSRp=SR2/(1+ρ)\text{SR}_p = \text{SR}\sqrt{2/(1 + \rho)}(1F.7)
A risk premiumE[Ri]−r=βi π\mathbb{E}[R_i] - r = \beta_i\,\pi(1G.2)

6 · Markets, costs and taxes

From Part II. dd is +1 for a buy and −1 for a sell, and NN is one trade's notional.

QuantityFormulaWhere
The index levelSPXt=∑iPi,tFi,t/Dt\text{SPX}_t = \sum_i P_{i,t}F_{i,t}/D_t(2A.1)
The index returnRindex=∑iwiRiR_{\text{index}} = \sum_i w_i R_i(2A.2)
Divisor after a changeDnew=Dold Vafter/VbeforeD_{\text{new}} = D_{\text{old}}\,V_{\text{after}}/V_{\text{before}}(2A.5)
Notional of a contractnotional=m×L\text{notional} = m \times L(2A.6)
Fair value of an index futureF=S e(r−q)TF = S\,e^{(r - q)T}(2A.7)
Effective spread2d (P−M0)2d\,(P - M_0)(2B.2)
Realized spread2d (P−M1)2d\,(P - M_1)(2B.3)
Spread and midpoints=a−bs = a - b, m=(a+b)/2m = (a + b)/2(2C.1)
Break-even half-spreadh=π δh = \pi\,\delta(2C.3)
Trade only ifE[gain]−cRT>0\mathbb{E}[\text{gain}] - c_{\text{RT}} > 0(2D.1)
Exit-cost ratio(s/2) nM/E[profit](s/2)\,nM/\mathbb{E}[\text{profit}](2D.3)
A year's friction dragD=n (s+2i+2k/N)D = n\,(s + 2i + 2k/N)(2D.4)
Square-root impactslippage≈kQ/ADV\text{slippage} \approx k\sqrt{Q/\text{ADV}}(2D.5)
Fall that triggers a Reg-T callV/V0=(1−i)/(1−m)V/V_0 = (1 - i)/(1 - m)(2E.1)
Section 1256 blended ratet1256=0.6 tLT+0.4 tSTt_{1256} = 0.6\,t_{\text{LT}} + 0.4\,t_{\text{ST}}(2E.2)
Growth after taxWn=W0 (1+R(1−t))nW_n = W_0\,\big(1 + R(1 - t)\big)^n(2E.4)

7 · Models and sizing

From Part III. In the Kelly formulas a bet wins GG or loses LL per dollar staked, and cc is the multiple of full Kelly.

QuantityFormulaWhere
Error decompositionMSE=bias2+variance\text{MSE} = \text{bias}^2 + \text{variance}(3A.2)
AR(1) processrt=w rt−1+b+εtr_t = w\,r_{t-1} + b + \varepsilon_t(3B.2)
Its long-run varianceV=σ2/(1−w2)V = \sigma^2/(1 - w^2)(3B.3)
Variance ratioVR(k)=Var⁡(rt+⋯+rt+k−1)/(kVar⁡(rt))\text{VR}(k) = \operatorname{Var}(r_t + \cdots + r_{t+k-1})/(k\operatorname{Var}(r_t))(3B.9)
Least squaresβ^=(X⊤X)−1X⊤y\hat\beta = (X^\top X)^{-1}X^\top y(3C.4)
Gradient descent stepwi+1=wi−η ∂L/∂ww_{i+1} = w_i - \eta\,\partial L/\partial w(3C.8)
Ridge and lassoLdata+λ∑iwi2L_{\text{data}} + \lambda\sum_i w_i^2 and Ldata+λ∑i∣wi∣L_{\text{data}} + \lambda\sum_i \lvert w_i\rvert(3C.11)
Growth of a bet sized ffg(f)=pln⁡(1+fG)+(1−p)ln⁡(1−fL)g(f) = p\ln(1 + fG) + (1 - p)\ln(1 - fL)(3D.1)
Kelly fractionf∗=p/L−(1−p)/Gf^* = p/L - (1 - p)/G(3D.2)
Kelly for a continuous returnf∗=μ/σ2f^* = \mu/\sigma^2(3D.5)
Chance of ever halving at cc times Kelly0.5 2/c−10.5^{\,2/c - 1}(3D.6)
Sharpe ratio of NN independent betsSRtotal≈SRper betN\text{SR}_{\text{total}} \approx \text{SR}_{\text{per bet}}\sqrt{N}(3D.8)

8 · Futures and options

From Parts IV and V. mm is the contract multiplier, 100 for SPX options.

QuantityFormulaWhere
Long future at expiryST−KS_T - K(4B.1)
Cost of carryF0=S0 e(r−q)TF_0 = S_0\,e^{(r - q)T}(4B.2)
Call and put payoffsmax⁡(ST−K,0)\max(S_T - K, 0) and max⁡(K−ST,0)\max(K - S_T, 0)(4B.4)
Jensen's inequality, ff convexE[f(ST)]≥f(E[ST])\mathbb{E}[f(S_T)] \ge f(\mathbb{E}[S_T])(4B.5)
Dollars paid for nn contractsquote×m×n\text{quote} \times m \times n(5A.3)
An option's premiumintrinsic+extrinsic\text{intrinsic} + \text{extrinsic}(5B.1)
Put-call parityC−P=Se−qT−Ke−rTC - P = S e^{-qT} - K e^{-rT}(5F.2)

9 · Black-Scholes and the Greeks

From Chapters 5C and 5D. With no dividends, set q=0q = 0.

QuantityFormulaWhere
d1d_1(ln⁡(S/K)+(r−q+12σ2)T)/(σT)\big(\ln(S/K) + (r - q + \tfrac12\sigma^2)T\big)/(\sigma\sqrt{T})(5C.3)
d2d_2d1−σTd_1 - \sigma\sqrt{T}(5C.4)
Call priceSe−qTN(d1)−Ke−rTN(d2)S e^{-qT}N(d_1) - K e^{-rT}N(d_2)(5C.5)
Put priceKe−rTN(−d2)−Se−qTN(−d1)K e^{-rT}N(-d_2) - S e^{-qT}N(-d_1)(5C.6)
A small move, to second orderΔV≈Δ⋅ΔS+12Γ(ΔS)2\Delta V \approx \Delta\cdot\Delta S + \tfrac12\Gamma(\Delta S)^2(5C.2)
Deltae−qTN(d1)e^{-qT}N(d_1) for a call, −e−qT(1−N(d1))-e^{-qT}(1 - N(d_1)) for a put(5C.8)
Gammae−qTφ(d1)/(SσT)e^{-qT}\varphi(d_1)/(S\sigma\sqrt{T})(5C.10)
Theta of a call, q=0q = 0−Sφ(d1)σ/(2T)−rKe−rTN(d2)-S\varphi(d_1)\sigma/(2\sqrt{T}) - rKe^{-rT}N(d_2)(5C.12)
Theta of a call against its gamma, q=0q = 0Θ=−12σ2S2Γ−rKe−rTN(d2)\Theta = -\tfrac12\sigma^2S^2\Gamma - rKe^{-rT}N(d_2)(5C.13)
VegaSe−qTφ(d1)TS e^{-qT}\varphi(d_1)\sqrt{T}(5C.15)
Rho of a callKTe−rTN(d2)KTe^{-rT}N(d_2)(5C.17)
Vanna−e−qTφ(d1) d2/σ-e^{-qT}\varphi(d_1)\,d_2/\sigma(5D.4)
Charm, q=0q = 0−φ(d1) (2rT−d2σT)/(2TσT)-\varphi(d_1)\,(2rT - d_2\sigma\sqrt{T})/(2T\sigma\sqrt{T})(5D.9)
Volgaν d1d2/σ\nu\,d_1d_2/\sigma(5D.14)
Speed−(Γ/S)(d1/(σT)+1)-(\Gamma/S)\big(d_1/(\sigma\sqrt{T}) + 1\big)(5D.17)
Color, with k=(2rT−d2σT)/(σT)k = (2rT - d_2\sigma\sqrt{T})/(\sigma\sqrt{T})(Γ/2T)(1+d1k)(\Gamma/2T)(1 + d_1k)(5D.19)

10 · Volatility

From Chapters 5E, 5G, 9A and 9B. OiO_i, HiH_i, LiL_i and CiC_i are day ii's open, high, low and close.

QuantityFormulaWhere
Rule of 16daily move≈annual IV/16\text{daily move} \approx \text{annual IV}/16(5E.3)
Close-to-close variance1N∑i[ln⁡(Ci/Ci−1)]2\tfrac1N\sum_i [\ln(C_i/C_{i-1})]^2(5E.4)
Parkinson variance14Nln⁡2∑i[ln⁡(Hi/Li)]2\tfrac{1}{4N\ln 2}\sum_i [\ln(H_i/L_i)]^2(5E.5)
Garman-Klass variance1N∑i[12(ln⁡HiLi)2−(2ln⁡2−1)(ln⁡CiOi)2]\tfrac1N\sum_i \big[\tfrac12(\ln\tfrac{H_i}{L_i})^2 - (2\ln 2 - 1)(\ln\tfrac{C_i}{O_i})^2\big](5E.6)
An at-the-money callC≈0.4 SσTC \approx 0.4\,S\sigma\sqrt{T}(5E.7)
IV rank(IVnow−IVlow)/(IVhigh−IVlow)(\text{IV}_{\text{now}} - \text{IV}_{\text{low}})/(\text{IV}_{\text{high}} - \text{IV}_{\text{low}})(5G.1)
Forward volatilityσf=(σ22T2−σ12T1)/(T2−T1)\sigma_f = \sqrt{(\sigma_2^2T_2 - \sigma_1^2T_1)/(T_2 - T_1)}(5G.3)
SkewIV25Δ put−IV25Δ call\text{IV}_{25\Delta\,\text{put}} - \text{IV}_{25\Delta\,\text{call}}(5G.4)
The VIX, as a varianceσ2=2T∑iΔKiKi2erTQ(Ki)−1T(FK0−1)2\sigma^2 = \tfrac2T\sum_i \tfrac{\Delta K_i}{K_i^2}e^{rT}Q(K_i) - \tfrac1T\big(\tfrac{F}{K_0} - 1\big)^2(9A.1)
Gamma at two expiriesΓ(T1)/Γ(T2)≈T2/T1\Gamma(T_1)/\Gamma(T_2) \approx \sqrt{T_2/T_1}(9B.1)

11 · Hedging

From Parts VI and VII. nn is the number of contracts, $Γ1%\$\Gamma_{1\%} is dollar gamma per 1% move, and Π\Pi is the value of the hedged book.

QuantityFormulaWhere
Shares to hedgen×m×Δn \times m \times \Delta(6C.1)
Variance of one step's hedging error12Γ2S4σ4(Δt)2\tfrac12\Gamma^2S^4\sigma^4(\Delta t)^2(6C.2)
A short-gamma dealer's P&LdΠ≈12ΓS2[σ2dt−(dS/S)2]d\Pi \approx \tfrac12\Gamma S^2\big[\sigma^2dt - (dS/S)^2\big](6D.2)
Dollar gamma per 1% move$Γ1%=Γ×S2×0.01\$\Gamma_{1\%} = \Gamma \times S^2 \times 0.01(6D.3)
Gain or loss on a pp% move12×$Γ1%×p2/100\tfrac12 \times \$\Gamma_{1\%} \times p^2/100(6D.4)
Spread cost against gamma gain2s/h2s/h(6E.2)
Geometric Brownian motiondS=μS dt+σS dWdS = \mu S\,dt + \sigma S\,dW(7A.2)
Itô's lemma in GreeksdV=Θ dt+Δ dS+12Γσ2S2 dtdV = \Theta\,dt + \Delta\,dS + \tfrac12\Gamma\sigma^2S^2\,dt(7A.6)
The log pricedln⁡S=(μ−12σ2) dt+σ dWd\ln S = (\mu - \tfrac12\sigma^2)\,dt + \sigma\,dW(7A.7)
The Black-Scholes-Merton equation∂V∂t+rS∂V∂S+12σ2S2∂2V∂S2=rV\tfrac{\partial V}{\partial t} + rS\tfrac{\partial V}{\partial S} + \tfrac12\sigma^2S^2\tfrac{\partial^2 V}{\partial S^2} = rV(7A.13)
A delta-hedged book's P&LdΠ−rΠ dt≈12ΓS2[(dS/S)2−σI2 dt]d\Pi - r\Pi\,dt \approx \tfrac12\Gamma S^2\big[(dS/S)^2 - \sigma_I^2\,dt\big](7A.15)
How delta changesdΔ≈Γ dS+vanna dσ+charm dtd\Delta \approx \Gamma\,dS + \text{vanna}\,d\sigma + \text{charm}\,dt(7B.1)

12 · Gamma exposure

From Part VIII. sis_i is +1 where dealers are long a line and −1 where they are short, which is an assumption (Chapter 8B). GG is the negative of published GEX, and κ\kappa measures how far prices move per unit of hedging flow (Chapter 8D). λ\lambda is the index points that $1 billion of hedging moves the index, with GG then in billions of dollars per 1% move. At one strike, ww is the damping of the dealers' gamma and cc the drift of their charm (Chapter 8E). E∣r∣\mathbb{E}\lvert r\rvert is the average size of a day's return (Chapter 8G).

QuantityFormulaWhere
One line's dollar gammaΓ$,i=siΓiS2MNi×0.01\Gamma_{\$,i} = s_i\Gamma_iS^2MN_i \times 0.01(8A.1)
Gamma exposureGEX=∑iΓ$,i\text{GEX} = \sum_i \Gamma_{\$,i}(8A.2)
Dealers' hedge flowΔH≈−GEX×(ΔS/S)/0.01\Delta H \approx -\text{GEX} \times (\Delta S/S)/0.01(8A.3)
The flow in ES contractsnES=ΔH/(50 S)n_{\text{ES}} = \Delta H/(50\,S)(8A.4)
Volatility with feedbackσeff2=σ2/(1−κG)2\sigma_{\text{eff}}^2 = \sigma^2/(1 - \kappa G)^2(8D.1)
The loop gain in dollarsκG=λG/(0.01 S)\kappa G = \lambda G/(0.01\,S)(8D.5)
A move at a pinning strikedS=(news−c)/(1+w)dS = (\text{news} - c)/(1 + w)(8E.3)
Vanna exposureVEX=∑isi vannai×0.01 SMNi\text{VEX} = \sum_i s_i\,\text{vanna}_i \times 0.01\,SMN_i(8F.1)
Charm exposure, per dayCHEX=∑isi (charmi/365) SMNi\text{CHEX} = \sum_i s_i\,(\text{charm}_i/365)\,SMN_i(8F.2)
Charm from vannacharm=−vanna×σ/(2T)\text{charm} = -\text{vanna} \times \sigma/(2T)(8F.3)
Daily moves to annual volatilityσ=252π/2  E∣r∣≈19.9 E∣r∣\sigma = \sqrt{252}\sqrt{\pi/2}\;\mathbb{E}\lvert r\rvert \approx 19.9\,\mathbb{E}\lvert r\rvert(8G.1)
Directional persistenceP=MA21(r)/MA21(∣r∣)P = \text{MA}_{21}(r)/\text{MA}_{21}(\lvert r\rvert)(8I.1)

13 · Edges

From Part X. ρ\rho is the correlation between strategies, and YY is a number of years.

QuantityFormulaWhere
Extra return from a higher Sharpe ratioΔμ=ΔSR×σp\Delta\mu = \Delta\text{SR} \times \sigma_p(10A.1)
NN strategies with correlation ρ\rhoSRN=SRN/(1+(N−1)ρ)\text{SR}_N = \text{SR}\sqrt{N/(1 + (N-1)\rho)}(10A.3)
The equity risk premiumE[Req]−r=βeq πcons+behavioral premia\mathbb{E}[R_{\text{eq}}] - r = \beta_{\text{eq}}\,\pi_{\text{cons}} + \text{behavioral premia}(10B.1)
Expected return implied by dividendsk=D1/P+gk = D_1/P + g and ERP=k−r\text{ERP} = k - r(10B.4)
The variance risk premiumVRPt=σI,t2−Et[σR,t,T2]\text{VRP}_t = \sigma_{I,t}^2 - \mathbb{E}_t[\sigma_{R,t,T}^2](10C.1)
Implied minus realized volatilityσI,t−σR, t−21, t\sigma_{I,t} - \sigma_{R,\,t-21,\,t}(10H.3)
Time-series momentum weightwi,t=sign⁡(Ri,t−12,t)/σi,tw_{i,t} = \operatorname{sign}(R_{i,t-12,t})/\sigma_{i,t}(10D.1)
When adding BB to PP raises the Sharpe ratioSRB>ρ SRP\text{SR}_B > \rho\,\text{SR}_P(10D.2)
CarryCi,t=(Si,t−Fi,t)/Fi,tC_{i,t} = (S_{i,t} - F_{i,t})/F_{i,t}(10E.1)
A long-short factorFt=Rttop−RtbottomF_t = R^{\text{top}}_t - R^{\text{bottom}}_t(10F.1)
t-statistic of a Sharpe ratiot=SRYt = \text{SR}\sqrt{Y}(10F.2)
The capital asset pricing modelE[Ri]−r=βi (E[Rm]−r)\mathbb{E}[R_i] - r = \beta_i\,(\mathbb{E}[R_m] - r)(10F.6)
Betting against betaBABt=1βL(RL,t−r)−1βH(RH,t−r)\text{BAB}_t = \tfrac{1}{\beta_L}(R_{L,t} - r) - \tfrac{1}{\beta_H}(R_{H,t} - r)(10F.7)
What an overlay earnsE[ktRt]=E[kt] E[Rt]+Cov⁡(kt,Rt)\mathbb{E}[k_tR_t] = \mathbb{E}[k_t]\,\mathbb{E}[R_t] + \operatorname{Cov}(k_t, R_t)(10G.1)
A rebalancing imbalanceImbalancet=wt−w∗\text{Imbalance}_t = w_t - w^*(10G.3)
A regime filter scales a positionQt=m(xt) QQ_t = m(x_t)\,Q(10H.1)
The VIX term-structure ratioFt=VIXt/VIX3MtF_t = \text{VIX}_t/\text{VIX3M}_t(10H.2)
Compound annual growth ratec=(VT/V0)1/T−1c = (V_T/V_0)^{1/T} - 1(10I.2)

The Edge Book's own summary card gives the term-structure filter with other thresholds than its chapter on filters, which Chapter 10H follows. The card halts new short-volatility entries when the ratio stays above 1.05 for 3 days, cuts short volatility by 50% above 1.10 for 3 days, and re-enters in phases once the ratio has been below 1.00 for 5 days. Chapter 10H halts new entries above 1.00, halves the sleeve above 1.05 and keeps only deep tails above 1.15, each after 3 closes. The source does not reconcile the two, and 10H's is the fuller rule.

14 · Swing trading

From Part XI. CtC_t, HtH_t and LtL_t are bar tt's close, high and low, nn is a look-back in bars, and Uˉt\bar U_t and Dˉt\bar D_t are the smoothed average up and down moves.

QuantityFormulaWhere
Simple moving averageMt=1n∑i=0n−1Ct−iM_t = \tfrac1n\sum_{i=0}^{n-1} C_{t-i}(11A.1)
Exponential moving averageEt=αCt+(1−α) Et−1E_t = \alpha C_t + (1 - \alpha)\,E_{t-1}(11A.2)
An at-the-money straddlestraddle/S0≈0.8 σT\text{straddle}/S_0 \approx 0.8\,\sigma\sqrt{T}(11A.3)
Signal against noise over hh daysμh/(σh)=(μ/σ)h\mu h/(\sigma\sqrt{h}) = (\mu/\sigma)\sqrt{h}(11B.2)
Wilder smoothingWt=Wt−1+(xt−Wt−1)/nW_t = W_{t-1} + (x_t - W_{t-1})/n(11C.1)
Relative strength indexRSIt=100 Uˉt/(Uˉt+Dˉt)\text{RSI}_t = 100\,\bar U_t/(\bar U_t + \bar D_t)(11C.4)
MACDMACDt=Et(12)−Et(26)\text{MACD}_t = E^{(12)}_t - E^{(26)}_t(11C.5)
True rangemax⁡{Ht−Lt, ∣Ht−Ct−1∣, ∣Lt−Ct−1∣}\max\{H_t - L_t,\ \lvert H_t - C_{t-1}\rvert,\ \lvert L_t - C_{t-1}\rvert\}(11C.6)
Average true rangeATRt=((n−1) ATRt−1+TRt)/n\text{ATR}_t = \big((n-1)\,\text{ATR}_{t-1} + \text{TR}_t\big)/n(11C.7)
Directional indexDXt=100 ∣DIt+−DIt−∣/(DIt++DIt−)\text{DX}_t = 100\,\lvert\text{DI}^+_t - \text{DI}^-_t\rvert/(\text{DI}^+_t + \text{DI}^-_t)(11C.9)
Where a close sits in its Bollinger bands%Bt=12+zt/4\%B_t = \tfrac12 + z_t/4(11C.11)
Independent readings among kk indicatorsneff=k/(1+(k−1)ρ)n_{\text{eff}} = k/(1 + (k-1)\rho)(11C.17)
Mansfield relative strengthMRSt=Rt/Rˉt−1\text{MRS}_t = R_t/\bar R_t - 1(11D.1)
How often a pattern that fires is realPPV=sπ/(sπ+f(1−π))\text{PPV} = s\pi/\big(s\pi + f(1 - \pi)\big)(11D.4)
The composite scoreCS=100∑k=18wksk\text{CS} = 100\sum_{k=1}^{8} w_k s_k(11G.2)
Units for a risk budget BB and stop distance ddn=⌊B/(d m)⌋n = \lfloor B/(d\,m) \rfloor(11H.1)
Internal bar strengthIBS=(C−L)/(H−L)\text{IBS} = (C - L)/(H - L)(11H.2)
Implied volatility with an event of size JJσI=σa2+J2/T\sigma_I = \sqrt{\sigma_a^2 + J^2/T}(11I.2)
The implied move(C+P)/S(C + P)/S(11I.3)
Volume-weighted average price∑ipivi/∑ivi\sum_i p_iv_i/\sum_i v_i(11J.1)
Chance a release reaches a stop dd awayPr⁡(stop)=N(−0.8 d/m)\Pr(\text{stop}) = N(-0.8\,d/m), with mm the expected move(11K.3)
One-factor modelRi=βiRm+εiR_i = \beta_iR_m + \varepsilon_i(11L.1)
Correlation from one factorρij=βiβjσm2/(σiσj)\rho_{ij} = \beta_i\beta_j\sigma_m^2/(\sigma_i\sigma_j)(11L.4)
Independent bets among NN positionsNeff=N/(1+(N−1)ρ)N_{\text{eff}} = N/(1 + (N-1)\rho)(11L.5)
An at-the-money option's daily decay, DD days out(∣Θ∣/365)/C≈1/(2D)(\lvert\Theta\rvert/365)/C \approx 1/(2D)(11M.1)
Share of value lost holding hh daysL(D,h)=1−(D−h)/DL(D, h) = 1 - \sqrt{(D - h)/D}(11M.2)

15 · Strategies and margin

From Part XII.

QuantityFormulaWhere
A structure's slope at expiryc−p+hc - p + h: net calls struck below, less net puts struck above, plus shares(12A.1)
The rate a box spread impliesr=((W−C)/C)×365/nr = \big((W - C)/C\big) \times 365/n, for width WW, credit CC, nn days(12E.2)
Reg-T margin on a short uncovered option, per pointP+max⁡(0.20 S−O, 0.10 S)P + \max(0.20\,S - O,\ 0.10\,S)(12G.1)
When exercising a put early can payK r T>time valueK\,r\,T > \text{time value}(12H.1)

16 · Discipline

From Part XIII and Chapter 1F. The Edge Book puts the typical product of the haircut's factors at 0.30 to 0.60, and calls a conviction score of 0.5 or more high conviction.

QuantityFormulaWhere
The retail haircutSRuser=SRpaper h1h2h3h4\text{SR}_{\text{user}} = \text{SR}_{\text{paper}}\,h_1h_2h_3h_4(13A.1)
The conviction scoreCi(t)=Ei Mi Ri(t) Xi(t) SiC_i(t) = E_i\,M_i\,R_i(t)\,X_i(t)\,S_i(13B.2)
The average factor behind a scoreg=C1/5g = C^{1/5}(13B.3)
The Real Value score, for single stocksRV=F T O G V X S\text{RV} = F\,T\,O\,G\,V\,X\,S(13B.4)
Trade only ifμ^net−λ ES95−κ Cexec>0\hat\mu_{\text{net}} - \lambda\,\text{ES}_{95} - \kappa\,C_{\text{exec}} > 0(1F.12)
Positions from a loss budgetn≤⌊Bexp⁡/Lmax⁡⌋n \le \lfloor B_{\exp}/L_{\max} \rfloor(13C.1)
The portfolio's tail budget∑iES95,i≤Bportfolio\sum_i \text{ES}_{95,i} \le B_{\text{portfolio}}(13C.2)
Readiness to trade∏k=17sk\prod_{k=1}^{7} s_k(13C.3)
Risk contribution of sleeve iiRCi=wi (Σw)i/σp\text{RC}_i = w_i\,(\boldsymbol{\Sigma}\mathbf{w})_i/\sigma_p(13G.2)
Risk contributions add up to the whole∑iRCi=σp\sum_i \text{RC}_i = \sigma_p(13G.5)
One position's vega, for nin_i contracts held long (si=+1s_i = +1) or short (−1-1)Vi=si ni m νiV_i = s_i\,n_i\,m\,\nu_i(13H.1)
The book's vega, weighted by each instrument's VIX betaV=∑iβiViV = \sum_i \beta_i V_i(13H.2)