Quantitative Finance · Book 4 · Methods

Quantitative Methods

Quantitative Methods · Methods

10Optimal Stopping and Impulse Control

A bank’s treasury desk carries a euro exposure that drifts with its clients’ flows: every payment, every trade finance deal, moves it by a few million. Each hedge ticket costs a fixed amount; carrying the exposure costs a risk charge that grows with its square. Hedging after every client flow wastes fees; never hedging lets the risk grow without bound. The answer is a band: do nothing while the exposure is inside ±b\pm b, trade it back to zero when it touches the edge. With the desk’s numbers the best band is ±\pmUSD 34.6 million, a hedge every three days on average, and the policy costs half as much as hedging once a day at the close; if the ticket fee halves, the band narrows by only 16%, because the optimal band grows with the fourth root of the fee. Deciding when to act is a stopping problem; deciding when and how much to act, repeatedly, is impulse control. This chapter solves both: the Snell envelope in discrete time, free boundaries and smooth pasting in continuous time, impulse control and its no-trade region, and singular control, its limit when costs are proportional.

10.1 Optimal stopping in discrete time: the Snell envelope

Definition 10.1 (Optimal stopping problem, Snell envelope)

Given an adapted, integrable reward process (Gn)n≤N(G_n)_{n\le N}, the optimal stopping problem is to find sup⁡τE[Gτ]\sup_\tau\E[G_\tau] over stopping times τ≤N\tau \le N. Its Snell envelope is defined backward by UN=GNU_N = G_N and Un=max⁡(Gn,En[Un+1])U_n = \max(G_n, \E_n[U_{n+1}]).

Theorem 10.2 (The Snell envelope solves the stopping problem)

UU is the smallest supermartingale dominating GG; Un=sup⁡τ≥nEn[Gτ]U_n = \sup_{\tau \ge n}\E_n[G_\tau]; and τ∗=min⁡{n:Un=Gn}\tau^* = \min\{n : U_n = G_n\} is optimal.

Proof. Un≥En[Un+1]U_n \ge \E_n[U_{n+1}] and Un≥GnU_n \ge G_n by construction. If YY is a supermartingale dominating GG, then YN≥UNY_N \ge U_N and, backward, Yn≥max⁡(Gn,En[Yn+1])≥UnY_n \ge \max(G_n, \E_n[Y_{n+1}]) \ge U_n. Up to τ∗\tau^* the envelope equals its conditional expectation, so Un∧τ∗U_{n\wedge\tau^*} is a martingale and E[Gτ∗]=E[Uτ∗]=U0\E[G_{\tau^*}] = \E[U_{\tau^*}] = U_0; any other τ\tau gives E[Gτ]≤E[Uτ]≤U0\E[G_\tau] \le \E[U_\tau] \le U_0 by optional stopping for the supermartingale. ∎

Definition 10.3 (Continuation region, stopping region)

For a Markov problem with Gn=g(n,Xn)G_n = g(n, X_n) and Un=u(n,Xn)U_n = u(n, X_n), the stopping region is {(n,x):u=g}\{(n, x) : u = g\} and the continuation region its complement, where waiting is strictly better.

The running project’s solver of chapter 9 computes the Snell envelope by adding the stopping reward to the backward induction: Vt=max⁡(stop,continue)V_t = \max(\text{stop}, \text{continue}). An American option is the best-known stopping problem; One Quant Book 5, chapter 6, prices it and names its boundary. Here the same mathematics decides when to take profit on a trade.

10.2 Free boundaries and variational inequalities

In continuous time, with XX a diffusion with generator L\mathcal L and a discount rate rr, the value V(x)=sup⁡τEx[e−rτg(Xτ)]V(x) = \sup_\tau\E_x[e^{-r\tau}g(X_\tau)] of a perpetual stopping problem satisfies, where smooth,

max⁡(LV−rV, g−V)=0:\max\bigl(\mathcal LV - rV,\ g - V\bigr) = 0:

