Skip to content

Commit 7ecc27e

Browse files
committed
More docs
1 parent 7ddec0e commit 7ecc27e

24 files changed

+341
-91
lines changed

notebooks/_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ logo: assets/quantflow-light.svg
99
# Force re-execution of notebooks on each build.
1010
# See https://jupyterbook.org/content/execute.html
1111
execute:
12-
#execute_notebooks: "off"
13-
execute_notebooks: force
12+
execute_notebooks: "off"
13+
# execute_notebooks: force
1414

1515
# Define the name of the latex output file for PDF builds
1616
latex:

notebooks/api/options/black.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
==================================
2+
Black Pricing
3+
==================================
4+
5+
.. module:: quantflow.options.bs
6+
7+
.. autofunction:: black_price
8+
9+
.. autofunction:: black_vega
10+
11+
.. autofunction:: implied_black_volatility
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
==================================
2+
Vol Model Calibration
3+
==================================
4+
5+
.. module:: quantflow.options.calibration
6+
7+
.. autoclass:: VolModelCalibration
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+
13+
14+
.. autoclass:: HestonCalibration
15+
:members:
16+
:member-order: groupwise
17+
:autosummary:
18+
:autosummary-nosignatures:

notebooks/api/options/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ Option Pricing
44

55
.. currentmodule:: quantflow.options
66

7+
The :mod:`options` module provides classes and functions for pricing and analyzing options.
8+
The main class is the :class:`.VolSurface` class which is used to represent
9+
a volatility surface for a given asset.
10+
A volatility surface is usually created via a :class:`.VolSurfaceLoader` object.
11+
712
.. toctree::
813
:maxdepth: 1
914

1015
vol_surface
16+
black
17+
pricer
18+
calibration

notebooks/api/options/pricer.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
==================================
2+
Option Pricer
3+
==================================
4+
5+
The option pricer module provides classes for pricing options using
6+
different stochastic volatility models.
7+
8+
9+
.. module:: quantflow.options.pricer
10+
11+
.. autoclass:: OptionPricer
12+
:members:
13+
:member-order: groupwise
14+
:autosummary:
15+
:autosummary-nosignatures:
16+
17+
18+
.. autoclass:: MaturityPricer
19+
:members:
20+
:member-order: groupwise
21+
:autosummary:
22+
:autosummary-nosignatures:
Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
==================================
2-
VolSurface
2+
Vol Surface
33
==================================
44

55
.. module:: quantflow.options.surface
66

77
.. autoclass:: VolSurface
88
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+
13+
14+
.. autoclass:: VolCrossSection
15+
:members:
16+
:member-order: groupwise
17+
:autosummary:
18+
:autosummary-nosignatures:
19+
20+
.. autoclass:: GenericVolSurfaceLoader
21+
:members:
22+
:member-order: groupwise
23+
:autosummary:
24+
:autosummary-nosignatures:
25+
26+
27+
.. autoclass:: VolSurfaceLoader
28+
:members:
29+
:member-order: groupwise
30+
:autosummary:
31+
:autosummary-nosignatures:

notebooks/api/sp/cir.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ The Cox–Ingersoll–Ross (CIR) model
88

99
.. autoclass:: CIR
1010
:members:
11+
:member-order: groupwise
12+
:autosummary:
13+
:autosummary-nosignatures:
14+

notebooks/api/sp/compound_poisson.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ Compound Poisson
66

77
.. autoclass:: CompoundPoissonProcess
88
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+

notebooks/api/sp/heston.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ Heston process
66

77
.. autoclass:: Heston
88
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+

notebooks/api/sp/jump_diffusion.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ The most famous jump-diffusion model is the Merton model, which was introduced b
1111

1212
.. autoclass:: JumpDiffusion
1313
:members:
14+
:member-order: groupwise
15+
:autosummary:
16+
:autosummary-nosignatures:
17+
1418

1519

1620
.. autoclass:: Merton
1721
:members:
22+
:member-order: groupwise
23+
:autosummary:
24+
:autosummary-nosignatures:

0 commit comments

Comments
 (0)