1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="robots" content="none">
<title>QuantLib: DigitalIborLeg Class Reference</title>
<link rel="stylesheet" href="quantlib.css" type="text/css">
<link rel="stylesheet" href="print.css" type="text/css" media="print">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<div id="container">
<div id="header">
<img class="titleimage"
src="QL-title.jpg" width="212" height="47" border="0"
alt="QuantLib">
<br>
<h3 class="subtitle">A free/open-source library for quantitative finance</h3>
</div>
<div id="menu">
<h3 class="navbartitle">Version 0.9.0</h3>
<hr>
<h3 class="navbartitle">Getting started</h3>
<ul class="navbarlist">
<li class="navlink"><a href="index.html">Introduction</a></li>
<li class="navlink"><a href="overview.html">Project overview</a></li>
<li class="navlink"><a href="where.html">Where to get QuantLib</a></li>
<li class="navlink"><a href="install.html">Installation</a></li>
<li class="navlink"><a href="config.html">Configuration</a></li>
<li class="navlink"><a href="usage.html">Usage</a></li>
<li class="navlink"><a href="history.html">Version history</a></li>
<li class="navlink"><a href="resources.html">Additional resources</a></li>
<li class="navlink"><a href="group.html">The QuantLib group</a></li>
<li class="navlink"><a href="license.html">Copyright and license</a></li>
</ul>
<hr>
<h3 class="navbartitle">Reference manual</h3>
<ul class="navbarlist">
<li class="navlink"><a href="modules.html">Modules</a></li>
<li class="navlink"><a href="hierarchy.html">Class Hierarchy</a></li>
<li class="navlink"><a href="annotated.html">Compound List</a></li>
<li class="navlink"><a href="files.html">File List</a></li>
<li class="navlink"><a href="functions.html">Compound Members</a></li>
<li class="navlink"><a href="globals.html">File Members</a></li>
<li class="navlink"><a href="bug.html">Known Bugs</a></li>
<li class="navlink"><a href="caveats.html">Caveats</a></li>
<li class="navlink"><a href="test.html">Test Suite</a></li>
<li class="navlink"><a href="examples.html">Examples</a></li>
</ul>
</div>
<div id="content">
<!--Doxygen-generated content-->
<!-- Generated by Doxygen 1.5.4 -->
<div class="nav">
<a class="el" href="namespace_quant_lib.html">QuantLib</a>::<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a></div>
<h1>DigitalIborLeg Class Reference</h1><!-- doxytag: class="QuantLib::DigitalIborLeg" --><code>#include <ql/cashflows/digitaliborcoupon.hpp></code>
<p>
<p>
<a href="class_quant_lib_1_1_digital_ibor_leg-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
helper class building a sequence of digital ibor-rate coupons <table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98bc954e8bd6e9a82d46c4edf0305561"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::DigitalIborLeg" ref="98bc954e8bd6e9a82d46c4edf0305561" args="(const Schedule &schedule, const boost::shared_ptr< IborIndex > &index)" -->
</td><td class="memItemRight" valign="bottom"><b>DigitalIborLeg</b> (const <a class="el" href="class_quant_lib_1_1_schedule.html">Schedule</a> &schedule, const boost::shared_ptr< <a class="el" href="class_quant_lib_1_1_ibor_index.html">IborIndex</a> > &index)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1b498a044448d4b13b0ab4f28a8c95f"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withNotionals" ref="d1b498a044448d4b13b0ab4f28a8c95f" args="(Real notional)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withNotionals</b> (<a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> notional)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6d9ebeaf70cd31691cec7e09ccba0cc5"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withNotionals" ref="6d9ebeaf70cd31691cec7e09ccba0cc5" args="(const std::vector< Real > &notionals)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withNotionals</b> (const std::vector< <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> > &notionals)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44e924827da7e7cbac9e5d19cfcfa90f"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPaymentDayCounter" ref="44e924827da7e7cbac9e5d19cfcfa90f" args="(const DayCounter &)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPaymentDayCounter</b> (const <a class="el" href="class_quant_lib_1_1_day_counter.html">DayCounter</a> &)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="937501bf6814fe2f114773ffc8dab212"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPaymentAdjustment" ref="937501bf6814fe2f114773ffc8dab212" args="(BusinessDayConvention)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPaymentAdjustment</b> (<a class="el" href="group__datetime.html#gff46c5ae9385d20709bedade86edd368">BusinessDayConvention</a>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af8573966dda67e7c2b7e39f1e1d63c0"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withFixingDays" ref="af8573966dda67e7c2b7e39f1e1d63c0" args="(Natural fixingDays)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withFixingDays</b> (<a class="el" href="group__types.html#g7e529c39c477ba1f5a22264d93e8457a">Natural</a> fixingDays)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5d83efb766fcd6e8cbbbb1f85d08796c"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withFixingDays" ref="5d83efb766fcd6e8cbbbb1f85d08796c" args="(const std::vector< Natural > &fixingDays)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withFixingDays</b> (const std::vector< <a class="el" href="group__types.html#g7e529c39c477ba1f5a22264d93e8457a">Natural</a> > &fixingDays)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="85175d72b02b8076cb924c3768a18c55"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withGearings" ref="85175d72b02b8076cb924c3768a18c55" args="(Real gearing)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withGearings</b> (<a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> gearing)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="979afc4a1b1edd961714c3a446319815"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withGearings" ref="979afc4a1b1edd961714c3a446319815" args="(const std::vector< Real > &gearings)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withGearings</b> (const std::vector< <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> > &gearings)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c55cdd2f3cbbc0645153f3991bf44f89"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withSpreads" ref="c55cdd2f3cbbc0645153f3991bf44f89" args="(Spread spread)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withSpreads</b> (<a class="el" href="group__types.html#ge7427f4743503002b0c6eeeefae91a3d">Spread</a> spread)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a78b01675c93d9fc2f1779918bbe5b41"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withSpreads" ref="a78b01675c93d9fc2f1779918bbe5b41" args="(const std::vector< Spread > &spreads)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withSpreads</b> (const std::vector< <a class="el" href="group__types.html#ge7427f4743503002b0c6eeeefae91a3d">Spread</a> > &spreads)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2000c3bc195480e8da551347d2ca6ad2"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::inArrears" ref="2000c3bc195480e8da551347d2ca6ad2" args="(bool flag=true)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>inArrears</b> (bool flag=true)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb89292cc02e9c2a99ef9853c9d6645b"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withCallStrikes" ref="fb89292cc02e9c2a99ef9853c9d6645b" args="(Rate strike)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withCallStrikes</b> (<a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> strike)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ea6a15ee00f78917d2c254e32022f153"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withCallStrikes" ref="ea6a15ee00f78917d2c254e32022f153" args="(const std::vector< Rate > &strikes)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withCallStrikes</b> (const std::vector< <a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> > &strikes)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3f682c7bf4dcca6f142dbe3a43be88b7"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withLongCallOption" ref="3f682c7bf4dcca6f142dbe3a43be88b7" args="(Position::Type)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withLongCallOption</b> (Position::Type)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a38481519b48c5d9347047365d7e403"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withCallATM" ref="5a38481519b48c5d9347047365d7e403" args="(bool flag=true)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withCallATM</b> (bool flag=true)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5ce9a3f70bcdc0207f82c2ffa9e2ee9"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withCallPayoffs" ref="d5ce9a3f70bcdc0207f82c2ffa9e2ee9" args="(Rate payoff)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withCallPayoffs</b> (<a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> payoff)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b245ce7c0dc68a636395a01b5ceba062"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withCallPayoffs" ref="b245ce7c0dc68a636395a01b5ceba062" args="(const std::vector< Rate > &payoffs)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withCallPayoffs</b> (const std::vector< <a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> > &payoffs)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb4a597f287ededb77118d5e7447bfc5"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPutStrikes" ref="fb4a597f287ededb77118d5e7447bfc5" args="(Rate strike)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPutStrikes</b> (<a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> strike)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7fd554f9e2ec437959ed106669b916be"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPutStrikes" ref="7fd554f9e2ec437959ed106669b916be" args="(const std::vector< Rate > &strikes)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPutStrikes</b> (const std::vector< <a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> > &strikes)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02fc100807d506fcf9f1f112a04a3ad3"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withLongPutOption" ref="02fc100807d506fcf9f1f112a04a3ad3" args="(Position::Type)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withLongPutOption</b> (Position::Type)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c73c97f7ebfae111f4f176be8268892"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPutATM" ref="4c73c97f7ebfae111f4f176be8268892" args="(bool flag=true)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPutATM</b> (bool flag=true)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="394fe2136468b1554f6643bec9fa0f2d"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPutPayoffs" ref="394fe2136468b1554f6643bec9fa0f2d" args="(Rate payoff)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPutPayoffs</b> (<a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> payoff)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e785fc4c5901685160ad8d45e030ebd"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withPutPayoffs" ref="0e785fc4c5901685160ad8d45e030ebd" args="(const std::vector< Rate > &payoffs)" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withPutPayoffs</b> (const std::vector< <a class="el" href="group__types.html#gede435af51236692b1107d7639581d39">Rate</a> > &payoffs)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4817d94d464c33b02a603038ad04de4f"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::withReplication" ref="4817d94d464c33b02a603038ad04de4f" args="(const boost::shared_ptr< DigitalReplication > &replication=boost::shared_ptr< DigitalReplication >())" -->
<a class="el" href="class_quant_lib_1_1_digital_ibor_leg.html">DigitalIborLeg</a> & </td><td class="memItemRight" valign="bottom"><b>withReplication</b> (const boost::shared_ptr< DigitalReplication > &replication=boost::shared_ptr< DigitalReplication >())</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b90967eddf8d006442846cf44ea38756"></a><!-- doxytag: member="QuantLib::DigitalIborLeg::operator Leg" ref="b90967eddf8d006442846cf44ea38756" args="() const " -->
</td><td class="memItemRight" valign="bottom"><b>operator Leg</b> () const </td></tr>
</table>
</div>
<div class="footer">
<div class="endmatter">
Documentation generated by
<a href="http://www.doxygen.org">Doxygen</a> 1.5.4
</div>
</div>
</div>
</body>
</html>
|