Giter Club home page Giter Club logo

deep-crypto's Introduction

Cryptocurrency forecasting with LSTM

Deep learning to forecast cryptocurrency prices 7 days in the future. Here are all the cryptos that have models: 'BTC','ETH','ADA','MATIC','DOGE','SOL','DOT','SHIB','TRX','FIL','LINK','APE','MANA',"AVAX","ZEC","ICP","FLOW","EGLD","XTZ","LTC"

Currently, there are 289 features (with pandas_ta, FRED data, and wikipedia data) to help with the forecasting of the close price

Usage

python3 crypto_deep_many_features.py all test #check the output for all cryptos
python3 crypto_deep_many_features.py all notest #perform training or create future prediction
python3 crypto_deep_many_features.py BTC test #check output for individiual crypto, in this case BTC.
python3 crypto_deep_many_features.py BTC notest #perform training or create future forecast for individual crypto, in this case BTC.
#change price over time
python3 change_price_over_time.py --name all --extension True #run all cryptos from a predefined list AND yfinance's trending list
python3 change_price_over_time.py --name BTC --extension True #run individual crypto
python3 change_price_over_time.py --name ^DJI --extension False #run individual stock

Forecasting percent change for all cryptocurrencies

Forecasting error

Forecasting examples of BTC

Relationship between Data Length and MAPE

Relationship between Sample Entropy and MAPE

Relationship between Fractal Dimension and MAPE

Month Analysis

Month

Rainbow Log plot of BTC

Shannon Entropy on the log returns on cryptos and stock market

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

deep-crypto's People

Contributors

bszek213 avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar SRRRRRRRR avatar  avatar

deep-crypto's Issues

Issue with notest

I receive the following error when running notest

ZEC did not complete: in user code:

    File "./deep-crypto/lib/python3.10/site-packages/keras/src/engine/training.py", line 2066, in test_function  *
        return step_function(self, iterator)
    File "./deep-crypto/lib/python3.10/site-packages/keras/src/engine/training.py", line 2049, in step_function  **
        outputs = model.distribute_strategy.run(run_step, args=(data,))
    File "./deep-crypto/lib/python3.10/site-packages/keras/src/engine/training.py", line 2037, in run_step  **
        outputs = model.test_step(data)
    File "./deep-crypto/lib/python3.10/site-packages/keras/src/engine/training.py", line 1917, in test_step
        y_pred = self(x, training=False)
    File "./deep-crypto/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler
        raise e.with_traceback(filtered_tb) from None
    File "./deep-crypto/lib/python3.10/site-packages/keras/src/engine/input_spec.py", line 298, in assert_input_compatibility
        raise ValueError(

    ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 128, 57), found shape=(None, 128, 55)

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.