Thursday, June 7, 2012

Book Review: Exotic Options Trading by Frans de Weert

I've been looking for a book like this one for a while. If you don't care for wordy review and just want to get a score, I'll hand it an 85/100, perhaps because I find this kind of book written by practitioners so rare (if you don't agree with that and instead have come across many of them better than this title, do leave a message below for me).

You would not find any fancy SDE or PDE in this book, though graphs are used to illustrate the option exposures and replications. When I said in the last paragraph that "this kind of book...[are] so rare" what I mean in particular is an in-depth analysis and explanation of concerns from a trader's perspective, e.g. what exposures would this exotic have, how to hedge it effectively, what are the execution risk when you are long/short, where does volatility skew come into play and so on.

Since the author was a trader he approaches the topic in a market-oriented fashion. For example, in the section discussing skew and smile the author explains how skew in FX market can be thought of in terms of the relative strength of the two currencies in the pair. The book is pretty well structured, starting with good-o option basics, Greeks, hedging, then goes on to volatility skew and smile, simple option strategies (call/put spread, straddle etc.) and finally to exotics.

The structure of the book is not too rigid, meaning that here and there the author would elaborate by inserting related discussions (the latter half is more formally structured, with each type of exotics constituting a chapter). This turns out to be a nice feature (well, to me at least) because it would really defeat the purpose if the "side" discussions were not intertwined into the "main" stuff. Plus, the book is not that long (200 pages) so this is more like a read-it-through text than your usual dictionary-sized desk top reference.

Pro:
- Quite clearly written
- Not many alternative titles with comparable scope/objective

Con:
- Doesn't discuss pricing and modeling (but then those are not the objectives of it, so not really a con)
- Occasionally some places seem to be not so rigorous. For example when using the put-call parity did the author forget to put in the cash term?

Bottom line:
Written by a trader for people who wants to learn more about real world concerns when trading options


p.s. Is book review like this helpful at all?

Saturday, June 2, 2012

Static Replication of Exotics

A number of exotics can be perfectly hedged by vanillas in a semi-static way (semi because unwinding is usually required when barriers are triggered).

P(K) stands for vanilla put option with strike K
C(K) stands for vanilla call option with strike K
BP(K) stands for binary put option with strike K
BDOT(K) stands for binary down one-touch option with strike K and postponed rebate R

The following assumes that spot equals forward equals zero.

Down-Out Call (H = K)
Initial hedge: charge S0-K premium and borrow K, buy a unit of stock
When barrier is hit: sell stock to receive K and pay back loan; option terminates worthless
If barrier never hit: sell stock to receive ST ; pay out max(S-K,0) and pay back loan
Note: in this case where H = K, there is no optionality. 

Binary Up One-Touch with Rebate
The contract pays a fixed rebate R when stock price hits H from below before expiry.
Initial hedge: charge S0*R/H premium and use it to buy stock
When barrier is hit: sell stock to receive R and pay it out
If barrier never hit: sell stock and keep ST as profit

The following assumes that spot equals forward (for equity options this means interest rate = dividend yield).*
 
Binary Down One-Touch with Postponed Rebate
The hedge above is an overhedge in the sense that if the barrier is never breached, the writer gets to pocket the stock liquidation value at expiry. Here we try to more accurately hedge a contract that pays a fixed rebate R at expiry if stock price hits H from below before expiry.
Initial hedge: charge -R*P(H)/H+2*R*BP(H) premium to buy 2R units of binary put and sell R/H units of vanilla put with strike H
When barrier is hit: unwind to receive exp(-r(T-t))*R*[N(-d2)-N(-d1)], which, because S = H, equals exp(-r(T-t))*R. Put the amount into a money market account until expiry.
If barrier never hit: everything expires to give zero value

Down-In Call (H = K)
Initial hedge: charge P(H) premium and buy one put with strike H
When barrier is hit: sell put and buy call with strike H (self-financing by put-call parity)
Expires with barrier hit: pay out max(S-K,0), which is financed by the hedging call
If barrier never hit: put worthless; pays nothing out

