Questions tagged [finite-difference-method]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

Question on boundary conditions when using Finite Difference

I have two questions appearing to me (they are not related directly to each other). My first question is about boundary conditions when using Finite difference methods. There are two ways to do it: a)...
0
votes
0answers
23 views

Calculate error at all spatial indices for a given time step between BS equation and its numerical solution using explicit method

I am using the explicit finite backward difference scheme to discretize and calculate the price of an European call option in a discretization stencil. My goal is to find the error at a given time ...
6
votes
1answer
136 views

Negative Density in Local Stochastic Volatility (LSV) Model Calibration

I'm trying to calibrate Local stochastic volatility model using finite difference method, and I'm mainly following this referece: Tian (2015). I met a problem when calibrating leverage function - the ...
2
votes
2answers
96 views

Boundary Conditions for Call Option in Black Scholes Model

Let $C(t,S)$ be the value function of a call option. I want to price that option using (explicit) finite differences and the Black Scholes PDE. I consider the grid $0=t_0<t_1<...<t_{N-1}<...
0
votes
0answers
23 views

Floating Strike Lookback Put- Finite Difference method

I am trying to understand floating strike lookback options, through implementing its pricing using Finite Difference method. I read the theoretical part about these options in the book "Option ...
1
vote
0answers
38 views

Implicit Scheme for Cox-Ingersoll-Ross Model PDE

I am considering the PDE for the price of a bond $V(r,t)$ with maturity $T$ under the Cox-Ingersoll-Ross model, $$V_t+\frac12\sigma^2rV_{rr}+\nu(\theta-r)V_r-rV=0\quad r>0, t\in(0,1)$$ with ...
4
votes
1answer
100 views

Maximum norm stability for implicit Black-Scholes equation

I am trying to prove maximum norm stability for the following implicit approximation to the Black-Scholes equation $$\frac1{\Delta t}\left(U_j^{(n+1)}-U_j^{(n)}\right)+\frac{rS_j}{\Delta S}\left(U_{j+...
0
votes
0answers
51 views

Can you explain grid(or lattice) for option pricing, and explicit and implicit finite difference methods in a simple way?

I am a student learning about option pricing. I understand the concept of binomial trees, trinomial trees, black scholes and monte carlo simulation for option pricing. However, I've just had a lecture ...
1
vote
0answers
34 views

Quick Discretization question for finite difference and finite element methods

Assume we have the discretization in space $x_1, x_2, ... , x_M$ and time $t_1, t_2, ... , t_N$ for a finite difference or finite element method for option pricing and we want to solve for the option ...
1
vote
0answers
42 views

boundary conditions in finite element method

In the appendix A of this paper, https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.227.5073&rep=rep1&type=pdf, a finite element method is demonstrated to price a straddle. The same ...
0
votes
0answers
55 views

Determining the early exercise curve of an American option

When I have found the price of an American option using, say, a finite difference scheme - how do I find the early exercise curve from this solution? Here is my idea: What I have is the price of the ...
1
vote
1answer
226 views

Negative theta for a short put

I am getting a negative theta for a short put deal Is it possible and if yes then under what conditions. Kindly explain I am just learning these concepts so my question may sound vague to some of you ...
0
votes
0answers
22 views

Backward difference approximation (BDF-2) for Options

I am working on a project for compound options and the assignment is as following: ...
0
votes
0answers
77 views

What are the boundary conditions for the Forward contract PDE?

European call When solving the PDE for the value $V$ of a European call option under the Black-Scholes model using a finite difference scheme, we have that Initial/terminal condition. $V(S_T,T) = \...
0
votes
0answers
39 views

Issue in Understanding the Boundary Conditions for European Call Option in Implicit Finite Difference Method

I have a working Python code which prices European call option in Implicit Finite Difference setting. However, I am unable to understand the Boundary Conditions implemented on the coefficient matrix ...
0
votes
0answers
65 views

Discrete Geometric Average Methodology for Pricing Asian Option using Finite Difference in Python

I am able to price Asian Options using Discrete Arithmetic Average in Finite Difference scheme and implementing the same in Python. However I am struggling to write the code for the same in Discrete ...
0
votes
0answers
67 views

Error in Call Option Valuation using Implicit Finite Difference implemented in Python

I am trying to valuate call option using implicit Finite difference method (Forward Marching) implemented in Python. However I am getting the error in the code. Following is the code I have developed: ...
3
votes
1answer
205 views

Greeks: Estimate gamma by Monte Carlo finite difference

When I was using Monte Carlo to calculate the gamma of a vanilla call option by finite difference method, I stuck in this weird situation as below. Consider this, $$ Gamma = \frac{CallPrice(S^{up}_{T})...
3
votes
0answers
76 views

Operator splitting method on three assets black scholes equation

Currently I am studying finite difference method on derivatives with three (or more) underlyings and little bit confused on operator splitting method because two papers have different result. For the ...
2
votes
2answers
192 views

Implicit finite difference method always guarantees positive and stable price of derivative?

For the following black scholes pde $$ f_t + rSf_S+\frac{1}{2}\sigma^2S^2f_{SS} = rf $$ By denoting $f_{i}^{n} = $ Price of derivative at price node $i$ and time node $n$ and assume uniform grid, the ...
8
votes
2answers
192 views

Improve Finite Difference Scheme

I understand how to derive and implement standard finite difference schemes. I wonder how to improve such a standard FD scheme? For example, when solving the standard Black-Scholes equation, the ...
2
votes
0answers
86 views

Stability of Finite Difference method for Breeden-Litzenberger

I am trying to derive a risk-neutral density from European call option prices using a second order finite difference scheme. Let $C(K,T)$ be the price of a European call with strike $K$ and expiry $T$ ...
1
vote
1answer
58 views

Canonical text on numerical PDEs in finance

I am looking for a text similar to Glasserman's Monte Carlo Methods in Financial Engineering, but with a focus on numerical methods for PDEs. Glasserman's book seems to cover a lot for what is ...
5
votes
0answers
119 views

Benchmark a Libor Market Model implementation

Assume I have implemented a solution of the Libor Market model PDE in terms of the Finite Difference method. What is a good strategy for validating and benchmarking the results of this implementation? ...
2
votes
1answer
78 views

Numerical Solution to 3 Dimensional Backward BS PDE

I have a three dimensional backward BS PDE. $$ \frac{\partial V}{\partial t} + a(t) S \frac{\partial V}{\partial S} + \frac{1}{2} \sigma(t, S)^2 \frac{\partial^2 V}{\partial S^2} + b(t, M) \frac{\...
2
votes
2answers
2k views

Local Volatility calculation in Python

I am trying to price Local Volatility in Python using Dupire (Finite Difference Method). I have following set of information Spot: 770.05, Strike: 850, Type: 'C', rfr: 0.0066, time to maturity = ...
1
vote
0answers
374 views

Pricing Knock Out Barrier Options by solving Black Scholes PDE (MATLAB)

This question is based on MATLAB functions. Suppose there is a stock S following the process $dS_t=(r-q)S_tdt+\sigma(S_t,t)dW_t$ r - risk-free rate, q - dividend yield, W - Weiner process The ...
2
votes
1answer
108 views

Finite difference methods for (continuously) strike-resettable American options

For simplicity, let us consider an American call/put with a continuously resettable strike price. Current time is $t=0$, maturity is at $t=T$, and the initial strike is $K_0$. We consider a "...
3
votes
2answers
245 views

Is it possible to model path-dependent clauses using finite difference methods?

I'm trying to build a convertible bond pricer. In my case a convertible bond is a complex derivative with call, put and conversion price reset clauses, and all of the clauses are triggered in a path-...
1
vote
1answer
69 views

Explicit Euler stability for the Heat Equation (FDM)

Why the Explicit Euler scheme for the Heat Equation is stable only if $k \leq h^2/2$ ? Here is the difference equation: \begin{equation} \frac{U_j^{n+1}-U_{j}^n}{k} = \frac{1}{h^2}(U_{j+1}^n-2U_j^n+...
3
votes
2answers
349 views

Binomial Trees vs FDM

Binomial trees as the number of time steps is increased (or equivalently as the time step tends to 0), converge to the exact value for an option. So why do people use FDM for pricing options (for ...
2
votes
0answers
94 views

American-Bermudan-Asian option fixed strike using finite differences

I'm trying to price the same American-Bermudan-Asian option described in Longstaff Schwartz (2001). Specifically, using finite difference methods with an explicit scheme to solve $\begin{aligned} \...
3
votes
1answer
246 views

Errors on Finite Differences + Implicit Scheme + Black & Scholes

I'm solving the classical Black & Scholes (BS) PDE for a European option using finite difference and the implicit scheme. In other words, I'm trying to solve $\displaystyle\frac{\partial V}{\...
2
votes
0answers
266 views

How do you numerically solve the Dupire Local Volatility PDE in log moneyness-time space?

I am trying to implement a numerical solution to price vanilla calls. I am using the Dupire equation in log moneyness-time (k = ln(F/T)) space as per below PDE I have tried solving it using a fully ...
1
vote
0answers
66 views

Optimal allocation problem by finite differences

I am attempting to apply implicit finite difference to solve Merton's problem of optimal portfolio allocation for constant parameters. The equation to solve is the Hamilton-Jacobi-Bellman equation: $$...
1
vote
1answer
46 views

How many decimals of accuracy can I expect from FDM and MC (both valuation and risk)

I have implemented some Monte Carlo and FDM code. I can then get greeks by bumping. I am comparing to to exact formulas of price + greeks, and am wondering how many decimals of accuracy I can expect ...
1
vote
1answer
87 views

Finite difference: move forwards or backwards?

In finite differences for the black scholes method, you move backwards in time, since of course you know the prices at time $t = T$, and then you iterate until you get to time $t = 0$. However, why ...
2
votes
3answers
146 views

For using finite difference on PDE, what should the grid be?

If I wish to use finite difference methods to approximate the pricing function $F(t, s)$ for an option (say, a call), what size grid should I use? I mean, it seems to make sense to start the grid at ...
1
vote
1answer
42 views

How are FDE's implemented when one wants one particular price?

Say I want to price a particular call option in the Black Scholes model using finite difference methods. The value process of this option $V(s, t)$ satisfies a PDE. I can use finite difference ...
1
vote
0answers
45 views

Oscillating errors in finite difference Black Scholes

I am writing an implementation of the explicit finite difference method to price a standard european call option, and comparing the results to the corresponding analytical value to gauge the error ...
1
vote
1answer
1k views

how to price barrier option under local vol model using QuantLib

I use QuantLib in Python. Now I have implied volatility surface data. How can I get the local vol surface than using finite difference method to price a barrier option in QuantLib?
5
votes
0answers
212 views

Finite Difference with SVI Vol Model

I am attempting to implement a local vol pricing model in finite difference for equity index options. I have followed Gatheral's Lectures and fitted an SVI Model bringing me to the following local ...
2
votes
1answer
237 views

SABR PDE spot/forward upper boundary condition implementation

When running my Finite Difference code, I observe something odd. Although implementing a classical (non-reverting) SABR model, I initialized the variables such that it should be equal to Black-...
1
vote
1answer
151 views

Finite Difference implicit scheme

I'm trying to solve the following PDE numerically using an implicit FD scheme: \begin{equation} \frac{\sigma_s^2}{2}\frac{\partial^2 V}{\partial S^2} + \rho \sigma_S \sigma_\alpha\frac{\partial^2 V}{\...
2
votes
1answer
153 views

Unable to obtain correct Finite Difference Results

A rather general question regarding a specific problem I am facing with my Matlab implementation of the implicit FD method for this PDE: \begin{equation} \frac{\sigma_s^2}{2}\frac{\partial^2 V}{\...
4
votes
1answer
322 views

Finite Difference method in Matlab for SABR volatility model fails to provide correct option values

Currently, I'm trying to implement a Finite Difference (FD) method in Matlab for my thesis (Quantitative Finance). I implemented the FD method for Black-Scholes already and got correct results. ...
1
vote
1answer
561 views

Black Scholes Theta Finite difference

I am trying to obtain the Theta from Closed Formula by using Finite Difference methods and I observe some discrepancies. For instance, here with the following parameters: Spot:50, Strike:50, Rate: 0....
3
votes
1answer
1k views

Local Volatility implementation

The Dupire equation is well-known and mentioned in thousands of articles. Although I could not find a lot of documentation about a consistent and proper way of implementing the formula (The difficulty ...
2
votes
1answer
673 views

Brennan-Schwartz algorithm for pricing American options

I'm reading Pricing American Options using LU decomposition by Ikonen and Toivanen (IT). They reference The valuation of American put options by Brennan and Schwartz, and cast it as method that uses ...
1
vote
1answer
159 views

MATLAB exercise on an European call option with time-varying volatility

I have to solve the following exercise: compute and plot the value $V = V(S, t),\ t<T$, ($T=$ maturity) of an European CALL option (with arbitrary $t$, $T$, $K$ (strike price), $r$ (risk-free ...