8000 GitHub - geopan/Cryptomarket-Predicator: A Recurrent Neural Network to predict cryptocurrency trend using Tensor flow and Bittrex api.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

geopan/Cryptomarket-Predicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptomarket Predicator

Run with jupyter

  1. Run ./src/data-pre-processing.ipynb

Change parameters as below:

# Currency use in comparison to Bitcoin.
currency = 'ETH'
# Time Interval (oneMin, fiveMin, halfHour, hour, day...).
tickInterval = 'fiveMin'
# Row limit to process.
limit = 2000
  1. Run ./src/prediction.ipynb

Data

The main component in any Market prediction problem is the price. But this time we also need another 3 features. It's suggested to use some textual features but following Siraj's advice "Be creative, good luck!", we are going to use three popular technical indicators that (hopefully) will help the model predict the price (as they help human traders to do the same task).

Technical Indicators

There are A LOT of different technical indicators for market analysis. The universe of "technical analysis" for trading is vast. Most of it is out of our scope, so we're just going to present three simple technical indicators, each specialized in a different task.

Trend indicator

What is Trend?

MACD

The Moving Average Convergence/Divergence oscillator (MACD) is one of the simplest and most effective momentum indicators available. The MACD turns two trend-following indicators, moving averages, into a momentum oscillator by subtracting the longer moving average from the shorter moving average.

Momentum indicator

What is Momentum?

Stochastics Oscillator

The Stochastic Oscillator is a momentum indicator that shows the location of the close relative to the high-low range over a set number of periods.

Volume indicator

What is Volume?

Average True Range

Is an indicator to measure the volalitility (NOT price direction). The largest of:

  • Method A: Current High less the current Low
  • Method B: Current High less the previous Close (absolute value)
  • Method C: Current Low less the previous Close (absolute value)

Model

Recurrent Neural Network

A (more appropiate) recurrent neural network model. Details in the corresponding Notebook "./src/prediction.ipynb"

Results

Price vs Prediction w/ Recurrent Neural Network

Dependencies

  • jupyter
  • json
  • urllib (for fetching data)
  • matplotlib (for plotting)
  • pandas (for dataset manipulation)
  • numpy
  • tensorflow

References

About

A Recurrent Neural Network to predict cryptocurrency trend using Tensor flow and Bittrex api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0