Skip to content

Commit 239ea27

Browse files
author
committed
Update documentation
0 parents  commit 239ea27

File tree

289 files changed

+61938
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+61938
-0
lines changed

.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 752847e25e08c0d39623e7f160513c5a
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

.nojekyll

Whitespace-only changes.

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
quantflow.quantmind.com

_sources/api/data/deribit.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
================
2+
Deribit
3+
================
4+
5+
.. currentmodule:: quantflow.data.deribit
6+
7+
.. autoclass:: Deribit
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:

_sources/api/data/fed.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
================
2+
Federal Reserve
3+
================
4+
5+
.. currentmodule:: quantflow.data.fed
6+
7+
.. autoclass:: FederalReserve
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:

_sources/api/data/fmp.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
================
2+
FMP
3+
================
4+
5+
.. currentmodule:: quantflow.data.fmp
6+
7+
.. autoclass:: FMP
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:

_sources/api/data/fred.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
================
2+
Fred
3+
================
4+
5+
.. currentmodule:: quantflow.data.fred
6+
7+
.. autoclass:: Fred
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:

_sources/api/data/index.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
==============
2+
Data fetching
3+
==============
4+
5+
.. currentmodule:: quantflow.data
6+
7+
The :mod:`quantflow.data` module provides classes and functions for fetching data from various sources.
8+
To use the module the package must be installed with the optional `data` extra.
9+
```
10+
pip install quantflow[data]
11+
```
12+
13+
.. toctree::
14+
:maxdepth: 1
15+
16+
fmp
17+
fed
18+
fred
19+
deribit

_sources/api/index.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
API Reference
3+
==============
4+
5+
.. grid::
6+
7+
.. grid-item-card::
8+
9+
.. toctree::
10+
:maxdepth: 2
11+
12+
sp/index
13+
14+
.. grid-item-card::
15+
16+
.. toctree::
17+
:maxdepth: 2
18+
19+
options/index
20+
.. grid-item-card::
21+
22+
.. toctree::
23+
:maxdepth: 2
24+
25+
ta/index
26+
.. grid::
27+
28+
.. grid-item-card::
29+
30+
.. toctree::
31+
:maxdepth: 2
32+
33+
data/index
34+
35+
.. grid-item-card::
36+
37+
.. toctree::
38+
:maxdepth: 2
39+
40+
utils/index

_sources/api/options/black.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
==================================
2+
Black Pricing
3+
==================================
4+
5+
.. module:: quantflow.options.bs
6+
7+
.. autofunction:: black_price
8+
9+
.. autofunction:: black_delta
10+
11+
.. autofunction:: black_vega
12+
13+
.. autofunction:: implied_black_volatility

_sources/api/options/calibration.rst

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:

_sources/api/options/index.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
==================================
2+
Option Pricing
3+
==================================
4+
5+
.. currentmodule:: quantflow.options
6+
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+
12+
.. toctree::
13+
:maxdepth: 1
14+
15+
vol_surface
16+
black
17+
pricer
18+
calibration

_sources/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:

_sources/api/options/vol_surface.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
==================================
2+
Vol Surface
3+
==================================
4+
5+
.. module:: quantflow.options.surface
6+
7+
.. autoclass:: VolSurface
8+
: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:
32+
33+
34+
.. autoclass:: OptionSelection
35+
:members:

_sources/api/sp/cir.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
================
2+
CIR
3+
================
4+
5+
The Cox–Ingersoll–Ross (CIR) model
6+
7+
.. currentmodule:: quantflow.sp.cir
8+
9+
.. autoclass:: CIR
10+
:members:
11+
:member-order: groupwise
12+
:autosummary:
13+
:autosummary-nosignatures:
14+

_sources/api/sp/compound_poisson.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===================
2+
Compound Poisson
3+
===================
4+
5+
.. currentmodule:: quantflow.sp.poisson
6+
7+
.. autoclass:: CompoundPoissonProcess
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+

_sources/api/sp/heston.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
================
2+
Heston process
3+
================
4+
5+
.. currentmodule:: quantflow.sp.heston
6+
7+
.. autoclass:: Heston
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+
13+
14+
.. autoclass:: HestonJ
15+
:members:
16+
:member-order: groupwise
17+
:autosummary:
18+
:autosummary-nosignatures:

_sources/api/sp/index.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
===================
2+
Stochastic Process
3+
===================
4+
5+
This page gives an overview of all Stochastic Processes available in the library.
6+
7+
.. _sp:
8+
9+
.. currentmodule:: quantflow.sp.base
10+
11+
.. autoclass:: StochasticProcess
12+
:members:
13+
:noindex:
14+
:autosummary:
15+
:autosummary-nosignatures:
16+
17+
.. autoclass:: StochasticProcess1D
18+
:members:
19+
:noindex:
20+
21+
22+
.. autoclass:: IntensityProcess
23+
:members:
24+
:noindex:
25+
26+
.. toctree::
27+
:maxdepth: 1
28+
29+
weiner
30+
poisson
31+
compound_poisson
32+
ou
33+
cir
34+
jump_diffusion
35+
heston

_sources/api/sp/jump_diffusion.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
================
2+
Jump diffusions
3+
================
4+
5+
Jump-diffusions models are a class of stochastic processes that combine a diffusion process with a jump process. The jump process is a Poisson process that generates jumps in the value of the underlying asset. The jump-diffusion model is a generalization of the Black-Scholes model that allows for the possibility of large,
6+
discontinuous jumps in the value of the underlying asset.
7+
8+
The most famous jump-diffusion model is the Merton model, which was introduced by Robert Merton in 1976. The Merton model assumes that the underlying asset follows a geometric Brownian motion with jumps that are normally distributed.
9+
10+
.. currentmodule:: quantflow.sp.jump_diffusion
11+
12+
.. autoclass:: JumpDiffusion
13+
:members:
14+
:member-order: groupwise
15+
:autosummary:
16+
:autosummary-nosignatures:

_sources/api/sp/ou.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
================
2+
OU Processes
3+
================
4+
5+
These are the classes that implement gaussian and non-gaussian
6+
`Ornstein-Uhlenbeck <https://en.wikipedia.org/wiki/Ornstein%E2%80%93Uhlenbeck_process>`_ process.
7+
8+
9+
.. currentmodule:: quantflow.sp.ou
10+
11+
.. autoclass:: Vasicek
12+
:members:
13+
:member-order: groupwise
14+
:autosummary:
15+
:autosummary-nosignatures:
16+
17+
18+
.. autoclass:: GammaOU
19+
:members:
20+
:member-order: groupwise
21+
:autosummary:
22+
:autosummary-nosignatures:

_sources/api/sp/poisson.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
================
2+
Poisson process
3+
================
4+
5+
.. currentmodule:: quantflow.sp.poisson
6+
7+
.. autoclass:: PoissonProcess
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+

_sources/api/sp/weiner.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===============
2+
Weiner process
3+
===============
4+
5+
.. module:: quantflow.sp.weiner
6+
7+
.. autoclass:: WeinerProcess
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:
12+

_sources/api/ta/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
==================================
2+
Timeseries Analysis
3+
==================================
4+
5+
.. currentmodule:: quantflow.ta
6+
7+
.. toctree::
8+
:maxdepth: 1
9+
10+
ohlc
11+
paths

_sources/api/ta/ohlc.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
================
2+
OHLC
3+
================
4+
5+
.. currentmodule:: quantflow.ta.ohlc
6+
7+
.. autoclass:: OHLC
8+
:members:
9+
:member-order: groupwise
10+
:autosummary:
11+
:autosummary-nosignatures:

0 commit comments

Comments
 (0)