1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
4
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
5
5
<meta name="robots" content="none">
6
6
<title>QuantLib: AnalyticDigitalAmericanEngine Class Reference</title>
7
7
<link rel="stylesheet" href="quantlib.css" type="text/css">
33
33
<li class="navlink"><a href="install.html">Installation</a></li>
34
34
<li class="navlink"><a href="config.html">Configuration</a></li>
35
35
<li class="navlink"><a href="usage.html">Usage</a></li>
36
<li class="navlink"><a href="faq.html">Frequently asked questions</a></li>
37
36
<li class="navlink"><a href="history.html">Version history</a></li>
38
37
<li class="navlink"><a href="resources.html">Additional resources</a></li>
39
38
<li class="navlink"><a href="group.html">The QuantLib group</a></li>
63
62
<!--Doxygen-generated content-->
65
<!-- Generated by Doxygen 1.5.1 -->
64
<!-- Generated by Doxygen 1.5.2 -->
67
66
<b>QuantLib</b>::<a class="el" href="class_quant_lib_1_1_analytic_digital_american_engine.html">AnalyticDigitalAmericanEngine</a></div>
68
67
<h1>AnalyticDigitalAmericanEngine Class Reference<br>
70
69
[<a class="el" href="group__vanillaengines.html">Vanilla option engines</a>]</small>
71
</h1><!-- doxytag: class="QuantLib::AnalyticDigitalAmericanEngine" --><!-- doxytag: inherits="QuantLib::VanillaOption::engine" --><code>#include <ql/PricingEngines/Vanilla/analyticdigitalamericanengine.hpp></code>
73
Inheritance diagram for AnalyticDigitalAmericanEngine:<p><center><img src="class_quant_lib_1_1_analytic_digital_american_engine__inherit__graph.png" border="0" usemap="#_analytic_digital_american_engine__inherit__map" alt="Inheritance graph"></center>
74
<map name="_analytic_digital_american_engine__inherit__map">
75
<area href="class_quant_lib_1_1_vanilla_option_1_1engine.html" shape="rect" coords="88,7,155,31" alt="">
77
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_quant_lib_1_1_analytic_digital_american_engine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
78
Pricing engine for American vanilla options with digital payoff using analytic formulae<p>
79
<dl compact><dt><b><a class="el" href="todo.html#_todo000054">Todo:</a></b></dt><dd>add more greeks (as of now only delta and rho available)</dd></dl>
81
<dl compact><dt><b><a class="el" href="test.html#_test000082">Tests:</a></b></dt><dd><ul>
70
</h1><!-- doxytag: class="QuantLib::AnalyticDigitalAmericanEngine" --><!-- doxytag: inherits="QuantLib::OneAssetOption::engine" --><code>#include <ql/pricingengines/vanilla/analyticdigitalamericanengine.hpp></code>
72
<a href="class_quant_lib_1_1_analytic_digital_american_engine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
73
Analytic pricing engine for American vanilla options with digital payoff.
75
<dl compact><dt><b><a class="el" href="todo.html#_todo000050">Todo:</a></b></dt><dd>add more greeks (as of now only delta and rho available)</dd></dl>
76
<dl compact><dt><b><a class="el" href="test.html#_test000089">Tests:</a></b></dt><dd><ul>
82
77
<li>the correctness of the returned value in case of cash-or-nothing at-hit digital payoff is tested by reproducing results available in literature.</li><li>the correctness of the returned value in case of asset-or-nothing at-hit digital payoff is tested by reproducing results available in literature.</li><li>the correctness of the returned value in case of cash-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.</li><li>the correctness of the returned value in case of asset-or-nothing at-expiry digital payoff is tested by reproducing results available in literature.</li><li>the correctness of the returned greeks in case of cash-or-nothing at-hit digital payoff is tested by reproducing numerical derivatives. </li></ul>