Skip to content

This implements Path Shadowing Monte-Carlo.

Notifications You must be signed in to change notification settings

TLeitzbach/shadowing_mc_fork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implements Path Shadowing Monte-Carlo [1], which can be used for volatility prediction and option pricing.

This methods averages future quantities over generated price paths (grey) whose past history matches, or `shadows', the actual observed history (red).

animated

Prediction / Option pricing

The class PathShadowing from path_shadowing.py implements a multi-processed scan of a generated dataset for shadowing paths.

Notebook tutorial.ipynb shows how to use it.

Generation

The paper uses the Scattering Spectra [2] to generate the dataset of time-series.

Such generative model is implemented by the package scatspectra:

pip install git+https://github.com/RudyMorel/scattering_spectra

[1] "Path Shadowing Monte-Carlo"

Rudy Morel et al. - https://arxiv.org/abs/2308.01486

[2] "Scale Dependencies and Self-Similar Models with Wavelet Scattering Spectra"

Rudy Morel et al. - https://arxiv.org/abs/2204.10177

About

This implements Path Shadowing Monte-Carlo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 87.6%
  • Python 12.4%