in the continuation region V>gV > g and VV solves the equation LV=rV\mathcal LV = rV; in the stopping region V=gV = g and waiting would not pay, Lg−rg≤0\mathcal Lg - rg \le 0.

Definition 10.4 (Variational inequality, free-boundary problem, smooth pasting)

The display above is a variational inequality. Written as “solve LV=rV\mathcal LV = rV on an unknown region DD with V=gV = g on its boundary”, it is a free-boundary problem: the boundary ∂D\partial D is part of the solution. The extra condition that fixes it, V′=g′V' = g' on ∂D\partial D where gg is smooth, is smooth pasting (or smooth fit).

Proposition 10.5 (Taking profit on a drifting position)

Let Xt=x+μt+σWtX_t = x + \mu t + \sigma W_t be the running P&L of a position, cc the cost of closing it, and r>0r > 0 a discount rate. The optimal rule for sup⁡τE[e−rτ(Xτ−c)]\sup_\tau\E[e^{-r\tau}(X_\tau - c)] closes the first time XX reaches b∗=c+1/θb^* = c + 1/\theta, where θ>0\theta > 0 solves 12σ2θ2+μθ−r=0\tfrac12\sigma^2\theta^2 + \mu\theta - r = 0, and V(x)=(b∗−c)eθ(x−b∗)V(x) = (b^* - c)e^{\theta(x - b^*)} for x<b∗x < b^*.

Proof. For a threshold bb, Ex[e−rτb]=eθ(x−b)\E_x[e^{-r\tau_b}] = e^{\theta(x - b)} for x<bx < b, since e−rt+θXte^{-rt + \theta X_t} is a martingale exactly when θ\theta solves the quadratic; so the value of the bb-rule is (b−c)eθ(x−b)(b - c)e^{\theta(x - b)}, maximised over bb at b=c+1/θb = c + 1/\theta. There V′(b∗)=θ(b∗−c)=1=g′(b∗)V'(b^*) = \theta(b^* - c) = 1 = g'(b^*): smooth pasting. On x≥b∗x \ge b^*, V=x−cV = x - c and Lg−rg=μ−r(x−c)≤0\mathcal Lg - rg = \mu - r(x - c) \le 0 because x−c≥1/θ≥μ/rx - c \ge 1/\theta \ge \mu/r, so the variational inequality holds and a verification argument as in chapter 9 applies. ∎

With μ=0.5\mu = 0.5 and σ=2\sigma = 2 basis points a day, a closing cost of 5 bp and r=2%r = 2\% a day, θ=0.0351\theta = 0.0351 and b∗=33.5b^* = 33.5 bp. Backward induction on a grid, observing the position once a day, stops at 32.2 bp and values the position at 8.79 bp at zero against 8.80 (Figure 10.1): the daily grid stops a little earlier, by about the overshoot 0.5826 σΔt=1.20.5826\,\sigma\sqrt{\Delta t} = 1.2 bp of chapter 2.

Taking profit on a drifting position (= 0.5, = 2 bp a day, closing cost 5 bp, discount 2% a day). The value of waiting (solid) lies above the value of closing now (dashed) until b* = c + 1/, where it meets it with the same slope: smooth pasting. Data: closed form, checked by the chapter’s grid solver.
Figure 10.1. Taking profit on a drifting position (μ=0.5\mu = 0.5, σ=2\sigma = 2 bp a day, closing cost 5 bp, discount 2% a day). The value of waiting (solid) lies above the value of closing now (dashed) until b∗=c+1/θb^* = c + 1/\theta, where it meets it with the same slope: smooth pasting. Data: closed form, checked by the chapter’s grid solver.

10.3 Impulse control and no-trade regions

Definition 10.6 (Impulse control, quasi-variational inequality)

Impulse control acts on a state by discrete interventions: at stopping times τ1<τ2<…\tau_1 < \tau_2 < \dots it moves XX by jumps ξi\xi_i, each paying a cost with a fixed part K>0K > 0. Its value function satisfies a quasi-variational inequality: max⁡(LV−rV−f, MV−V)=0\max(\mathcal LV - rV - f,\ \mathcal MV - V) = 0 (for a cost-minimisation, with signs reversed), where MV(x)=sup⁡ξ{V(x+ξ)−K−cost(ξ)}\mathcal MV(x) = \sup_\xi\{V(x + \xi) - K - \text{cost}(\xi)\} is the value of acting now: the obstacle depends on the unknown VV itself.

Definition 10.7 (No-trade region)

The no-trade region of a trading or hedging policy is the set of states in which it does not trade; for one exposure it is an interval (−b,b)(-b, b), and a band policy trades back to ±a\pm a when the exposure reaches ±b\pm b.

For the desk, let the exposure move as σWt\sigma W_t between hedges, charge γXt2\gamma X_t^2 per unit time for carrying it, and charge KK per hedge ticket plus cc per unit traded.

Proposition 10.8 (The cost of a band policy)

The long-run average cost of the band policy (a,b)(a, b) is

C(a,b)=(K+c(b−a)+γ(b4−a4)6σ2)σ2b2−a2.C(a, b) = \Bigl(K + c(b - a) + \frac{\gamma(b^4 - a^4)}{6\sigma^2}\Bigr)\frac{\sigma^2}{b^2 - a^2}.

With a fixed cost only (c=0c = 0) the optimal reset is a=0a = 0, and C(0,b)=Kσ2/b2+γb2/6C(0, b) = K\sigma^2/b^2 + \gamma b^2/6 is minimised at

b∗=(6Kσ2γ)1/4,C∗=2Kσ2γ/6,b^* = \Bigl(\frac{6K\sigma^2}{\gamma}\Bigr)^{1/4}, \qquad C^* = 2\sqrt{K\sigma^2\gamma/6},

where the fees and the risk charge each contribute half.

Proof. A cycle runs from ±a\pm a to the first exit of (−b,b)(-b, b). By Dynkin’s formula (chapter 4), m(x)=Ex[τ]m(x) = \E_x[\tau] and f(x)=Ex∫0τXt2 dtf(x) = \E_x\int_0^\tau X_t^2\,dt solve 12σ2m′′=−1\tfrac12\sigma^2m^{\prime\prime} = -1 and 12σ2f′′=−x2\tfrac12\sigma^2f^{\prime\prime} = -x^2 with zero boundary values: m(x)=(b2−x2)/σ2m(x) = (b^2 - x^2)/\sigma^2 and f(x)=(b4−x4)/(6σ2)f(x) = (b^4 - x^4)/(6\sigma^2). Each cycle costs K+c(b−a)+γf(a)K + c(b - a) + \gamma f(a); by the renewal–reward theorem the average cost is the expected cost per cycle over the expected cycle length. With c=0c = 0, ∂bC=0\partial_bC = 0 gives b4=6Kσ2/γb^4 = 6K\sigma^2/\gamma, and substituting gives C∗C^* with equal parts. ∎

With σ=20\sigma = 20 (USD millions per square-root day), γ=USD 0.5\gamma = \text{USD}~0.5 per (USD million)2^2 per day and K=USD 300K = \text{USD}~300, b∗=34.6b^* = 34.6 million and C∗=USD 200C^* = \text{USD}~200 a day, with a hedge every b∗2/σ2=3b^{*2}/\sigma^2 = 3 days on average (Figures 10.2 and 10.3). Hedging once a day at the close instead costs K+γσ2/2=400K + \gamma\sigma^2/2 = 400 a day. The cost curve is flat near its minimum and steep toward small bands: a band of 10 million costs 1 208 a day.

Ten simulated days of the desk’s exposure under the optimal band ± 34.6 million (dashed): client flows move it freely inside the no-trade region, and each touch of the band triggers a hedge back to zero. Data: the chapter’s tutorial, seeded.
Figure 10.2. Ten simulated days of the desk’s exposure under the optimal band ±34.6\pm 34.6 million (dashed): client flows move it freely inside the no-trade region, and each touch of the band triggers a hedge back to zero. Data: the chapter’s tutorial, seeded.
Average daily cost of the band policy against the band’s half-width, for the desk’s numbers (K = 300, = 20, = 0.5): minimum USD 200 at b* = 34.6 million (dot), half the cost of hedging once a day. Data: closed form, checked by simulation in the tutorial.
Figure 10.3. Average daily cost of the band policy against the band’s half-width, for the desk’s numbers (K=300K = 300, σ=20\sigma = 20, γ=0.5\gamma = 0.5): minimum USD 200 at b∗=34.6b^* = 34.6 million (dot), half the cost of hedging once a day. Data: closed form, checked by simulation in the tutorial.

10.4 Singular control and reflection

When the cost is proportional only (K=0K = 0), small trades cost little, and the optimal policy trades continuously but only at the boundary.

Definition 10.9 (Singular control, reflected Brownian motion)

A singular control acts through a process of finite variation that increases only on a set of times of Lebesgue measure zero. Reflected Brownian motion on [−b,b][-b, b] is X=σW+L−UX = \sigma W + L - U, with LL and UU nondecreasing, increasing only when X=−bX = -b and X=bX = b respectively: the minimal pushing that keeps XX in the interval.

Reflected Brownian motion on [−b,b][-b, b] has the uniform stationary law, so E[X2]=b2/3\E[X^2] = b^2/3, and its boundaries push at a total long-run rate of σ2/(2b)\sigma^2/(2b) (apply Itô’s formula to X2X^2: the drift σ2\sigma^2 is balanced by 2b2b times the pushing rate). The average cost is cσ2/(2b)+γb2/3c\sigma^2/(2b) + \gamma b^2/3, minimised at

b∗=(3cσ24γ)1/3:b^* = \Bigl(\frac{3c\sigma^2}{4\gamma}\Bigr)^{1/3}:

the cube-root law for proportional costs, against the fourth root for fixed costs (Figure 10.4). With c=USD 25c = \text{USD}~25 per million (a quarter of a basis point), b∗=24.7b^* = 24.7 million and the cost is USD 304 a day. With both costs, the optimal band triggers at 42.4 million and trades back to 12.8 million, not to zero, at USD 418 a day: the fixed fee makes trades large, the proportional cost makes them stop short. Davis and Norman (1990) solved the portfolio version, a no-trade region around the Merton fraction of chapter 9.

Optimal band against the size of the trading cost, on log scales: with a fixed fee per ticket the band grows like the fourth root of the fee, with a proportional cost like the cube root. A hundredfold change in cost moves the bands by factors of 3.2 and 4.6. Data: closed forms, the chapter’s tutorial.
Figure 10.4. Optimal band against the size of the trading cost, on log scales: with a fixed fee per ticket the band grows like the fourth root of the fee, with a proportional cost like the cube root. A hundredfold change in cost moves the bands by factors of 3.2 and 4.6. Data: closed forms, the chapter’s tutorial.

10.5 Tutorial: the hedging band

Goal. Compute the desk’s optimal band, check it by simulating the exposure, find the combined band with fixed and proportional costs, and solve the take-profit problem by smooth pasting and on a grid. End state: Figures 10.2, 10.3, 10.4 and 10.1 and the numbers of the weekend problem.

  1. The band’s cost by renewal–reward, and the two closed-form optima.

    def band_cost(b: float, a: float, sigma: float, gamma: float, K: float, c: float = 0.0) -> float:
        """Average cost per unit time: [K + c (b - a) + gamma (b^4 - a^4) / (6 sigma^2)] sigma^2 / (b^2 - a^2).
    
        A cycle starts at +-a and ends when |X| = b; E[cycle length] = (b^2 - a^2) / sigma^2 and
        E[int X^2 dt] = (b^4 - a^4) / (6 sigma^2) solve (1/2) sigma^2 f'' = -1 and -x^2 with f(+-b) = 0."""
        if not 0 <= a < b:
            return math.inf
        per_cycle = K + c * (b - a) + gamma * (b**4 - a**4) / (6 * sigma**2)
        return per_cycle * sigma**2 / (b**2 - a**2)
    
    
    def reflect_cost(b: float, sigma: float, gamma: float, c: float) -> float:
        """Reflected Brownian motion on [-b, b]: uniform stationary law, E[X^2] = b^2 / 3, and the
        boundaries push at total rate sigma^2 / (2 b)."""
        return c * sigma**2 / (2 * b) + gamma * b**2 / 3
    
    
    def optimal_fixed_band(sigma: float, gamma: float, K: float) -> tuple[float, float]:
        b = (6 * K * sigma**2 / gamma) ** 0.25
        return b, band_cost(b, 0.0, sigma, gamma, K)
    
    
    def optimal_proportional_band(sigma: float, gamma: float, c: float) -> tuple[float, float]:
        b = (3 * c * sigma**2 / (4 * gamma)) ** (1 / 3)
        return b, reflect_cost(b, sigma, gamma, c)
    Listing 10.1. The average cost of a band policy, of reflection, and the fourth- and cube-root bands. code/firm/impulse/firm_impulse.py
  2. The stopping threshold by smooth pasting.

    def stop_threshold_drift(mu: float, sigma: float, r: float, cost: float) -> tuple[float, float]:
        """Stop X_t = x + mu t + sigma W_t to collect X - cost, discounting at r. For x below the threshold
        V(x) = (b - cost) exp(theta (x - b)) with theta the positive root of sigma^2 th^2 / 2 + mu th - r = 0;
        smooth pasting V'(b) = 1 gives b* = cost + 1 / theta. Returns (b*, theta)."""
        theta = (-mu + math.sqrt(mu * mu + 2 * r * sigma * sigma)) / (sigma * sigma)
        return cost + 1 / theta, theta
    Listing 10.2. The take-profit threshold for a drifting position. code/firm/impulse/firm_impulse.py
  3. Run problem(), dp_stopping_check() and fig_bands.py; the simulation of 20 000 days at 390 checks a day gives USD 197 a day for the optimal band, and 200 with checks four times as frequent.

What to change next. Make the client flows mean-revert (the exposure an Ornstein–Uhlenbeck process) and find how the band widens; hedge two correlated currencies with one band on their risk-weighted combination.

10.6 Build: hedging bands

Purpose. Decide when the firm’s hedgers, rebalancers and inventory managers trade: every recurring hedge goes through a band whose width is computed, not guessed.

Interface. band_cost(b, a, sigma, gamma, K, c); reflect_cost(b, sigma, gamma, c); optimal_fixed_band; optimal_proportional_band; optimal_band(sigma, gamma, K, c) returning (a∗,b∗,C∗)(a^*, b^*, C^*); simulate_band; stop_threshold_drift(mu, sigma, r, cost); golden.

Rules. Units stated at the call site (exposure, time, currency); the closed forms are used where they exist and checked by simulation in the tests; the combined band is searched over both the trigger and the reset.

Acceptance tests. code/firm/impulse/tests/: the renewal formula against simulation; the fourth- and cube-root laws; the numerical optimum reduces to the closed forms when one cost vanishes; smooth pasting holds at the stopping threshold.

Stretch. Mean-reverting exposures; several currencies with a correlation matrix; the Davis–Norman portfolio no-trade region.

Sources and further reading

  • J. L. Snell, “Applications of martingale system theorems”, Transactions of the AMS 73, 1952.
  • G. M. Constantinides and S. F. Richard, “Existence of optimal simple policies for discounted-cost inventory and cash management in continuous time”, Operations Research 26, 1978.
  • M. H. A. Davis and A. R. Norman, “Portfolio selection with transaction costs”, Mathematics of Operations Research 15, 1990.
  • A. E. Whalley and P. Wilmott, “An asymptotic analysis of an optimal hedging model for option pricing with transaction costs”, Mathematical Finance 7, 1997.
  • G. Peskir and A. Shiryaev, Optimal Stopping and Free-Boundary Problems, Birkhäuser, 2006.

10.7 Exercises

Exercise 10.1 ★

With K=300K = 300, σ=20\sigma = 20 and γ=0.5\gamma = 0.5, what are the optimal band, its daily cost and the average number of hedges a day?

Solution

Solution of Exercise 10.1.

b∗=(6×300×400/0.5)1/4=34.6b^* = (6 \times 300 \times 400/0.5)^{1/4} = 34.6 million; C∗=2300×400×0.5/6=200C^* = 2\sqrt{300 \times 400 \times 0.5/6} = 200 dollars a day; σ2/b∗2=1/3\sigma^2/b^{*2} = 1/3 hedge a day, one every three days.

Exercise 10.2 ★

On the two-step tree of Figure 1.1, compute the Snell envelope of Gn=(Sn−100)+G_n = (S_n - 100)^+ and say where it is optimal to stop.

Solution

Solution of Exercise 10.2.

U2=G2=(2,0,0)U_2 = G_2 = (2, 0, 0) at S2=102,100,98S_2 = 102, 100, 98. U1=max⁡(1,1)=1U_1 = \max(1, 1) = 1 at 101 and max⁡(0,0)=0\max(0, 0) = 0 at 99; U0=max⁡(0,0.5)=0.5U_0 = \max(0, 0.5) = 0.5. At time 0 continue (U>GU > G); at time 1 stopping is optimal (at 101 exactly indifferent, at 99 nothing is lost).

Exercise 10.3 ★

Is “the day the exposure reaches its largest absolute value this month” a valid time to hedge in the sense of this chapter?

Solution

Solution of Exercise 10.3.

No: whether it is the largest of the month is known only at the month’s end, so it is not a stopping time, and no policy can hedge there.

Exercise 10.4 ★★

If the ticket fee doubles, by how much do the optimal band and its cost change? And if the flow volatility doubles?

Solution

Solution of Exercise 10.4.

Doubling KK: band ×21/4=1.19\times 2^{1/4} = 1.19 (41.2 million), cost ×2\times\sqrt2 (283 dollars). Doubling σ\sigma: band ×2\times\sqrt2 (49.0 million), cost ×2\times 2 (400 dollars).

Exercise 10.5 ★★

With only a proportional cost of USD 25 per million, what are the reflecting band and its cost?

Solution

Solution of Exercise 10.5.

b∗=(3×25×400/2)1/3=24.7b^* = (3 \times 25 \times 400/2)^{1/3} = 24.7 million; cost 25×400/49.3+0.5×24.72/3=30425 \times 400/49.3 + 0.5 \times 24.7^2/3 = 304 dollars a day.

Exercise 10.6 ★★

Derive b∗=c+1/θb^* = c + 1/\theta in Proposition 10.5 from smooth pasting alone, and evaluate it for μ=0.5\mu = 0.5, σ=2\sigma = 2, r=0.02r = 0.02, c=5c = 5.

Solution

Solution of Exercise 10.6.

Below the threshold V(x)=AeθxV(x) = Ae^{\theta x} (the solution of LV=rV\mathcal LV = rV that stays bounded as x→−∞x \to -\infty); value matching Aeθb=b−cAe^{\theta b} = b - c and smooth pasting Aθeθb=1A\theta e^{\theta b} = 1 give θ(b−c)=1\theta(b - c) = 1. With the numbers, θ=(−0.5+0.25+0.16)/4=0.0351\theta = (-0.5 + \sqrt{0.25 + 0.16})/4 = 0.0351 and b∗=5+28.5=33.5b^* = 5 + 28.5 = 33.5 bp.

Exercise 10.7 ★★★

Coding. Simulate the desk’s exposure with the optimal band, checking it 390 and then 1 560 times a day, and compare the average cost with the formula. Why is the discretely checked band cheaper?

Solution

Solution of Exercise 10.7.

197.5 dollars a day at 390 checks and 199.6 at 1 560, against 200. Checked discretely, the exposure overshoots the band before a hedge, so cycles last a little longer and there are fewer tickets; the extra risk charge of the overshoot is smaller than the fees saved, and the gap closes like Δt\sqrt{\Delta t}.

Exercise 10.8 ★★★

Find the flaw. “We hedge as soon as the exposure exceeds 10 million: a tighter band means less risk, and less risk is always better.”

Solution

Solution of Exercise 10.8.

At b=10b = 10 the policy costs 300×400/100+0.5×100/6=1 208300 \times 400/100 + 0.5 \times 100/6 = 1\,208 dollars a day, six times the optimum: the fees of hedging a dozen times a day dwarf the risk they remove. Risk and fees must be traded off; less risk is not free.

10.8 Problem: The Hedging Band

Problem 10.1

Weekend problem — when to hedge a drifting exposure

A treasury desk’s currency exposure XX moves with client flows as σWt\sigma W_t, σ=20\sigma = 20 million per square-root day. Carrying it costs γX2\gamma X^2 a day with γ=0.5\gamma = 0.5 dollar per (million)2^2; a hedge ticket costs K=300K = 300 dollars; later, trading also costs c=25c = 25 dollars per million.

Part I — The fixed fee.

  1. Write the average cost of the band policy that hedges to zero at ±b\pm b.
  2. What is the optimal half-width?
  3. What does it cost a day?
  4. How often does the desk hedge?
  5. What does hedging once a day at the close cost, and what is the band’s saving?

Part II — Scaling.

  1. If the fee halves, what are the new band and cost?
  2. If the flow volatility doubles?
  3. What share of the optimal cost is the risk charge?
  4. What does simulation at 390 and at 1 560 checks a day give?
  5. Why does the discretely checked band come out slightly cheaper?

Part III — Proportional costs.

  1. With the proportional cost only, what are the band and the cost?
  2. With both costs, what are the trigger, the reset and the cost?
  3. Why does the desk no longer trade back to zero?
  4. What distinguishes the singular control of item 11 from the impulse control of item 12?
  5. Solve the take-profit problem of Proposition 10.5 with the chapter’s numbers, in closed form and on a daily grid.

Part IV — Judgement.

  1. Is a quadratic risk charge a sensible model of the desk’s risk?
  2. If client flows mean-revert, should the band be wider or narrower?
  3. Why should the desk net its currencies before banding them?
  4. State the named result: the optimal band and its scaling with the fee.
  5. In one sentence: why is doing nothing inside a band optimal?
Solution

Solution of Problem 10.1.

1. C(b)=Kσ2/b2+γb2/6C(b) = K\sigma^2/b^2 + \gamma b^2/6. 2. b∗=(6Kσ2/γ)1/4=34.6b^* = (6K\sigma^2/\gamma)^{1/4} = 34.6 million. 3. 200 dollars a day. 4. Every three days on average. 5. 300+0.5×400/2=400300 + 0.5 \times 400/2 = 400 dollars a day: the band saves 50%. 6. 29.1 million (16% narrower) and 141 dollars a day. 7. 49.0 million and 400 dollars a day. 8. Half: at the optimum fees and risk charge are equal. 9. 197.5 and 199.6 dollars a day. 10. Discrete checks let the exposure overshoot the band, lengthening cycles and saving tickets. 11. 24.7 million and 304 dollars a day. 12. Trigger 42.4 million, reset 12.8 million, 418 dollars a day. 13. Every million traded costs 25 dollars, so stopping short of zero saves proportional cost, and the next cycle, starting closer to the band, is still long enough to amortise the fixed fee. 14. Singular control trades infinitesimally, only when the exposure touches the band, with total traded amount finite; impulse control makes finitely many discrete trades, each paying the fixed fee. 15. b∗=33.5b^* = 33.5 bp in closed form; the daily grid stops at 32.2 bp and values the position at zero at 8.79 bp against 8.80. 16. As a variance charge, yes: the P&L variance of an open exposure is proportional to X2X^2. A charge proportional to ∣X∣|X| (a VaR-type limit) changes the exponents of the band laws. 17. Wider: flows that offset themselves make waiting cheaper, since part of the exposure disappears without a trade. 18. Correlated exposures partly offset; banding the net risk hedges less often than banding each currency. 19. Named result: the hedging band: the optimal no-trade band is ±(6Kσ2/γ)1/4=±34.6\pm(6K\sigma^2/\gamma)^{1/4} = \pm 34.6 million, costing 200 dollars a day, half the cost of daily hedging; the band grows like the fourth root of the ticket fee (16% narrower if the fee halves). 20. Inside the band the risk removed by a hedge is worth less than the fee it costs, and waiting keeps the option to hedge a larger exposure for the same fee.

10.9 Interview questions

Interview question 10.1 ★ trader, bank

You must hedge an exposure that drifts with client flows, and each hedge costs a fixed fee. Describe the optimal policy.

Solution

Solution of Interview question 10.1.

A band: do nothing while the exposure is within ±b\pm b, trade back to zero at the edge, with b=(6Kσ2/γ)1/4b = (6K\sigma^2/\gamma)^{1/4} for a fee KK, flow volatility σ\sigma and risk charge γX2\gamma X^2. It equalises fees and risk charge.

What the interviewer is looking for: no-trade region, the trade-off, and the scaling.

Interview question 10.2 ★★ researcher

What is smooth pasting, and why should the value function meet the payoff with the same slope?

Solution

Solution of Interview question 10.2.

At the optimal boundary the value of waiting and of stopping agree (value matching) and so do their slopes. If the value of waiting met the payoff at an angle, moving the boundary slightly would raise the value: the threshold would not be optimal.

What the interviewer is looking for: first-order optimality of the boundary.

Interview question 10.3 ★★ researcher, trader

Why does an optimal hedging band scale with the fourth root of a fixed fee but the cube root of a proportional cost?

Solution

Solution of Interview question 10.3.

With a fixed fee, the cost per unit time is fee times hedge frequency σ2/b2\sigma^2/b^2 plus a risk charge ∝b2\propto b^2: b4∝Kb^4 \propto K. With a proportional cost, trading happens at rate σ2/b\sigma^2/b in size at the boundary, so the cost is cσ2/bc\sigma^2/b plus ∝b2\propto b^2: b3∝cb^3 \propto c.

What the interviewer is looking for: how often and how much one trades as a function of bb.

Interview question 10.4 ★★ bank, researcher

What is the Snell envelope, and how does it relate to pricing an American option?

Solution

Solution of Interview question 10.4.

The smallest supermartingale dominating the reward process, computed backward as the maximum of stopping now and the expected value of continuing; the first time it equals the reward is optimal. The price of an American option is the Snell envelope of its discounted payoff under the risk-neutral measure (One Quant Book 5, chapter 6).

What the interviewer is looking for: the backward recursion and its optimality.

Interview question 10.5 ★★ developer

Implement a band hedger that must not trade back and forth when the exposure sits on the band. What goes into the design?

Solution

Solution of Interview question 10.5.

Trade to a reset level strictly inside the band, never to the band itself, so a hedge cannot immediately trigger another; measure the exposure net of pending hedges; debounce noisy exposure feeds; cap the number of hedges per interval; log each decision with the exposure and the band in force; compute the band from current inputs, not a constant.

What the interviewer is looking for: hysteresis, in-flight orders, and auditability.

Interview question 10.6 ★★★ researcher

For a Brownian motion with variance σ2\sigma^2 started at 0, compute E∫0τXt2 dt\E\int_0^\tau X_t^2\,dt, where τ\tau is the first exit from (−b,b)(-b, b).

Solution

Solution of Interview question 10.6.

f(x)=Ex∫0τX2 dtf(x) = \E_x\int_0^\tau X^2\,dt solves 12σ2f′′=−x2\tfrac12\sigma^2f^{\prime\prime} = -x^2 with f(±b)=0f(\pm b) = 0, so f(x)=(b4−x4)/(6σ2)f(x) = (b^4 - x^4)/(6\sigma^2) and f(0)=b4/(6σ2)f(0) = b^4/(6\sigma^2).

What the interviewer is looking for: Dynkin’s formula and a boundary-value problem.

Terms defined in this chapter

See all 2333 terms in the glossary