OPT_BARRIER
Grąžina ribinę pasirinkimo kainą, kurią apskaičiuoja pagal Black-Scholes pasirinkimo kainos modelį.
OPT_BARRIER(Spot; Volatility; Rate; Foreign Rate; Maturity; Strike; LowerBarrier; UpperBarrier; Rebate; PutCall; InOut; BarrierMonitoring; Greek)
Vertė – bazinio turto kaina arba vertė didesnė už 0,0.
Kitimas – metinis bazinio turto vertės procentinis kitimas išreikštas dešimtainiais skaičiais (pvz., 30% užrašoma, kaip 0,3). Reikšmė turi būti didesnė už 0,0.
Norma – nuolat sudedama palūkanų norma. Procentai išreiškiami dešimtainiu skaičiumi.
ForeignRate is the continuously compounded foreign interest rate. This is a percentage expressed as a decimal (for example, enter 50% as 0.5).
Terminas – laikotarpis išreikštas metais ir turi būti neneigiamas.
Pokytis – pokyčio kaina ir turi būti neneigiama.
LowerBarrier is the predetermined lower barrier price; set to zero for no lower barrier.
UpperBarrier is the predetermined upper barrier price; set to zero for no upper barrier.
Nuolaida – mokama laikotarpio suma, kai riba pasiekiama.
Parduoti arba pirkti – eilutė nurodanti, ar parduodama („p“) ar perkama („c“).
InOut is a string that defines whether the option is knock-in (“i”) or knock-out (“o”).
BarrierMonitoring is a string that defines whether the barrier is monitored continuously (“c”) or only at the end / maturity (“e”).
=OPT_BARRIER(30;0.2;0.06;0;1;40;25;0;0;"c";"o";"c") returns the value 0.4243.
=OPT_BARRIER(50;0.4;0.05;0;0.5;65;0;80;0;"p";"o";"c";"e") returns the value 10.1585.