Skip to content

Bbruyne/lppls-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lppls-git

Log Periodic Power Law Singularity model for financial bubble predictions. We use the Log Periodic Power Law Singularity model to build a time signal that predicts the existence of a financial bubble in the stock market.

This work is based on the research done at the Financial Crisis Observatory at ETH Zurich.

To use this code, make sure you have installed: pandas, datetime, numpy, multiprocessing, time, sklearn, random, cma, pandas_datareader.

To execute the code, define the stock index, time range, and number of fitting windows for which you want the signal to be computed in the __main__.py and then run python -m lppls. If you wish to change the qualifying conditions for the fits, go to signal/conditions_satisfied.csv and modify accordingly.

The output of the code is stored in sig.csv. It can be visualised with the python notebook visulalise.ipynb.

About

Log Periodic Power Law Singularity model for financial bubble predictions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published