Down-In Call (H > K)
Initial hedge: charge P(K)+(H-K)BDOT(H) premium to buy one put with strike K and (H-K) BDOT with strike H
When barrier is hit: sell put and BDOT to buy a call with strike K**
Expires with barrier hit: pay out max(S-K,0), which is financed by the hedging call
If barrier never hit: put and BDOT worthless; pays nothing out

Down-In Call (H < K) 
Initial hedge: charge (K/H)*P(H^2/K) and buy (K/H) units of put with strike (H^2/K)
When barrier is hit: sell put and buy call with strike K (self-financing by put-call symmetry)
Expires with barrier hit: pay out max(S-K,0), which is financed by the hedging call
If barrier never hit: put worthless (it is OTM because the strike H^2/K < H and we know that stock never went below H); pays nothing out


* If this assumption is relaxed, we will have no perfect hedge but only upper and lower bounds. See reference.

** Sketch of proof: (first argument is stock price; second argument is strike)
When barrier is hit (S = H),
    P(H,K)+(H-K)BDOT(H,H)
= P(H,K)+(H-K)[2BP(H,H)-P(H,H)/H]
= exp(-r(T-t))KN(...)-exp(-y(T-t))HN(...)+2exp(-r(T-t))HN(...)-2exp(-r(T-t))KN(...)
  - exp(-r(T-t))HN(...)+exp(-y(T-t))HN(...)+exp(-r(T-t))KN(...)-exp(-y(T-t))KN(...)
= C(H,K)

Reference:
Gatheral "The Volatility Surface", Ch. 9
Bowie and Carr 1994 "Static Simplicity"

Monday, May 28, 2012

Variance Swap Revisited (Redux)

It's amazing how much I learn every time I re-read the variance swap literatures.

1. The (model-independent) formula for the fair strike of a variance swap depends on the choice of S* (the truncating spot price). Most generally it is

$ rT - \frac {S_0 e^{rT} - S^*} {S^*} - ln \frac {S^*}{S_0} + e^{rT} \int_0^{S^*} \frac {P(K)}{K^2} dK + e^{rT} \int_{S^*}^{\infty} \frac {C(K)}{K^2} dK$

If S* is chosen to be the future stock price then the above expression can be simplified.

To hedge a variance swap, a trader statically holds the continuum of OTM options, plus rolling a future position of (1/F_t - 1/F_0). In a B-S universe the future position would hedge away the delta exposure, except that...

2. Delta of variance swap (one that comes from practicality):
In principal the terminal variance is measured as the INTEGRAL of INSTANTANEOUS variance; in practice, the contract is such that variance is calculated on a daily basis using daily prices. This leads to the need for intra-day Delta hedging.

3. Delta of variance swap (one that comes from smile)
The Coulombe paper show that variance swap Delta is a function of implied volatility skew. This implies that the Delta can be negative.

Reference:
Derman GS paper
de Weert "Exotic Options Trading" Ch. 23
Carr and Madan 2002 "Towards a Theory of Volatility Trading"
Coulombe et al 2008 "An Analytic Formula for the Delta of Variance Swap"

Sunday, May 20, 2012

Short Notes on (Implied) Volatility

  1. At the risk of stating the obvious, implied volatility is nothing but the quoting of price under B-S framework. The use of it for anything else (i.e. hedging) is a recipe for disaster.
  2. In light of this, the purpose of having a stochastic volatility model is not primarily to have better fits to market smiles (though that is important too), but rather:
    • To allow for consistent hedging (especially vega hedging);
    • To prescribe some dynamics to the evolution of the smile^.
  3. In the B-S framework, if one long an option and continuously delta-hedge, the payoff would be 0.5*S*S*Gamma*(realized var. - implied var.)*dt. What about under a stochastic volatility model? Suppose that the variance process is also stochastic and we only delta hedge w.r.t. the stock price. If the variance process is dv = a dt + b dX, then the delta-hedged P&L would have a residual of b*Vv*dX, thanks to the additional source of randomness.
