Lattice Methods, Part 2: Trinomial Trees & Early Exercise#

The binomial tree of Lattice Methods, Part 1: Binomial Trees can be extended in two ways that matter in practice. A third branch gives a tree with better accuracy and more flexibility, and a comparison with the payoff at each node prices early exercise. The second is the main reason that trees are still used. This is the second of two pages on lattice methods.

The trinomial tree#

From each node the price can go up, stay in the middle, or go down. In log price, with the step size \(\Delta x = \lambda\sigma\sqrt{\Delta t}\) and \(\nu = r - \tfrac{1}{2}\sigma^2\), the probabilities of Kamrad and Ritchken are

\[p_u = \frac{1}{2\lambda^2} + \frac{\nu\sqrt{\Delta t}}{2\lambda\sigma}, \qquad p_d = \frac{1}{2\lambda^2} - \frac{\nu\sqrt{\Delta t}}{2\lambda\sigma}, \qquad p_m = 1 - \frac{1}{\lambda^2}\]

where \(\lambda \ge 1\) is a stretch parameter. They match the mean and the variance of the log price over a step, and they are valid when \(\lambda^2 \ge 1\). The value \(\lambda = \sqrt{3/2}\) is a common choice, which gives \(p_m = 1/3\).

A trinomial tree has more nodes per step, so each step costs more. It has three advantages:

  • Better accuracy for the same number of steps, since the step in log price can be tuned.

  • More freedom. The middle branch makes it easier to put nodes at special levels, such as a barrier, and to keep the probabilities positive with a high drift.

  • A direct link to finite differences, which is shown in PDE Methods, Part 3: American Options & Trees vs Finite Differences.

Early exercise#

An American option can be exercised at any time up to expiry. The holder compares, at every node, the value of exercising now with the value of continuing, and takes the larger:

\[V_i = \max\left( g(S_i), \; e^{-r\Delta t} E^Q[V_{i+1}] \right)\]

This is a one-line change in the backward recursion, which is why trees handle early exercise so well. Monte Carlo has no equivalent, because it moves forward in time and cannot compare a value now with a value that has not yet been computed. The extension that does this is the regression method of Advanced Methods, Part 1: Least-Squares Monte Carlo.

Two things follow from the recursion.

  • An American call on a stock with no dividends is never exercised early, since the call is worth more alive than dead. It is worth the same as a European call.

  • An American put is exercised early, when the stock is low enough that the interest on the strike outweighs the remaining optionality. The set of prices at which exercise is optimal is bounded by the exercise boundary, a curve of stock price against time. Below it the holder exercises, and above it the holder waits. The boundary rises towards the strike as expiry approaches.

Bermudan exercise#

A Bermudan option can be exercised on a fixed set of dates between those of the European and the American. In the tree, the comparison with the payoff is made only at the nodes that fall on an exercise date. The value rises with the number of dates and tends to the American value when the dates become continuous. The same structure, with a swap in place of a stock, is the Bermudan swaption of Interest Rate Mean Reversion, where it is solved on a grid of one state variable.

Worked example#

The example compares the binomial and trinomial trees on the European call, prices the American put with both, prices Bermudan puts with from 1 to 1,000 exercise dates, and extracts the exercise boundary of the American put.

Python code
"""Trinomial tree, Bermudan and American exercise, and the exercise boundary of an American put."""
import numpy as np

from binomial_example import crr
from common import K, R, S0, SIGMA, T, bs_price

LAMBDA = np.sqrt(1.5)


def trinomial(n, call=True, american=False, exercise_steps=None):
    """Trinomial tree in log price. Each node moves up, stays, or moves down by dx = lambda sigma sqrt(dt)."""
    dt = T / n
    dx = LAMBDA * SIGMA * np.sqrt(dt)
    nu = R - 0.5 * SIGMA**2
    pu = 0.5 / LAMBDA**2 + nu * np.sqrt(dt) / (2 * LAMBDA * SIGMA)
    pd = 0.5 / LAMBDA**2 - nu * np.sqrt(dt) / (2 * LAMBDA * SIGMA)
    pm = 1 - 1 / LAMBDA**2
    disc = np.exp(-R * dt)
    payoff = (lambda s: np.maximum(s - K, 0)) if call else (lambda s: np.maximum(K - s, 0))
    v = payoff(S0 * np.exp(np.arange(-n, n + 1) * dx))
    for i in range(n - 1, -1, -1):
        v = disc * (pd * v[:-2] + pm * v[1:-1] + pu * v[2:])
        if american or (exercise_steps is not None and i in exercise_steps):
            v = np.maximum(v, payoff(S0 * np.exp(np.arange(-i, i + 1) * dx)))
    return v[0]


def crr_bermudan_put(n, dates):
    """Binomial put that can be exercised only at `dates` equally spaced times (the last is expiry)."""
    steps = {round(n * (j + 1) / dates) for j in range(dates)}
    dt = T / n
    u = np.exp(SIGMA * np.sqrt(dt))
    p = (np.exp(R * dt) - 1 / u) / (u - 1 / u)
    disc = np.exp(-R * dt)
    v = np.maximum(K - S0 * u ** (2 * np.arange(n + 1) - n), 0)
    for i in range(n - 1, -1, -1):
        v = disc * (p * v[1:] + (1 - p) * v[:-1])
        if i in steps:
            v = np.maximum(v, np.maximum(K - S0 * u ** (2 * np.arange(i + 1) - i), 0))
    return v[0]


