numericalalgorithmsgroup / mongodb

changepoint analysis for stock prices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mongodb + PELT + nag4py

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.

Introduction

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.

About

changepoint analysis for stock prices


Languages

Language:Jupyter Notebook 100.0%