Code Monkey home page Code Monkey logo

fintechproject1's Introduction

Fin Tech Project 1


A price performance analysis for various crypto alt coins.


Data - Pulled from Coinbase Pro's API using the CBPRO library https://pypi.org/project/cbpro/


Motivation

  1. Shared interest in Crypto assets and their performance over time.
  2. We sought to understand how closely alternative crypto assets (Alt Coins) performed compared to Bitcoin.
  3. We also wanted to understand which alt coins performed as well, better or worse than Bitcoin historically.
  4. Finally, we wanted to analyze a crypto portfolio to a comparable portfolio made up of the S&P500 stocks.

Questions we wanted to answer:

  1. Where can we find reliable historical data on crypto assets dating back at least two years?
  2. Which alt coins performed best on a daily and cumulative basis?
  3. Which alt coin prices are most closely correlated to Bitcoin price?
  4. Which portfolio performed the best over the past 2 years? (slightly less due to data cleaning)
    • Portfolio 1 - 50% BTC, 50% even distribution of the altcoins mentioned above.
    • Portfolio 2 – 50% BTC, 25% ETH, 25% even distribution of remaining alt coins.
    • Portfolio 3 – Totally even distribution of alt coins and BTC. 1/13th per coin.
    • Portfolio 4 – Weighted Distribution based on the market cap percentage (of the total market cap of crypto) of each alt as of
      09-18-2019. – This data was taken from https://www.coingecko.com/en
    • Portfolio 5 – No BTC or ETH – Just an even distribution of other alt coins.
    • Portfolio 6 – S&P 500 Only, no crypto. Data extracted from https://finance.yahoo.com/

Where can we find reliable historical data on crypto assets dating back at least two years?

  • We chose Coinbase due to the name recognition and probably the oldest data set in the United States.
  • We also wanted to use a platform that has a readily available and quick to learn API. While this API may not be ideal, the documentation was clear enough, and got the job done.

Which alt coins performed best on a daily and cumulative basis?

  • As seen from the plot below, Chainlink (LINK) outperformed all crypto alt coins we analyzed. A close second was Ether (ETH). Warning!! You may need to Alter your GitHub Appearance Settings to Default light to see the text for these images. alt text
  • As it is not super clear which line was which alt coin on the above line plot, we decided to make a visualization that made it more clear which one was the leader.This pie chart shows the overall performance in % gains over the past 2 years: alt text

Which alt coin prices are most closely correlated to Bitcoin price?

  • Unsurprisingly, all of the Alt Coins were fairly correlated to Bitcoin. As you can see here, most alt coins had a fairly strong .50-.80 positive correlation, with the exception of REPUSD, which only had a .40 positive correlation. alt text
  • Here is a different way to look at the correlation values: alt text

Which portfolio performed the best over the past 2 years?

  • In order to determine this we took the .cumprod() of daily returns.
  • As you can see Portfolio 2 performed the best at about a 529% gain, over 2 Years! This is likely due the higher weighting of ETH as that was #2 in the overall cumulative gains.
  • Portfolio 6 clearly was the laggard of the pack, at about 46% gains, which was the S&P 500. alt text

fintechproject1's People

Contributors

padibona avatar alek858 avatar jmelvin0721 avatar nozien avatar 1kailen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.