Two examples of using PELT changepoint analysis to analyse a stock price using nag4py. One direct from a Pandas Dataframe and one using a Mongodb collection.
This repository containts several files, which, when combined, give an example of detecting changepoints in a stock price where the data has come from a mongodb collection. The three key components of this example are:
- mongodb Python API - pymongo
- Killick et al's PELT algorithm for changepoint detection in n time.
- nag4py which allows one to easily call the PELT algorithm.