Skip to content

Commit

Permalink
DOC: edits
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 committed Nov 5, 2023
1 parent 3779522 commit c9b73f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion docs/source/z_convexityrisk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ The *Instruments* are set to be *Spreads* between the original *STIR Futures* an
Finally, we add these into a new dependent *Solver* (we do not have to create a
dependency chain of *Solvers* we could do this all simultaneously in a single *Solver*, but
it is better elucidated this way).
it is better elucidated this way). The convexity adjustment rates are shown here beside the
``s`` argument. Expressed negatively according to market convention (IRS curve is below
the STIR futures curve).

.. ipython:: python
Expand Down
8 changes: 2 additions & 6 deletions rateslib/instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -5272,9 +5272,6 @@ class IIRS(BaseDerivative):
Create an indexed interest rate swap (IIRS) composing an
:class:`~rateslib.legs.IndexFixedLeg` and a :class:`~rateslib.legs.FloatLeg`.
If ``notional_exchange``, the legs are :class:`~rateslib.legs.IndexFixedLeg`
and :class:`~rateslib.legs.FloatLeg`.
Parameters
----------
args : dict
Expand Down Expand Up @@ -5328,9 +5325,8 @@ class IIRS(BaseDerivative):
index_lag=3,
)
Create the ZCIS, and demonstrate the :meth:`~rateslib.instruments.ZCIS.rate`,
:meth:`~rateslib.instruments.ZCIS.npv`,
:meth:`~rateslib.instruments.ZCIS.analytic_delta`, and
Create the IIRS, and demonstrate the :meth:`~rateslib.instruments.IIRS.rate`, and
:meth:`~rateslib.instruments.IIRS.npv`.
.. ipython:: python
Expand Down

0 comments on commit c9b73f1

Please sign in to comment.