Skip to Content
Financial Modelling in Python
book

Financial Modelling in Python

by Shayne Fletcher, Christopher Gardner
August 2009
Intermediate to advanced
244 pages
9h 5m
English
Wiley
Content preview from Financial Modelling in Python
P1: JYS
app03 JWBK378-Fletcher April 24, 2009 8:20 Printer: Yet to come
Appendix C
Hull–White Model Mathematics
In this appendix we give a brief outline of the Hull–White model. For a more in-depth
discussion of the Hull–White model, readers are encouraged to consult [10] and [18]. The
Hull–White model belongs to a class of HJM models called extended Vasicek models. This
class of one-factor models has, in the risk-neutral measure denoted by Q, the following short
rate process
dr(t) =
(
m(t) λ(t)r(t)
)
dt + σ (t)dW(t)(C.1)
with r(t), the short rate at time t, m(t)(t)(t):R
+
→ R
+
and W(t)isaQ-Brownian mo-
tion. The original Hull–White model makes the further simplification that both σ and λ are
constant in time. Introducing the auxiliary variables defined below
C(t):= σ (t)exp(λt)(C.2)
φ(t):=
1 exp(λt)
λ
(C.3)
M(t):= exp(λt)r(0) +
t
0
exp(λ(s t))m(s)ds (C.4)
it is straightforward to show that
R(t, T ):=
T
t
r(s)ds =
T
t
M(s)ds +
T
t
(
φ(T ) φ(s)
)
C(s)dW(s). (C.5)
The stochastic discount factor and zero coupon bond can be expressed in terms of R(t, T)
as follows:
B(t)
1
:= exp(R(0, t)) (C.6)
P(t, T ):= E
exp(R(t, T ))|F
t
(C.7)
where E denotes the expectation in the risk-neutral measure and F
t
the filtration at time
t. Before carrying out the above expectations we note that B(t) is called the money-market
account and is the numeraire in the risk-neutral measure. Performing the expectations we
obtain
B(t)
1
= P(0, t)e
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Stochastic Financial Models

Stochastic Financial Models

Douglas Kennedy
Python and R for the Modern Data Scientist

Python and R for the Modern Data Scientist

Rick J. Scavetta, Boyan Angelov

Publisher Resources

ISBN: 9780470987841Purchase book