summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp')
-rw-r--r--helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp65
1 files changed, 65 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp b/helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp
new file mode 100644
index 000000000..c5a6cab98
--- /dev/null
+++ b/helpcontent2/source/text/scalc/01/func_opt_prob_inmoney.xhp
@@ -0,0 +1,65 @@
+<?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="funcoptprobinmoney" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Function OPT_PROB_INMONEY</title>
+ <filename>/text/scalc/01/func_opt_prob_inmoney.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+ <section id="optprobinmoney">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id961575065633373">
+ <bookmark_value>OPT_PROB_INMONEY function</bookmark_value>
+ </bookmark>
+ <bookmark id="bm_id971575063929082" xml-lang="en-US" branch="hid/SC_HID_PAI_FUNC_OPT_PROB_INMONEY" localize="false"/>
+ <h2 id="hd_id941575063929082"><variable id="optprobinmoneyh1"><link href="text/scalc/01/func_opt_prob_inmoney.xhp" name="OPT_PROB_INMONEY">OPT_PROB_INMONEY</link></variable></h2>
+ <paragraph id="par_id941575063929083" role="paragraph" xml-lang="en-US"><variable id="variable name"><ahelp hid=".">Returns the probability that an asset will end up between two barrier levels at maturity, assuming that the stock price can be modeled as a process S that follows the stochastic differential equation</ahelp></variable>, as follows.</paragraph>
+ <paragraph role="paragraph" id="par_id21575078735992" xml-lang="en-US">
+ <image src="media/helpimg/sc_func_opt01.svg" id="img_id211575078735993" width="197.38334px" height="51.2125px"><alt xml-lang="en-US" id="alt_id401575078735994">OPT_PROB_INMONEY equation</alt></image>
+ </paragraph>
+ <paragraph role="paragraph" id="par_id941575074893788"><literal>µ</literal> is the asset’s percentage drift, <literal>vol</literal> is the percentage volatility of the stock, and <literal>dW</literal> is a random sample drawn from a normal distribution with a zero mean. <literal>W</literal> is a Wiener process or Brownian motion.</paragraph>
+ <paragraph role="paragraph" id="par_id241575075282150">If the optional <emph>Strike</emph> and <emph>PutCall</emph> arguments are included, then</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph id="par_id931575075314553" role="listitem">For a call option, the function returns the probability that the asset will end up between <emph>Strike</emph> and <emph>UpperBarrier</emph>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id531575075321659" role="listitem">For a put option, the function returns the probability that the asset will end up between <emph>LowerBarrier</emph> and <emph>Strike</emph>.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="paragraph" id="par_id191575075304900">The function ignores the possibility of knock-out before maturity.</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_id761575075027094">OPT_PROB_INMONEY(Spot; Volatility; Drift; Maturity; LowerBarrier; UpperBarrier [; Strike [; PutCall]])</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_id281575079343439" localize="false"><embedvar href="text/scalc/01/func_opt_prob_hit.xhp#optdrift" 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_id851575079506442" localize="false"><embedvar href="text/scalc/01/func_opt_prob_hit.xhp#optstrike" markup="keep"/></paragraph>
+ <paragraph role="paragraph" id="par_id861575082252126" localize="false"><embedvar href="text/scalc/01/func_opt_barrier.xhp#optputcall" markup="keep"/></paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
+ <paragraph role="paragraph" id="par_id601575074993334"><input>=OPT_PROB_INMONEY(30;0.2;0.1;1;0;50)</input> returns the value 0.9844.</paragraph>
+ <paragraph role="paragraph" id="par_id261575074997216"><input>=OPT_PROB_INMONEY(70;0.3;0.15;1;60;0;80;"p")</input> returns the value 0.3440.</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.GETOPTPROBINMONEY</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>