Next: , Previous: , Up: Octave Functions and Scripts   [Contents][Index]


5.72 option_barrier

Function File: [value] = option_barrier (CallPutFlag, UpFlag, S, X, H, T, r, sigma, q, Rebate)

Compute the prices of European call or put out or in barrier options.
Reference: Espen Gaarder Haug, "Complete Guide to Option Pricing Formulas", 2nd Edition, page 152ff.
Variables: