GithubHelp home page GithubHelp logo

bitcoin's Introduction

Rest API for BitCoin Price analysis

  • BitCoin Rest API is developed using Scala(SPRING) and Spark(ARIMA algorithm) for prediction.

Introduction

BitCoin Rest API allows user to achieve following:-

  • See the price movement for last week, month, year and for any custom date
  • See movement of rolling average price between any two custom dates.
  • Suggest the trading decision to be followed.

Usage

  1. Clone the project.

  2. Run the main class of SpringBootRestApplication in package 'com.tookitaki.assignment.bitcoin'.

  3. Click on the following url to open the home page of the Rest API which looks like the following. http://localhost:8083/home

    picture

  4. Click on the Show price movement button which displays following page.

    picture

    By clicking on getGraph button you will get graph with price on y axis and date on x axis. picture

    By selecting CustomDate option a text filed will be displayed to enter the date.Enter date in yyyy-mm-dd format. picture

  5. Click on Show X days rolling average Price Movement button which displays following page. picture Fill the values in the form displayed and click on get graph. A sample graph is shown below. picture

  6. Click on Show trading decision button which displays following page. picture Give the number of days to consider to train the ARIMA(Auto Regression Integrated Moving Average) model to give the trading decision. Following are the sample output. picture picture


References

Following links are used as references:

  1. https://github.com/sryza/spark-timeseries.
  2. http://blog.cloudera.com/blog/2015/12/spark-ts-a-new-library-for-analyzing-time-series-data-with-apache-spark/.
  3. https://towardsdatascience.com/bitcoin-price-prediction-using-time-series-forecasting-9f468f7174d3.
  4. https://medium.com/swlh/developing-bitcoin-algorithmic-trading-strategies-bfdde5d5f6e0.
  5. ARIMA model not available in spark. So, I used API developed by cloudera to develop price prediction with time series.

bitcoin's People

Contributors

mvamsichaitanya avatar

Watchers

James Cloos 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.