Markets: A Rigorous Course

Summary of key results

Foundation about 10 min
Result Formula
Bar aggregation O=O1O=O_1, H=max⁡HiH=\max H_i, L=min⁡LiL=\min L_i, C=CkC=C_k, V=∑ViV=\sum V_i (4A.1)
Candle shapes under BM law of (body, wicks)/range is timeframe-free (Prop. 4A.1); doji ≈ 9.8%, hammer shape ≈ 2.9%
Expected range E[H−L]≈1.596 σΔ S\mathbb E[H-L]\approx1.596\,\sigma\sqrt\Delta\,S
Touch probability 2Φ(−δ/(σT))2\Phi(-\delta/(\sigma\sqrt T)); after a touch, bounce vs break is 12\tfrac12 (Prop. 4A.2)
Close minus VWAP Var⁡=σ2(T−2∫wt+∬wwmin⁡)\operatorname{Var}=\sigma^2(T-2\int wt+\iint ww\min); uniform volume σ2T/3\sigma^2T/3 (4A.3)
Gap fill 2Φ(−∣g∣/σin)2\Phi(-\lvert g\rvert/\sigma_{in}) (4A.4)
Breadth, one factor E[A/N∣f]=1N∑Φ(βif/si)\mathbb E[A/N\mid f]=\frac1N\sum\Phi(\beta_if/s_i) (4A.5)
Bracket, no drift p=b/(a+b)p=b/(a+b), Eτ=ab/σ2\mathbb E\tau=ab/\sigma^2
Bracket, drift p=(1−eγb)/(e−γa−eγb)p=(1-e^{\gamma b})/(e^{-\gamma a}-e^{\gamma b}), γ=2μ/σ2\gamma=2\mu/\sigma^2 (4A.6); Eτ=(ap−b(1−p))/μ\mathbb E\tau=(ap-b(1-p))/\mu (4A.7)
Exits and expectancy EXτ=μEτ\mathbb E X_\tau=\mu\mathbb E\tau for any stopping time (4A.8)
Stop over horizon Φ(−b−μTσT)+e−2μb/σ2Φ(−b+μTσT)\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) (4A.9)
Discrete monitoring shift barrier by 0.5826 σΔt0.5826\,\sigma\sqrt{\Delta t} (4A.10)
ATR TR=max⁡(H,C−1)−min⁡(L,C−1)\mathrm{TR}=\max(H,C_{-1})-\min(L,C_{-1}) (4A.11); σ^=ATR/(1.596S)\hat\sigma=\mathrm{ATR}/(1.596S) (4A.12); kk-ATR stop hit in nn days 2Φ(−1.596k/n)2\Phi(-1.596k/\sqrt n) (4A.13)
Trailing stop peak ∼Exp\sim\mathrm{Exp}, mean (eγd−1)/γ(e^{\gamma d}-1)/\gamma (4A.14); give-back dd; P(loss)=1−e−d/mP(\text{loss})=1-e^{-d/m}; Eτ=(m−d)/μ\mathbb E\tau=(m-d)/\mu or d2/σ2d^2/\sigma^2 (4A.15)
Any sizing rule EG=μE∫θdt\mathbb EG=\mu\mathbb E\int\theta dt, noise variance σ2E∫θ2dt\sigma^2\mathbb E\int\theta^2dt (4A.16)
Time stop optimal at the signal horizon hh (Prop. 4A.13)
Widening a stop expected P&L μEτ\mu\mathbb E\tau, worse for wider stops when μ<0\mu<0 (Prop. 4A.14)

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.