Skip to content

olp-cs/correlation-based-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Correlation-based network for Dow Jones


This script creates a correlation-based network for 30 Dow Jones companies. It computes correlations using the closing stock prices for each of 30 companies. Time range is from 01 Jan 2010 till 23 Sep 2012.

Demo

You can explore this script online without downloading it:

http://nbviewer.ipython.org/3950921/

Dependencies

How to run the script

python cnetwork.py

Using ipython notebook

The code was exported from ipython notebook. You can import it back.

First, install the notebook if needed. For Ubuntu:

sudo apt-get install ipython-notebook

Run it with the options:

ipython notebook --pylab=inline

You will see a prompt for importing files:

To import a notebook, drag the file onto the listing below or click here.

References

A review paper on correlation-based financial networks:

Michele Tumminello, Fabrizio Lillo, Rosario N. Mantegna, Correlation, hierarchies, and networks in financial markets, Journal of Economic Behavior and Organization, Volume 75, Issue 1, July 2010, Pages 40-58.

Keywords:

  • Multivariate analysis
  • Hierarchical clustering
  • Correlation based networks
  • Bootstrap validation
  • Factor models
  • Kullback–Leibler distance

About

Constructs a correlation-based network for 30 Dow Jones companies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages