A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

# Questions tagged [finite-difference-method]

The tag has no usage guidance.

52 questions
Filter by
Sorted by
Tagged with
34 views

### Pricing Autocallable Structured Products using Finite Difference Method [closed]

I am trying to price autocallable structured products, with single underlying asset and discrete call dates. I am stuck by the boundary condition when the underlying asset price $S$ hits the call ...
46 views

### Instability in risks using local volatility

I am valuing vanilla call options using FDM with Crank Nicolson discretization and Rannacher smoothing (mind you, I am having the same issue on MC) and I am getting unstable delta, gamma and theta. I ...
108 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? ...
28 views

### Crank–Nicolson for Discrete Type Barrier: Backward propagation

The boundary conditions for Discrete Type Barrier (e.g. Up-and-Out) are: - Dirichelet boundary condition (set to 0 when spot is bigger than Barrier) on Barrier event dates - Otherwise (the other sides ...
42 views

40 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 ...
75 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 ...
113 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 ...
40 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 ...
36 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 ...
665 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?
177 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 ...
219 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-...
131 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}{\...
135 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}{\...
263 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. ...
416 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....
941 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 ...
495 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 ...
139 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 ...
252 views

### Trinomial Tree and finite difference methods

I want to understand the connection between the trinomial tree and the finite difference methods. As far as I understood so far is, if we transform the Black-Scholes-PDE to heat equation, the explicit ...
151 views

1k views

### Calculation of option Greek (sensitiviety) theta via finite difference

I am able to get good approximations for delta, gamma, and rho via finite difference method, but not theta. I believe my issue is the value of h. Theta is basically the difference between the price ...
326 views

37 views

### Methods Available for Derivative Pricing in Mathematica? [closed]

I am using Mathematica to price options (built in functions, no need to reinvent the wheel, right?). In the documentation, the Binomial method is used as an example of specifying a non-standard method....
526 views

### Is the code of my binary call option pricer (using explicit finite difference, backward scheme) correct? [closed]

I am using explicit finite difference (backward scheme) to price a binary call option. Here is my MATLAB code: ...
121 views

### Why can't we use Finite Differences with non-parabolic PDEs?

The title of the question says it all. Why can we only apply the method to parabolic PDEs like the heat equation, and not to ordinary PDEs?