Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Jan 5, 2025
0 parents commit d32c243
Show file tree
Hide file tree
Showing 273 changed files with 58,307 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bb37bb626a9038d45e6d85a75ec138ce
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quantflow.quantmind.com
11 changes: 11 additions & 0 deletions _sources/api/data/deribit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
================
Deribit
================

.. currentmodule:: quantflow.data.deribit

.. autoclass:: Deribit
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
11 changes: 11 additions & 0 deletions _sources/api/data/fmp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
================
FMP
================

.. currentmodule:: quantflow.data.fmp

.. autoclass:: FMP
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
11 changes: 11 additions & 0 deletions _sources/api/data/fred.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
================
Fred
================

.. currentmodule:: quantflow.data.fred

.. autoclass:: Fred
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
18 changes: 18 additions & 0 deletions _sources/api/data/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
==============
Data fetching
==============

.. currentmodule:: quantflow.data

The :mod:`quantflow.data` module provides classes and functions for fetching data from various sources.
To use the module the package must be installed with the optional `data` extra.
```
pip install quantflow[data]
```

.. toctree::
:maxdepth: 1

fmp
fred
deribit
40 changes: 40 additions & 0 deletions _sources/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

API Reference
==============

.. grid::

.. grid-item-card::

.. toctree::
:maxdepth: 2

sp/index

.. grid-item-card::

.. toctree::
:maxdepth: 2

options/index
.. grid-item-card::

.. toctree::
:maxdepth: 2

ta/index
.. grid::

.. grid-item-card::

.. toctree::
:maxdepth: 2

data/index

.. grid-item-card::

.. toctree::
:maxdepth: 2

utils/index
13 changes: 13 additions & 0 deletions _sources/api/options/black.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
==================================
Black Pricing
==================================

.. module:: quantflow.options.bs

.. autofunction:: black_price

.. autofunction:: black_delta

.. autofunction:: black_vega

.. autofunction:: implied_black_volatility
18 changes: 18 additions & 0 deletions _sources/api/options/calibration.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
==================================
Vol Model Calibration
==================================

.. module:: quantflow.options.calibration

.. autoclass:: VolModelCalibration
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: HestonCalibration
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
18 changes: 18 additions & 0 deletions _sources/api/options/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
==================================
Option Pricing
==================================

.. currentmodule:: quantflow.options

The :mod:`options` module provides classes and functions for pricing and analyzing options.
The main class is the :class:`.VolSurface` class which is used to represent
a volatility surface for a given asset.
A volatility surface is usually created via a :class:`.VolSurfaceLoader` object.

.. toctree::
:maxdepth: 1

vol_surface
black
pricer
calibration
22 changes: 22 additions & 0 deletions _sources/api/options/pricer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
==================================
Option Pricer
==================================

The option pricer module provides classes for pricing options using
different stochastic volatility models.


.. module:: quantflow.options.pricer

.. autoclass:: OptionPricer
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: MaturityPricer
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
35 changes: 35 additions & 0 deletions _sources/api/options/vol_surface.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
==================================
Vol Surface
==================================

.. module:: quantflow.options.surface

.. autoclass:: VolSurface
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: VolCrossSection
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:

.. autoclass:: GenericVolSurfaceLoader
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: VolSurfaceLoader
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: OptionSelection
:members:
14 changes: 14 additions & 0 deletions _sources/api/sp/cir.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
================
CIR
================

The Cox–Ingersoll–Ross (CIR) model

.. currentmodule:: quantflow.sp.cir

.. autoclass:: CIR
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:

12 changes: 12 additions & 0 deletions _sources/api/sp/compound_poisson.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================
Compound Poisson
===================

.. currentmodule:: quantflow.sp.poisson

.. autoclass:: CompoundPoissonProcess
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:

18 changes: 18 additions & 0 deletions _sources/api/sp/heston.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
================
Heston process
================

.. currentmodule:: quantflow.sp.heston

.. autoclass:: Heston
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: HestonJ
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
35 changes: 35 additions & 0 deletions _sources/api/sp/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
===================
Stochastic Process
===================

This page gives an overview of all Stochastic Processes available in the library.

.. _sp:

.. currentmodule:: quantflow.sp.base

.. autoclass:: StochasticProcess
:members:
:noindex:
:autosummary:
:autosummary-nosignatures:

.. autoclass:: StochasticProcess1D
:members:
:noindex:


.. autoclass:: IntensityProcess
:members:
:noindex:

.. toctree::
:maxdepth: 1

weiner
poisson
compound_poisson
ou
cir
jump_diffusion
heston
24 changes: 24 additions & 0 deletions _sources/api/sp/jump_diffusion.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
================
Jump diffusions
================

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,
discontinuous jumps in the value of the underlying asset.

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.

.. currentmodule:: quantflow.sp.jump_diffusion

.. autoclass:: JumpDiffusion
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:



.. autoclass:: Merton
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
22 changes: 22 additions & 0 deletions _sources/api/sp/ou.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
================
OU Processes
================

These are the classes that implement gaussian and non-gaussian
`Ornstein-Uhlenbeck <https://en.wikipedia.org/wiki/Ornstein%E2%80%93Uhlenbeck_process>` process.


.. currentmodule:: quantflow.sp.ou

.. autoclass:: Vasicek
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:


.. autoclass:: GammaOU
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
12 changes: 12 additions & 0 deletions _sources/api/sp/poisson.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
================
Poisson process
================

.. currentmodule:: quantflow.sp.poisson

.. autoclass:: PoissonProcess
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:

12 changes: 12 additions & 0 deletions _sources/api/sp/weiner.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===============
Weiner process
===============

.. module:: quantflow.sp.weiner

.. autoclass:: WeinerProcess
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:

11 changes: 11 additions & 0 deletions _sources/api/ta/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==================================
Timeseries Analysis
==================================

.. currentmodule:: quantflow.ta

.. toctree::
:maxdepth: 1

ohlc
paths
11 changes: 11 additions & 0 deletions _sources/api/ta/ohlc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
================
OHLC
================

.. currentmodule:: quantflow.ta.ohlc

.. autoclass:: OHLC
:members:
:member-order: groupwise
:autosummary:
:autosummary-nosignatures:
Loading

0 comments on commit d32c243

Please sign in to comment.