How to price Barrier Options in Matlab

2 views (last 30 days)
Phi
Phi on 9 Jul 2014
When pricing a regular vanilla call/put option one can use the build-in function blsprice. It is known that there are also analytic formulae for barrier options (see http://www3.imperial.ac.uk/pls/portallive/docs/1/55071696.PDF page 16, ff). It would obviously not be ideal to copy these formulae into Matlab (it would be easy to make mistakes, etc).
So I am wondering, does Matlab provide a function that has these formulae already implemented? I have found instbarrier but I am not sure how to use it.

Answers (0)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!