Skip to content

hector/crypto-tops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Tops

This is a weekend project to study the evolution of top cryptocurrency prices.

The study consists on:

  • There is a source of information that allows us to order cryptocurrencies based on their total market value. This source is coinmarketcap.com from which information in scrapped.
  • By the beginning of the year (1st Janurary), we buy the TOP10, TOP25, TOP50, TOP75 and TOP100 cryptocurrencies, using the same amount of money for each one.
  • Each TOP of a certain year represents an index. For example, the index called TOP10-17 consists of the 10 cryptocurrencies with higher market capitalization by the beginning of 2017.
  • We want to know how much has increased/decreased the value of each index in a certain year thus, a ratio of the value change is calculated.

Spreadsheet Image

You can see the results in a spreadsheet.

How to reproduce the study

# Clone the repo
git clone git_address
cd project_directory

# Install and use the ruby version specified in .ruby-version
# Recommended libraries: chruby + ruby-install
# It should work with other ruby versions but it have not been tested

# Install bundler
gem install bundler

# Install project dependencies
bundle install

# Create development database schema
bundle exec rake db:setup

# Collect data from coinmarketcap to our database
bundle exec rake db:index

# Output the results
bundle exec rake results

Releases

No releases published

Packages

No packages published

Languages