summaryrefslogtreecommitdiffstats
path: root/docs/api.rst
blob: c87674ad00124e2d5fa84f7d043e1e8069da250d (plain)
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
PyISDA
======

:mod:`~pyisda.cdsone` contains the two workhorse functions of the library,
which allow to convert back and forth from upfront to spread.

.. autosummary::
    pyisda.cdsone.upfront_charge
    pyisda.cdsone.spread_from_upfront

.. automodule:: pyisda.cdsone
    :members:

:mod:`~pyisda.curve` contains two types of curves:

.. autosummary::
    pyisda.curve.YieldCurve
    pyisda.curve.SpreadCurve


.. automodule:: pyisda.curve
    :members:
    :undoc-members:

:mod:`~pyisda.legs` contains two types of Legs:

.. autosummary::
    pyisda.legs.FeeLeg
    pyisda.legs.ContingentLeg


.. automodule:: pyisda.legs
    :members:
    :undoc-members: