Code Monkey home page Code Monkey logo

fintech-project-2's Introduction

Bitcoin Analysis (BTC)

Background and Motivation

  • Our group had two main goals for this project.
    • Our first goal was to find out which combination of moving averages produced the best trading signals and portfolio performance.
    • The second goal was to figure out which type of model would best predict the price of Bitcoin.
  • Going into this we made no assumptions about which type of models to use, however we researched some of the most used models in crypto trading and tested them.
  • Models that we tested include LSTM, SVR, SVR-Tuned, Ridge and Lasso.

Moving Averages Analysis:

  • We reviewed the entire Bitcoin dataset to find optimum moving average combinations.
  • We settled on using the Short Moving Average of 20 days and the Long Moving Average of 80 days.
  • Trading signals produced when Moving Averages cross these thresholds would generate a portfolio of ~$10K with an initial investment of $3K.
  • Our signals were simply buy when the short crosses over the long moving average and sell when the short crosses below the long moving average.
  • Volume or other inputs were not used in the signals, simply just the cross over points.

Here is a graph showing the portfolio value over time with buy signals in purple and sell signals in yellow:

alt text

Here is a graph of those same triggers with the moving averages plotted all on a logarithmic scale:

alt text

We ran some manual calculations of the RMSE and R2, which were based on the test data set.

Results:

RMSE_LSTM = 0.280881 R2_LSTM = 0.051536

fintech-project-2's People

Contributors

alek858 avatar franklinfv avatar jmelvin0721 avatar padibona avatar

Watchers

 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.