^ Local volatility model is somewhat helpful for the first purpose (hedging). It however produces smile dynamics that are at odd with observation. See the discussion in the original SABR paper.

 Reference: Rebonato, "Volatility and Correlation: The Perfect Hedger and the Fox" Ch. 6
                  Wilmott, "Paul Wilmott on Quantitative Finance" Ch. 12

Monday, May 7, 2012

Time Integral of Brownian Motion

This is a short note on computing the time integral of a Brownian motion:

$ \int_0^t W_s ds$

In fact I should have said the moments of such an integral. The first moment is just

$ E[\int_0^t W_s ds] = \int_0^t E[W_s] ds = 0$


The second moment is

\begin{align*} E[\int_0^t W_s ds \int_0^t W_u du] & =  E[\int_0^t \int_0^t W_s W_u ds du] \\ &= \int_0^t \int_0^t E[W_s W_u] ds du \\ &= \int_0^t \int_0^t min(u,s) ds du \\ &= \int_0^t \int_0^s u du ds + \int_0^t \int_s^t s du ds \\ &=\int_0^t \frac {s^2} {2} ds+\int_0^t (ts-s^2) ds \\ &= \frac {t^3}{3}\end{align*}

The trick is to separate the min function into two 
regimes.

Thursday, April 12, 2012

Short Note on Corp (or Risky) Credit Term Structure

Bootstrapping the risk-free yield curve is (relatively) straightforward. One might be tempted to repeat the same trick for Corp bonds, i.e. bootstrapping a risky yield curve and use it for pricing by adding it to the risk free rate.

However, this approach would produce very poor results especially for lower rating bonds. If one starts from short maturity and move to longer maturities according to the naive scheme, the yield usually
  • fluctuates a lot
  • drops sharply (thus almost surely producing an inverted curve)
  • or even unfolds in a way such that the PV of the earlier coupons of a long dated bond exceeds its observed price!
The problems arise because by adopting the naive bootstrapping approach that is borrowed from the risk free case, we completely ignored the effects of 1) recovery; and 2) CF timing shortening (due to default), which are dominant in the case of low rating bonds. Remember, the naive procedure is based on discounted (known) CF with no uncertainties either in timing or amount. When default is not only possible (since we are considering corp) but probable (since we are considering low ratings), this method breaks down.

One way to get by is to back out not the risky yield but the hazard rate (or equivalently the risk neutral default probability). To do that we have to express market bond price as a function of recovery and hazard rate, much like what is done for CDS pricing.

Reference:
Berd et al. 2004, "Defining, Estimating and Using Credit Term Structures" Part 1-3

Monday, April 9, 2012

Quant Interview: High Frequency

1. What is CAPM?

2. If I have a portfolio of long option that are Delta hedged, what daily P&L can be expected?

3. If on average the probability of seeing one car passing by per hour is $\kappa$, what is the probability of seeing one car passing by within 15 minutes?
Ans: $1-(1- \kappa)^{1/4}$

4. How many integers fulfill all 3 criteria below:
  • 3-digited
  • Odd
  • Does not contain any '5' in any place

See here for more interview questions/brainteasers

Thursday, March 29, 2012

Follow-up: Multi-curve Modeling

In [Mercurio 2009], two different approaches are proposed as attempts to resolve the new post-crisis market norm. (Recap: the issues include rate dependence on contract tenor, failure of textbook no-arb relationships between different rate securities)

The first approach focuses on the difference in counterparty risk for various contracts. For example, regarding the textbook case of replicating an FRA using a long and a short LIBOR deposits, we can introduce hazard rate and default time into the replication argument. That way, we end up with a forward LIBOR that is higher than the comparable FRA.

This approach, however, cannot be easily utilized in pricing, and more importantly the industry seems to favour 'segmenting market rates,' i.e. having multiple curves in existence simultaneously.

Digression: Bootstrapping
This is a description of how zero curve bootstrapping is done in general setting. (i.e. not limited to post-crisis multi-curve method)

