Home/Study Plan/Finite Horizon Stopping
๐ŸŽฏ

Optimal Stopping & Thresholds

Finite Horizon Stopping

Hard4โ€“5 hrsBackwards InductionDynamic ProgrammingFinite HorizonOptions

Overview

Finite horizon optimal stopping is solved by backwards induction (dynamic programming). You start from the last period (forced stop) and work back, computing the value of having k periods left. The threshold at each period: stop if the current draw exceeds the continuation value. Crucially, earlier periods have LOWER thresholds (be more selective when you have many chances left, more accepting when nearly out of time). This is the fundamental principle behind American option exercise: exercise early only if in-the-money value exceeds holding value.

How to Recognize

  • โ†’You have EXACTLY N chances to stop
  • โ†’American option pricing (can exercise at any time up to expiry)
  • โ†’'You can roll at most N times'
  • โ†’The horizon matters โ€” unlike infinite horizon, threshold changes each period
  • โ†’Problem asks for optimal value at each step

Step-by-Step Approach

  1. 1.Work BACKWARDS from the last period
  2. 2.V_N(x) = terminal payoff (no choice)
  3. 3.V_k(x) = max(stop payoff(x), E[V_{k+1}(X')])
  4. 4.Threshold at period k: ฯ„_k = smallest x such that payoff(x) โ‰ฅ E[V_{k+1}(X')]
  5. 5.Thresholds typically INCREASE going backwards (earlier rounds are more lenient)

Key Formulas

01Vk(x)=maxโก(g(x),โ€…โ€ŠE[Vk+1(Xโ€ฒ)])V_k(x) = \max\bigl(g(x),\; E[V_{k+1}(X')]\bigr) โ€” Bellman backwards
02ฯ„k=infโก{x:g(x)โ‰ฅE[Vk+1(Xโ€ฒ)]}\tau_k = \inf\{x : g(x) \ge E[V_{k+1}(X')]\}
03VN=E[X],โ€…โ€ŠVNโˆ’1ย stopย ifย X>VN,โ€ฆV_N = E[X], \; V_{N-1}\text{ stop if }X > V_N,\ldots (dice/uniform examples)
04Vkdie=E[X]+โˆ‘j=1kโˆ’1P(Xโ‰คVj)/jร—correctionV_k^{\text{die}} = E[X] + \sum_{j=1}^{k-1} P(X \le V_j)/j \times \text{correction}

Worked Examples

0Quick Example
N=3 dice rolls, keep last. Vโ‚ƒ=3.5. Vโ‚‚: stop if X>3.5 (Xโ‰ฅ4). Vโ‚‚=(1/6)(4+5+6)+(3/6)ร—3.5=2.5+1.75=4.25. Vโ‚: stop if X>4.25 (Xโ‰ฅ5). Vโ‚=(1/6)(5+6)+(4/6)ร—4.25=1.833+2.833=4.667.

Problem

You roll a fair die repeatedly, up to N times. You must stop at some point and take the value of that roll. What is V_N (optimal expected value with N rolls remaining)?

Solution

1

Vโ‚ = E[die] = (1+2+3+4+5+6)/6 = 3.5. (One roll left, must take it.)

2

Vโ‚‚: Stop now if X > Vโ‚ = 3.5, i.e., X โ‰ฅ 4. Otherwise use the 1 remaining roll.

3

Vโ‚‚ = P(Xโ‰ฅ4)ร—E[X|Xโ‰ฅ4] + P(X<4)ร—Vโ‚ = (3/6)ร—5 + (3/6)ร—3.5 = 2.5+1.75 = 4.25.

4

Vโ‚ƒ: Stop now if X > Vโ‚‚ = 4.25, i.e., X โ‰ฅ 5.

5

Vโ‚ƒ = P(Xโ‰ฅ5)ร—E[X|Xโ‰ฅ5] + P(X<5)ร—Vโ‚‚ = (2/6)ร—5.5 + (4/6)ร—4.25 = 1.833+2.833 = 4.667.

6

Vโ‚„: Stop if X > Vโ‚ƒ โ‰ˆ 4.667, i.e., X = 6.

7

Vโ‚„ = (1/6)ร—6 + (5/6)ร—4.667 = 1+3.889 = 4.889.

8

Vโ‚… = Vโ‚† = ... โ‰ˆ 4.889 (diminishing returns; threshold stuck at X=6).

Answer

V1=3.5,โ€…โ€ŠV2=4.25,โ€…โ€ŠV3=4.667,โ€…โ€ŠV4โ‰ˆ4.889,โ€…โ€ŠVโˆžโ‰ˆ4.9V_1=3.5,\; V_2=4.25,\; V_3=4.667,\; V_4\approx4.889,\; V_\infty\approx4.9. Thresholds: ฯ„1=1,ฯ„2=4,ฯ„3=5,ฯ„4=6\tau_1=1, \tau_2=4, \tau_3=5, \tau_4=6. The gain from more rolls rapidly diminishes.

Common Mistakes

  • !

    Working FORWARDS instead of backwards. You MUST start from the terminal condition and work back.

  • !

    Using the INFINITE horizon threshold for a finite horizon problem. With finite N, thresholds change each period.

  • !

    For the dice problem: computing V_k as if you have k-1 remaining rolls AFTER the current one, rather than k rolls total.

  • !

    In option pricing: ignoring the no-early-exercise theorem for American calls on non-dividend stocks (European = American for non-dividend stocks โ€” this is a classic interview pitfall).

Practice Problems

Click "Show Answer" to reveal
1

You draw from Uniform{1,2,3,4,5} with at most 2 draws (take the last one drawn). What is Vโ‚‚ (optimal value with 2 draws remaining)?

Hint: Vโ‚ = E[X] = 3. With 2 draws: stop at first draw if X > Vโ‚ = 3, i.e., X โ‰ฅ 4.
2

You have 4 rolls of a die. After each roll you can accept the current value or pay $0.50 to roll again (up to 4 times total, no cost for first roll). What is the expected value of optimal play?

Hint: Incorporate the cost: continuation value at each step = V_{k-1} โˆ’ $0.50. Stop if current X > V_{k-1} โˆ’ 0.50.

Only works in the Electron app

<webview> is an Electron-only tag. Run npm run electron:dev to use this.

25:00Focus
0

25 min focus ยท 5 min break ยท long break every 4 sessions

The Ultimate Grind