Skip to content

Commit

Permalink
New documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 31, 2024
1 parent 51ff3c1 commit 6b8acd6
Show file tree
Hide file tree
Showing 11 changed files with 451 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond &#8212; Quantlib cython wrapper 0.1.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=c058f7c8" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=fc5e2428" />
<script src="../_static/documentation_options.js?v=a58bc63e"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="quantlib.instruments.bonds.cpibond" href="quantlib.instruments.bonds.cpibond.html" />
<link rel="prev" title="quantlib.instruments.bonds.amortizingfloatingratebond" href="quantlib.instruments.bonds.amortizingfloatingratebond.html" />

<link rel="stylesheet" href="../_static/custom.css" type="text/css" />





</head><body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">


<div class="body" role="main">

<section id="quantlib-instruments-bonds-amortizingfloatingratebond-amortizingfloatingratebond">
<h1>quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond<a class="headerlink" href="#quantlib-instruments-bonds-amortizingfloatingratebond-amortizingfloatingratebond" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">AmortizingFloatingRateBond</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">Natural</span> <span class="pre">settlement_days,</span> <span class="pre">vector[Real]</span> <span class="pre">notional,</span> <span class="pre">Schedule</span> <span class="pre">schedule,</span> <span class="pre">IborIndex</span> <span class="pre">index,</span> <span class="pre">DayCounter</span> <span class="pre">accrual_day_counter,</span> <span class="pre">BusinessDayConvention</span> <span class="pre">payment_convention=Following,</span> <span class="pre">Natural</span> <span class="pre">fixing_days=Null[Natural](),</span> <span class="pre">vector[Real]</span> <span class="pre">gearings=[1.0],</span> <span class="pre">vector[Spread]</span> <span class="pre">spreads=[0.0],</span> <span class="pre">vector[Rate]</span> <span class="pre">caps=[],</span> <span class="pre">vector[Rate]</span> <span class="pre">floors=[],</span> <span class="pre">bool</span> <span class="pre">in_arrears=False,</span> <span class="pre">Date</span> <span class="pre">issue_date=Date(),</span> <span class="pre">Period</span> <span class="pre">ex_coupon_period=Period(),</span> <span class="pre">Calendar</span> <span class="pre">ex_coupon_calendar=Calendar(),</span> <span class="pre">BusinessDayConvention</span> <span class="pre">ex_coupon_convention=Unadjusted,</span> <span class="pre">bool</span> <span class="pre">ex_coupon_end_of_month=False,</span> <span class="pre">vector[Real]</span> <span class="pre">redemptions=[100.0],</span> <span class="pre">Integer</span> <span class="pre">payment_lag=0</span></em><span class="sig-paren">)</span><a class="headerlink" href="#quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond" title="Link to this definition"></a></dt>
<dd><p>Bases: <a class="reference internal" href="quantlib.instruments.bond.Bond.html#quantlib.instruments.bond.Bond" title="quantlib.instruments.bond.Bond"><code class="xref py py-class docutils literal notranslate"><span class="pre">Bond</span></code></a></p>
<dl class="py method">
<dt class="sig sig-object py" id="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.__init__">
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.__init__" title="Link to this definition"></a></dt>
<dd></dd></dl>

<p class="rubric">Methods</p>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.__init__" title="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.__init__"><code class="xref py py-obj docutils literal notranslate"><span class="pre">__init__</span></code></a>(*args, **kwargs)</p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">accrued_amount</span></code>(self, Date date=Date)</p></td>
<td><p>Returns the bond accrued amount at the given date</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">bond_yield</span></code>(self, Real price, DayCounter dc, ...)</p></td>
<td><p>Return the yield given a price and settlement date</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">notional</span></code>(self, Date date=Date)</p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">set_pricing_engine</span></code>(self, PricingEngine engine)</p></td>
<td><p>Sets the pricing engine.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">settlement_date</span></code>(self, Date from_date=Date)</p></td>
<td><p>Returns the bond settlement date after the given date.</p></td>
</tr>
</tbody>
</table>
<p class="rubric">Attributes</p>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">calendar</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">cashflows</span></code></p></td>
<td><p>cash flow stream as a Leg</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">clean_price</span></code></p></td>
<td><p>Bond clean price.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">dirty_price</span></code></p></td>
<td><p>Bond dirty price</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">is_expired</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">issue_date</span></code></p></td>
<td><p>Bond issue date</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">maturity_date</span></code></p></td>
<td><p>Bond maturity date</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">net_present_value</span></code></p></td>
<td><p>Instrument net present value.</p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">npv</span></code></p></td>
<td><p>Shortcut to the net_present_value property.</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">settlement_days</span></code></p></td>
<td><p></p></td>
</tr>
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">start_date</span></code></p></td>
<td><p>Bond start date</p></td>
</tr>
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">valuation_date</span></code></p></td>
<td><p></p></td>
</tr>
</tbody>
</table>
</dd></dl>

</section>


