Professional Documents
Culture Documents
Bulletin
Number 75, Summer 2015, 7–19
ISSN 0791-5578
DANIEL J. DUFFY
many of the exotic structured products that these quants had in-
vented were abandoned in favour of simpler ones. The events of the
last seven years have certainly proved that finance is not physics
and that models are, after all, just models of reality and not reality
itself.
P (S, t) → 0 as S → ∞. (12)
Here P (the role played by u in equation (1)) is the variable repre-
senting the price of the put option, K is the strike price, r is the
risk-free interest rate, T is the expiration and t is the current time.
From this point on we assume the following ‘canonical’ form for
the operator L in equation (1):
∂u ∂ 2u ∂u
Lu ≡ − + σ(x, t) 2 + µ(x, t) + b(x, t)u = f (x, t) (13)
∂t ∂x ∂x
12 D.J. DUFFY
has been carried out in this area, both on the continuous problem
and its discrete formulations (for example, using finite difference
and finite element methods). In particular, research has shown that
standard centred-difference schemes fail to approximate (14)-(16)
properly in certain cases (see [4]) .
The essence of the finite difference method is to discretise equation
(14) by defining so-called discrete mesh points and approximating
the derivatives of the unknown solution of system (14) - (16) in some
way at these mesh points. The eventual goal is to find accurate
schemes that will be implemented in a programming language such
C++ or C# for the benefit of traders and risk management. Some
typical attention points are:
• The PDE being approximated may need to be pre-processed
in some way, for example transforming it from one on a semi-
infinite domain to one on a bounded domain.
• Determining which specific finite difference scheme(s) to use
based on quality requirements such as accuracy, efficiency
and maintainability.
• Essential difficulties to resolve: convection dominance, avoid-
ing oscillations and how to handle discontinuous initial con-
ditions, for example.
• Developing the algorithms and assembling the discrete sys-
tem of equations prior to implementation.
Our goal is to approximate (14)-(16) by finite difference schemes.
To this end, we divide the interval [A, B] into the sub-intervals:
A = x0 < x1 < . . . < xJ = B
and we assume for convenience that the mesh-points {xj }Jj=0 are
equidistant, that is:
B−A
xj = xj−1 + h, j = 1, . . . , J. h = .
J
Furthermore, we divide the interval [0, T ] into N equal sub-intervals
0 = t0 < t1 < . . . < tN = T where tn = tn−1 +k, n = 1, . . . , N (k =
T /N ).
(It is possible to define non-equidistant mesh-points in the x and
t directions but doing so would complicate the mathematics and we
would be in danger of losing focus).
0
Lu ≡ u (t) + a(t)u(t) = f (t), ∀t ∈ [0, T ]
with a(t) ≥ α > 0, ∀t ∈ [0, T ]. (17)
u(0) = A.
an = a(tn ), f n = f (tn )
an,θ = a(θtn + (1 − θ)tn+1 ), 0 ≤ θ ≤ 1, 0 ≤ n ≤ N − 1 (18)
un,θ = θun + (1 − θ)un+1 , 0 ≤ n ≤ N − 1.
where
(27)
σ(S, t) = 12 σ 2 S 2
µ(S, t) = rS
b(S, t) = −r.
The corresponding fitted scheme is now defined as:
Vjn+1 − Vjn
Lhk Vjn
=− + ρn+1
j D+ D− Vjn+1 + µn+1
j D0 Vjn+1
k
+ bn+1
j V j
n+1
,
for 1 ≤ j ≤ J − 1, where (28)
n
µnj h µnj h
ρj ≡ coth n .
2 2σj
We define the discrete variants of the initial condition (15) and
boundary conditions (16) and we realise them as follows:
Vj0 = max(Sj − K, 0), 1 ≤ j ≤ J − 1 (29)
and
V0n = g0 (tn )
0 ≤ n ≤ N. (30)
VJn = g1 (tn )
The system (28), (29), (30) can be cast as a linear matrix system:
An U n+1 = F n , n ≥ 0 with U 0 given (31)
18 D.J. DUFFY
References
[1] Black, F. and M. Scholes 1973 The pricing of options and corporate liabilities.
Journal of Political Economy 81, 637-659.
[2] Duffy, D. J. 1980 Uniformly Convergent Difference Schemes for Problems
with a Small Parameter in the Leading Derivative. PhD thesis. Trinity Col-
lege Dublin.
[3] Duffy, D. J. 2004 Financial Instrument Pricing using C++. John Wiley and
Sons. Chichester.
[4] Duffy, D. J. 2004A A critique of the Crank-Nicolson scheme, strengths and
weaknesses for financial engineering. Wilmott Magazine. July 2004. pp. 68-
76.
[5] Duffy, D. J. 2006 Finite difference methods in financial engineering. John
Wiley and Sons. Chichester.
[6] Duffy, D.J. and Kienitz, J. 2009 Monte Carlo Frameworks, Building Cus-
tomisable High Performance C++ Applications. John Wiley and Sons. Chich-
ester.
[7] Duffy, D.J. and Germani, A. 2013 C# in Financial Markets. John Wiley and
Sons. Chichester.
[8] Haug, E. 2007 The Complete Guide to Option Pricing Formulas. McGraw-
Hill. New York.
[9] Hull J. 2006 Options, Futures and other Derivatives. Sixth Edition. Pearson.
Upper Saddle River, New Jersey.
[10] Ilin, A.M, Kalashnikov, A.S. and Oleinik, O.A. 1962 Linear Equations of
the Second Order of Parabolic Type, (translation) Russian Mathematical
Surveys 17 (no. 3) 1-143.
[11] Wilmott, P. 2006 Paul Wilmott on Quantitative Finance. John Wiley and
Sons. Chichester.