Skip to content

We are going to create with the data of Coin Market Cap a crypto index, that index will be useful for assess the performance of the crypto-currencies market.

Notifications You must be signed in to change notification settings

neilmruben/Create-a-crypto-currency-index-based-on-market-capitalization-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Create-a-crypto-currency-index-based-on-market-capitalization-with-Python

Here we want to create a crypto currency index with the 5 biggest markets capitalizations of crypto currencies. On November 2021, the 5 biggest markets capitalizations are Bitcoin, Ethereum, Binance coin, Tether and Solana.

We grab our data from CoinMarketCap.

Market Value-Weighted Index : image

where p is the price of the crypto-currency and n the number of crypto-currency issued. To upscale the index, we will divide it by image.

image MCI V daily return : image

By creating a crypto index we can now assess the general performance of the crypto-currencies markets. We will use it to apply the Capital Asset Pricing Model (CAPM) introduced by Jack Treynor (1961, 1962), William F. Sharpe (1964), John Lintner (1965) and Jan Mossin (1966), building on the earlier work of Harry Markowitz on diversification and modern portfolio theory.

CAPM :

image

Where E(Rm) will be the expected return of the crypto market embodie by MCI 5 and image is the sensitivity of the expected excess asset returns to the expected excess market returns and image

About

We are going to create with the data of Coin Market Cap a crypto index, that index will be useful for assess the performance of the crypto-currencies market.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published