Skip to content

LeiZhang0919/coinvestment_network_research

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coinvestment_network_research

This is to study the co-investment networks of assets.

Introduction

Security market can make someone a millionaire in one day, as well as make someone bankrupt. Normally, high quality security can have high return, and high risk. To determine one’s holding on securities, return, risk and quality of a security.

The idea here is simple: the asset which is hold by the majority of investor is likely to be quality asset and have high return and high risk; If two assets are hold by the same group of investors, the two assets are likely to be similar, and their return and price are likely to be correlated.

Mutual funds are best candidate to study network structure, since the holding of mutual funds is open, and mutual funds form a large portion of security market.

Networks model

There are two networks in our model:

The first network is stock co-investment network, where node represents stock, edge represents common investment. If two stocks u and v are both invested by N numbers of mutual funds, the weight of edge between u and v will be N.

The second network is fund network. Similar to stock network, here nodes represent mutual funds where edge with weight N represents the two funds have N numbers of common holdings.

Our work

  • We write a crawler to fetch stocks data and mutual funds data from yahoo.
  • ...

How to use

Script NameAPI
create_db.pyrun "python create_db.py [csv/xslx]" to convert a csv or xslx file into database table

E.X. "python create_db.py funds_holding.csv"
query.pyEdit String variable query in query.py. Then run script, the result query will be saved into a csv file

About

This is to study the co-investment networks of assets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.1%
  • Java 5.9%