A single kind of contract is unlikely to cover the entire range of maturities, hence different securities are required for different sections of the curve. What actually got to be chosen for curve construction depends on currency, but in general:
  • The shortest end is built from cash/money market deposit. Since there is only a single bullet payment in a deposit transaction, the 'bootstrapping' is trivially done by day count (and perhaps compounding) adjustment.
  • The middle section is built out of FRA or ED future contracts. Once again, since there is only one cash flow the bootstrapping is straight forward. Note however that if future contracts are used, a convexity adjustment is required so that the adjusted rate is comparable to that of a forward contract. (the convexity comes from the relative advantage of holding an interest rate future over forward, because MTM profit/loss can be reinvested/covered at a higher lower/rate)
  • Finally, the far end of the curve is built out of swap. In this case we have to proceed in an order of ascending maturity because there are more than one payments in a swap. Suppose the rates are known up to (t-1). Then, with the market swap rate, S(t), and the discount factor up to (t-1), P(0,T_i), the discount factor and hence the rate for t can be found using the swap rate formula.
End of Digression

In the multi curve case, the only difference from the general procedure above is that we would only use one family of securities in building a curve of a certain tenor. (e.g. 3m deposit, 3m FRA with various maturities and 3m LIBOR fixing swaps with various number of payments to build the 3m tenor curve)

Finally, as an aside, note that curve interpolation is a tricky business, especially if you want to also calculate the instantaneous forward curve which is very sensitive to local curve fluctuations.

Wednesday, March 21, 2012

Multi-curve Pricing: Short Notes

Issue:
After Mid 2007, a lot of the good-o textbook wisdom failed to hold, mainly in two aspects:
  1. Some rates use to match one another almost exactly (i.e. zero spread), for example deposit rate vs overnight swap rate; now the spread is much larger.
  2. Swaps with different settlement frequencies have very large rate spread, i.e. the size of the swap rate depends on the fixing.
Proposed remedies:
  1. Use separate curves for discounting and forwarding
  2. Treat LIBOR's with different fixings as independent underlyings

Questions:
Even in the good-o textbook context, shall we expect LIBOR's with different tenors to have zero spread? Or is it just that tenor used to be irrelevant in the old narrative?

Reference:
Henrard 2009, "Irony in Discounting: The Crisis"
Bianchetti 2009, "Two Curves, One Price"
Mercurio 2009, "Interest Rates and the Credit Crunch: New Formulas and Market Models"

Monday, March 5, 2012

Credit Flattener and Steepener: Duration and Convexity Exposures

Flattener/Steepener are long/short strategies that bet on the relative movements of long vs. short maturity ends on a curve. The curve can be interest rate, variance or credit spread. For the sake of discussion, we consider a credit spread flattener.

The three main exposures are TIME, CURVE SHIFT and DEFAULT. Here we focus on CURVE SHIFT. Surely, we can mitigate the risk by duration hedging (even so we will be left with convexity risk, see below). However, notional matching has the advantage of zero default exposure (at least until the shorter leg expires).

In a notional-matched flattener, the investor speculate on flattening credit curve by selling (buying) CDS protection at the long (short) end. If the curve steepens instead, we would of course have a loss. What if the curve tightens by a parallel shift?

The mark-to-market as the spread moves is calculated by multiplying spread change to risky DV01, which, to recap, is the CDS spread numeraire. Obviously, DV01 of longer leg > DV01 of shorter leg. Hence a parallel upward shift (widening) of the curve affects the long leg more. But widening spread is bad for protection seller. Therefore a flattener position is harmed by widening spread (because the benefit on the short end < the loss on the long end).

The previous paragraph assumes that DV01 remains constant when the shift is small enough, and it considers only the relative sizes of DV01's. Not surprisingly, DV01 itself does not stay constant as the curve shifts further and hence there is convexity effect, which concerns the relative sensitivities of DV01's. Turns out DV01 decreases as spread widens, and the DV01 of the long end is more sensitive to curve shift than the short end. It follows then, that a flattener has positive convexity (when spread widens => DV01 drops => bad effect at long end diminishes => good for investor) while steepener has negative convexity.

Reference: JP Morgan 'Credit Derivatives Handbook'