Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions app/volatility_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,16 @@ def _(index, pd, surface):

@app.cell
def _(surface):
surface.term_structure()
return
ts = surface.term_structure()
ts
return (ts,)


@app.cell
def _():
def _(ts):
from quantflow.utils import plot

plot.plot_lines(ts, x="ttm", y="rate_percent")
return


Expand Down
3 changes: 3 additions & 0 deletions docs/api/options/svi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SVI Volatility Smile

::: quantflow.options.svi.SVI
2 changes: 2 additions & 0 deletions docs/api/options/vol_surface.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

::: quantflow.options.surface.FwdPrice

::: quantflow.options.surface.ImpliedFwdPrice

::: quantflow.options.surface.Strike

::: quantflow.options.surface.OptionArrays
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ nav:
- Calibration: api/options/calibration.md
- Deep IV Factor Model: api/options/divfm.md
- Pricer: api/options/pricer.md
- SVI Smile: api/options/svi.md
- Volatility Surface: api/options/vol_surface.md
- Stochastic Processes:
- api/sp/index.md
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "quantflow"
version = "0.6.3"
version = "0.7.0"
description = "quantitative analysis"
authors = [ { name = "Luca Sbardella", email = "luca@quantmind.com" } ]
license = "BSD-3-Clause"
Expand Down Expand Up @@ -91,6 +91,11 @@ theme = "dark"
asyncio_mode = "auto"
testpaths = [ "quantflow_tests" ]

[tool.coverage.report]
exclude_also = [
"@abstractmethod",
]

[tool.isort]
profile = "black"

Expand Down
Loading
Loading