def exercise_boundary(n, times):
    """Highest stock price at which an American put is exercised, at the given times (years from today)."""
    dt = T / n
    u = np.exp(SIGMA * np.sqrt(dt))
    p = (np.exp(R * dt) - 1 / u) / (u - 1 / u)
    disc = np.exp(-R * dt)
    wanted = {round(t / dt): t for t in times}
    v = np.maximum(K - S0 * u ** (2 * np.arange(n + 1) - n), 0)
    found = {}
    for i in range(n - 1, -1, -1):
        v = disc * (p * v[1:] + (1 - p) * v[:-1])
        s = S0 * u ** (2 * np.arange(i + 1) - i)
        intrinsic = np.maximum(K - s, 0)
        if i in wanted:
            active = (intrinsic > v + 1e-12) & (intrinsic > 0)
            found[wanted[i]] = s[active].max() if active.any() else np.nan
        v = np.maximum(v, intrinsic)
    return found


if __name__ == "__main__":
    exact = bs_price()
    print(f"European call, Black-Scholes {exact:.6f}")
    print(f"{'Steps':>6} {'Binomial error':>15} {'Trinomial error':>16}")
    for n in (10, 50, 100, 200, 500, 1000):
        print(f"{n:>6} {crr(n) - exact:+15.6f} {trinomial(n) - exact:+16.6f}")

    reference = crr(10_000, call=False, american=True)
    print(f"\nAmerican put, binomial with 10,000 steps {reference:.5f}; European put {bs_price(call=False):.5f}")
    print(f"{'Steps':>6} {'Binomial':>10} {'Trinomial':>10}")
    for n in (50, 100, 200, 500, 1000):
        print(f"{n:>6} {crr(n, call=False, american=True):10.5f} {trinomial(n, call=False, american=True):10.5f}")

    print(f"\nBermudan put by number of exercise dates (1000-step binomial tree):")
    print(f"{'Dates':>8} {'Price':>9}")
    for dates in (1, 2, 4, 12, 52, 250, 1000):
        print(f"{dates:>8} {crr_bermudan_put(1000, dates):9.5f}")
    print(f"{'American':>8} {crr(1000, call=False, american=True):9.5f}")

    boundary = exercise_boundary(2000, [0.05, 0.25, 0.5, 0.75, 0.95])
    print("\nExercise boundary of the American put: exercise when the stock is at or below")
    for t, s in boundary.items():
        print(f"  t = {t:4.2f}: {s:7.3f}")

The output is:

European call, Black-Scholes 9.413403
 Steps  Binomial error  Trinomial error
    10       -0.195552        -0.051829
    50       -0.039564        -0.010686
   100       -0.019808        -0.005362
   200       -0.009910        -0.002686
   500       -0.003966        -0.001076
  1000       -0.001983        -0.000538

American put, binomial with 10,000 steps 6.74290; European put 6.45796
 Steps   Binomial  Trinomial
    50    6.72332    6.73914
   100    6.73318    6.74124
   200    6.73820    6.74218
   500    6.74109    6.74271
  1000    6.74204    6.74286

Bermudan put by number of exercise dates (1000-step binomial tree):
   Dates     Price
       1   6.45597
       2   6.58828
       4   6.65687
      12   6.71184
      52   6.73483
     250   6.74076
    1000   6.74204
American   6.74204

Exercise boundary of the American put: exercise when the stock is at or below
  t = 0.95:  91.444
  t = 0.75:  84.371
  t = 0.50:  80.681
  t = 0.25:  78.545
  t = 0.05:  77.153
The exercise boundary of the American put against time, rising towards the strike at expiry, with the exercise region below it shaded

Reading the output:

  • The trinomial tree is about four times as accurate for the same number of steps. At 1,000 steps its error on the call is -0.00054 against -0.00198. Each step does more work, so the saving in time is smaller.

  • The American put converges faster on the trinomial tree. At 1,000 steps it is 6.74286 against a reference of 6.74290, an error of 0.00004. The binomial tree is 0.0009 below.

  • Exercise dates add value, with diminishing returns. The Bermudan put is worth 6.456 with one date, which is the European put, and 6.588, 6.657 and 6.712 with 2, 4 and 12. Monthly dates give 6.712 and weekly dates 6.735, against 6.742 for continuous exercise. The first extra dates add most.

  • The boundary rises to the strike. Five percent of a year before expiry, the put is exercised if the stock is below 91.4. Almost a year before expiry the stock must be below 77.2 for exercise to be optimal. This is the early exercise premium that makes an American put worth about 0.29 more than a European one.

A valuation control view#

  • Check the exercise rule: exercise is the maximum of the payoff and the continuation value at every node that is an exercise date. A missing or extra exercise date changes the price, and the contract’s dates are the ones to use.

  • Use the European limit as a test: with one exercise date, at expiry, the Bermudan price must equal the European price. With a single early date it must lie between the two. A price that falls when a date is added is wrong.

  • Compare the exercise boundary with a second method: the boundary is more sensitive to errors than the price is. A boundary that is not monotonic, or that lies above the strike, points to a bug in the recursion.

  • Remember that the model assumes optimal exercise: real holders do not exercise perfectly. A bank that has sold a callable product should consider whether the client will follow the boundary.

  • Treat early exercise as a model reserve question too: the value of the exercise right depends on volatility and, for rates, on mean reversion. The numerical method may be right while the model is a poor description of the exercise behaviour.

Next, PDE Methods, Part 1: The Black-Scholes PDE & the Explicit Scheme solves the same problem with a differential equation.