Calculate price or sensitivities for European barrier options using Black-Scholes option pricing model

calculates
European barrier option prices or sensitivities using the Black-Scholes
option pricing model.`PriceSens`

= barriersensbybls(`RateSpec`

,`StockSpec`

,`OptSpec`

,`Strike`

,`Settle`

,`ExerciseDates`

,`BarrierSpec`

,`Barrier`

)

adds optional name-value pair arguments. `PriceSens`

= barriersensbybls(___,`Name,Value`

)

[1] Hull, J. *Options, Futures and Other Derivatives* Fourth
Edition. Prentice Hall, 2000, pp. 646–649.

[2] Aitsahlia, F., L. Imhof, and T.L. Lai. “Pricing and hedging
of American knock-in options.” *The Journal of Derivatives.* Vol.
11.3, 2004, pp. 44–50.

[3] Rubinstein M. and E. Reiner. “Breaking down the barriers.” *Risk.* Vol.
4(8), 1991, pp. 28–35.

`barrierbybls`

| `barrierbyfd`

| `barrierbyls`

| `barriersensbyfd`

| `barriersensbyls`