diff options
Diffstat (limited to 'helpcontent2/source/text/scalc/01/func_opt_barrier.xhp')
-rw-r--r-- | helpcontent2/source/text/scalc/01/func_opt_barrier.xhp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/01/func_opt_barrier.xhp b/helpcontent2/source/text/scalc/01/func_opt_barrier.xhp new file mode 100644 index 000000000..3c9b23401 --- /dev/null +++ b/helpcontent2/source/text/scalc/01/func_opt_barrier.xhp @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<helpdocument version="1.0"> + <!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + --> + + <meta> + <topic id="funcoptbarrier" indexer="include" status="PUBLISH"> + <title id="tit" xml-lang="en-US">Function OPT_BARRIER</title> + <filename>/text/scalc/01/func_opt_barrier.xhp</filename> + </topic> + </meta> + <body> + <section id="optbarrier"> + <bookmark xml-lang="en-US" branch="index" id="bm_id511575065323638"> + <bookmark_value>OPT_BARRIER function</bookmark_value> + </bookmark> + <bookmark id="bm_id941575063871993" xml-lang="en-US" branch="hid/SC_HID_PAI_FUNC_OPT_BARRIER" localize="false"/> + <h2 id="hd_id241575063871994"><variable id="optbrarrierh1"><link href="text/scalc/01/func_opt_barrier.xhp" name="OPT_BARRIER">OPT_BARRIER</link></variable></h2> + <paragraph id="par_id121575063871995" role="paragraph" xml-lang="en-US"><variable id="variable name"><ahelp hid=".">Returns the pricing for a barrier option, calculated using the Black-Scholes option pricing model.</ahelp></variable></paragraph> + </section> + <embed href="text/scalc/01/func_opt_touch.xhp#opttip"/> + <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/> + <paragraph role="code" id="par_id371575067051846">OPT_BARRIER(Spot; Volatility; Rate; Foreign Rate; Maturity; Strike; LowerBarrier; UpperBarrier; Rebate; PutCall; InOut; BarrierMonitoring [; Greek])</paragraph> + <paragraph role="paragraph" id="par_id641575073609823" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optspot" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id731575073617425" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optvolat" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id341575073621215" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optrate" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id391575073625097" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optfrate" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id541575073629073" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optmaturity" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id681575073426941"><emph>Strike</emph> is the strike price of the option and should be non-negative.</paragraph> + <paragraph role="paragraph" id="par_id321575073632473" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optlowbar" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id541575073636017" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optupbar" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id671575073495724"><emph>Rebate</emph> is the amount of money to be paid at maturity if the barrier is hit.</paragraph> + <paragraph role="paragraph" id="par_id691575073511191"><variable id="optputcall"><emph>Put or Call</emph> is a string that defines whether the option is a put (āpā) or a call (ācā).</variable></paragraph> + <paragraph role="paragraph" id="par_id11575073641257" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optinout" markup="keep"/></paragraph> + <paragraph role="paragraph" id="par_id211575073645423" localize="false"><embedvar href="text/scalc/01/func_opt_touch.xhp#optbarmon" markup="keep"/></paragraph> + <embed href="text/scalc/01/func_opt_touch.xhp#optgreek"/> + <embed href="text/scalc/01/common_func.xhp#sectionexample"/> + <paragraph role="paragraph" id="par_id651575073773761"><input>=OPT_BARRIER(30;0.2;0.06;0;1;40;25;0;0;"c";"o";"c")</input> returns the value 0.4243.</paragraph> + <paragraph role="paragraph" id="par_id401575073777593"><input>=OPT_BARRIER(50;0.4;0.05;0;0.5;65;0;80;0;"p";"o";"c";"e")</input> returns the value 10.1585.</paragraph> + <embed href="text/scalc/01/common_func.xhp#sectiontechinfo"/> + <embed href="text/scalc/00/avail_release.xhp#4.0"/> + <embed href="text/scalc/01/common_func.xhp#notODFF"/> + <paragraph role="paragraph" id="par_id341640873986703" localize="false"><literal>COM.SUN.STAR.SHEET.ADDIN.PRICINGFUNCTIONS.GETOPTBARRIER</literal></paragraph> + <section id="relatedtopics"> + <embed href="text/scalc/01/func_opt_barrier.xhp#optbrarrierh1"/> + <embed href="text/scalc/01/func_opt_touch.xhp#opttouchh1"/> + <embed href="text/scalc/01/func_opt_prob_inmoney.xhp#optprobinmoneyh1"/> + <embed href="text/scalc/01/func_opt_prob_hit.xhp#optprobhith1"/> + <embed href="text/scalc/01/func_opt_touch.xhp#relatedfinancial"/> + </section> +</body> +</helpdocument> |