summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/01/func_opt_barrier.xhp
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning.wh@gmail.com>2019-11-30 12:14:44 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-11-30 16:44:27 +0100
commitd224d5be730b942c59f2942482e6704c9f51e2c3 (patch)
tree4466d70d38c1583e45ee76dedff710818f11292b /source/text/scalc/01/func_opt_barrier.xhp
parentMake this example click-copyable (diff)
downloadhelp-d224d5be730b942c59f2942482e6704c9f51e2c3.tar.gz
help-d224d5be730b942c59f2942482e6704c9f51e2c3.zip
tdf#92084 Help Pages for OPT_* Calc functions
Note: The OPT_* functions implemented in release 4.0 have no HID_ defined. Dummy HID contants were inserted waiting for tdf#129115. Change-Id: Iac253a86ff8cbf8fd1a222c6326abc7e0c9f4f76 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/84122 Tested-by: Jenkins
Diffstat (limited to 'source/text/scalc/01/func_opt_barrier.xhp')
-rw-r--r--source/text/scalc/01/func_opt_barrier.xhp55
1 files changed, 55 insertions, 0 deletions
diff --git a/source/text/scalc/01/func_opt_barrier.xhp b/source/text/scalc/01/func_opt_barrier.xhp
new file mode 100644
index 0000000000..805baef58b
--- /dev/null
+++ b/source/text/scalc/01/func_opt_barrier.xhp
@@ -0,0 +1,55 @@
+<?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_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/00/avail_release.xhp#4.0"/>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
+ <paragraph role="code" id="par_id371575067051846">OPT_BARRIER(Spot; Volatility; Rate; Foreign Rate; Maturity; Strike; Lower Barrier; Upper Barrier; Rebate; Put or Call; In or Out; Barrier Monitoring; 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>
+ <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>