In: Accounting
Write a program to implement explicit and implicit finite difference methods for options pricing.
Finite difference ways (also known as finite element methods) are used to fee choices by approximating the (steady-time) differential equation that describes how an option price evolves over time by a set of (discrete-time) change equations. The discrete change equations could then be solved iteratively to calculate a rate for the option.
This tutorial covers the overall mathematical standards behind finite diffence approaches. Accomplice tutorials duvet designated facets of the following three finite difference methods, including hyperlinks to examples of imposing the methods in MATLAB,
express system
Implicit procedure
Crank-Nicolson method
Finite change approaches are similar to binomial and trinomial
models. The Binomial mannequin series of tutorials duvet their use
in option pricing together with examples of imposing serveral
models of the binomial mannequin in MATLAB. Other financial
Engineering tutorials is also determined on the application
Tutorials web page.
Every of the finite change ways has advantages and disadvantages. Nevertheless, all of them involve a equivalent 4 step method.