Giter VIP home page Giter VIP logo

altcoin_max_price_prediction's Introduction

altcoin_max_price_prediction

Predict altcoin's max price reach time and value using neural network based on bitcoin exchange market data.

Requires

ubuntu 16.04 (I didn't test with other OS / Version.)

Python3.6

Mysql 5.7+

Python libs in requirements.txt

Main purpose

The main purpose is making neural network model to predict the max price reach time from altcoin exchange market.

Let's see one of the altcoin price time graph.

Based on 12 hours history data, the NN model will predict "max price reach time index" and "max price value" in future 6 hours.

If we can predict what time altcoin price can reach the max value during specific times and how much price will be then it means we can make a money based on this NN model.

How to setup?

First, clone this repository.

git clone https://github.com/SkyHenryk/altcoin_max_price_prediction.git

Second, write mysql credentials information in "mysql_credentials.yaml".

host:
port:
id:
pw:
schema: quant_db

Third, get training data during 24 hours(1 day). It will get Bittrex trade data every minute.

After 24 hours, it will prepare training data based on trade data.

cd altcoin_max_price_prediction
bash build/get_training_data.sh

Fourth, start to training the neural network model based on prepared training data.

bash build/train_model.sh

Done! You can find the model result in "model_info" table in "quant_db" schema in Mysql.

Or, You can check the graph using tensorboard.

ex)

tensorboard --logdir ./tools/result/TrainerA_1/TrainerA_1_0.02_2500_10_0.2_32_300_relu_sigmoid_360_a1_last_max_index/graph
tensorboard --logdir ./tools/result/TrainerA_1/TrainerA_1_0.02_250_10_0.2_32_300_relu_sigmoid_360_a1_last_max/graph

Self QnA

Q1) Why didn't you use RNN(Recurrent neural network) for sequantial data?

RNN can predict the sequential value "right after" input sequential value well. But in this case, it needs to predict around 360 steps (6 hours -> 360 mins) and calculate max price and max reach time index. So I would say it is hard to predict.

But if I use ANN(artificial neural network) then the model just needs to predict only two output - max time index and max price. So it means ANN model is easier to reach higher accuracy than RNN model in this case. That's why I used ANN.

altcoin_max_price_prediction's People

Contributors

skyhenryk avatar

Watchers

 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.