</div>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Quantlib cython wrapper</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../getting_started.html">Getting started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="../users_guide.html">User’s guide</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../reference_guide.html">Reference guide</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="../reference_guide.html#reference-documentation-for-the-quantlib-package">Reference documentation for the <code class="xref py py-mod docutils literal notranslate"><span class="pre">quantlib</span></code> package</a></li>
<li class="toctree-l2"><a class="reference internal" href="../reference_guide.html#how-to-wrap-quantlib-classes-with-cython">How to wrap QuantLib classes with cython</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../roadmap.html">Roadmap</a></li>
<li class="toctree-l1"><a class="reference internal" href="../roadmap.html#documentation">Documentation</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="../reference_guide.html">Reference guide</a><ul>
<li><a href="quantlib.html">quantlib</a><ul>
<li><a href="quantlib.instruments.html">quantlib.instruments</a><ul>
<li><a href="quantlib.instruments.bonds.html">quantlib.instruments.bonds</a><ul>
<li><a href="quantlib.instruments.bonds.amortizingfloatingratebond.html">quantlib.instruments.bonds.amortizingfloatingratebond</a><ul>
<li>Previous: <a href="quantlib.instruments.bonds.amortizingfloatingratebond.html" title="previous chapter">quantlib.instruments.bonds.amortizingfloatingratebond</a></li>
<li>Next: <a href="quantlib.instruments.bonds.cpibond.html" title="next chapter">quantlib.instruments.bonds.cpibond</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>








</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2011, Didrik Pinte, Patrick Henaff.

|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.0.2</a>
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>

|
<a href="../_sources/_autosummary/quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.rst.txt"
rel="nofollow">Page source</a>
</div>




</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>quantlib.instruments.bonds.amortizingfloatingratebond &#8212; Quantlib cython wrapper 0.1.1 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=c058f7c8" />
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=fc5e2428" />
<script src="../_static/documentation_options.js?v=a58bc63e"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond" href="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.html" />
<link rel="prev" title="quantlib.instruments.bonds" href="quantlib.instruments.bonds.html" />

<link rel="stylesheet" href="../_static/custom.css" type="text/css" />





</head><body>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">


<div class="body" role="main">

<section id="module-quantlib.instruments.bonds.amortizingfloatingratebond">
<span id="quantlib-instruments-bonds-amortizingfloatingratebond"></span><h1>quantlib.instruments.bonds.amortizingfloatingratebond<a class="headerlink" href="#module-quantlib.instruments.bonds.amortizingfloatingratebond" title="Link to this heading"></a></h1>
<p class="rubric">Classes</p>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.html#quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond" title="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond"><code class="xref py py-obj docutils literal notranslate"><span class="pre">AmortizingFloatingRateBond</span></code></a>(...)</p></td>
<td><p></p></td>
</tr>
</tbody>
</table>
</section>


</div>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">Quantlib cython wrapper</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../getting_started.html">Getting started</a></li>
<li class="toctree-l1"><a class="reference internal" href="../tutorial.html">Tutorial</a></li>
<li class="toctree-l1"><a class="reference internal" href="../users_guide.html">User’s guide</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../reference_guide.html">Reference guide</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="../reference_guide.html#reference-documentation-for-the-quantlib-package">Reference documentation for the <code class="xref py py-mod docutils literal notranslate"><span class="pre">quantlib</span></code> package</a></li>
<li class="toctree-l2"><a class="reference internal" href="../reference_guide.html#how-to-wrap-quantlib-classes-with-cython">How to wrap QuantLib classes with cython</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../roadmap.html">Roadmap</a></li>
<li class="toctree-l1"><a class="reference internal" href="../roadmap.html#documentation">Documentation</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../index.html">Documentation overview</a><ul>
<li><a href="../reference_guide.html">Reference guide</a><ul>
<li><a href="quantlib.html">quantlib</a><ul>
<li><a href="quantlib.instruments.html">quantlib.instruments</a><ul>
<li><a href="quantlib.instruments.bonds.html">quantlib.instruments.bonds</a><ul>
<li>Previous: <a href="quantlib.instruments.bonds.html" title="previous chapter">quantlib.instruments.bonds</a></li>
<li>Next: <a href="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.html" title="next chapter">quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond</a></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul>
</div>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>








</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2011, Didrik Pinte, Patrick Henaff.

|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.0.2</a>
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>

|
<a href="../_sources/_autosummary/quantlib.instruments.bonds.amortizingfloatingratebond.rst.txt"
rel="nofollow">Page source</a>
</div>




</body>
</html>
4 changes: 2 additions & 2 deletions _autosummary/quantlib.instruments.bonds.cpibond.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="quantlib.instruments.bonds.cpibond.CPIBond" href="quantlib.instruments.bonds.cpibond.CPIBond.html" />
<link rel="prev" title="quantlib.instruments.bonds" href="quantlib.instruments.bonds.html" />
<link rel="prev" title="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond" href="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.html" />

<link rel="stylesheet" href="../_static/custom.css" type="text/css" />

Expand Down Expand Up @@ -87,7 +87,7 @@ <h3>Related Topics</h3>
<li><a href="quantlib.html">quantlib</a><ul>
<li><a href="quantlib.instruments.html">quantlib.instruments</a><ul>
<li><a href="quantlib.instruments.bonds.html">quantlib.instruments.bonds</a><ul>
<li>Previous: <a href="quantlib.instruments.bonds.html" title="previous chapter">quantlib.instruments.bonds</a></li>
<li>Previous: <a href="quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond.html" title="previous chapter">quantlib.instruments.bonds.amortizingfloatingratebond.AmortizingFloatingRateBond</a></li>
<li>Next: <a href="quantlib.instruments.bonds.cpibond.CPIBond.html" title="next chapter">quantlib.instruments.bonds.cpibond.CPIBond</a></li>
</ul></li>
</ul></li>
Expand Down
Loading

0 comments on commit 6b8acd6

Please sign in to comment.