Opengamma Local Vol - 006
Opengamma Local Vol - 006
However the
second derivative can be discontinuous regardless of how smooth the basis function fi is:
2 ′ [ ′ ]
lim f ′′ (xi + ϵ) − f ′′ (xi − ϵ) = w (1) fi+1 (xi ) − fi′ (xi )
ϵ→0 ∆xi
[ ] (23)
2
− w′ (0) fi′ (xi ) − fi−1
′
(xi )
∆xi−1
If the additional constraint w′ (0) = w′ (1) = 0 is applied, then the second derivative will be
continuous. A candidate weight function is
( [ ( )] )
1 1
w(y) = sin π y − �+1 (24)
2 2
Extrapolation is handled by using either the SABR fit to the lowest three strikes (for strikes
less than the lowest market strike) or the fit to the highest three strikes (for strikes greater than
the highest market strike)7 .