Git Product home page Git Product logo

crypto-forecasting's Introduction

title authors
Finding the Optimal Cryptocurrency Trading Strategy using Deep Learning
Nathan Waltz, Funso Oje, Hongjin Zhang

Finding the Optimal Cyptocurrency Trading Strategy using Deep Learning

Description

We are training a deep learning model to find the optimal trading strategy on the BTC dataset 1. An important assumption that we are making is that there are no fees.

Model Returns

How to run

Conda

Make sure that you have Anaconda or Miniconda installed, or something similar.

$ git clone https://github.com/TorNATO-PRO/crypto-forecasting.git

$ cd crypto-forecasting

$ conda env create -f environment.yml

$ conda activate crypto

(crypto) $ python main.py

Docker

Ensure that Docker is installed.

$ git clone https://github.com/TorNATO-PRO/crypto-forecasting.git

$ cd crypto-forecasting

$ docker build -it .

$ docker run crypto


TODO

  • Create basic directory structure
  • Implement Baseline
  • Implement Oracle
  • Added NNI for hyperparameter tuning
  • Create custom model(s) for data
  • Develop loss function(s) for comparing performance
  • Figure out a way to measure power consumption and execution time
  • Train on all datasets
  • Train on more datasets

Project Structure

.
├── LICENSE
├── README.md
├── assets
│   └── datasets
│       ├── BTC-USD.csv
│       └── ETH-USD.csv
├── environment.yml
├── main.py
├── requirements.txt
└── src
    ├── __init__.py
    ├── data_loader
    │   ├── __init__.py
    │   └── load.py
    ├── models
    │   ├── __init__.py
    │   ├── baseline
    │   │   └── baseline.py
    │   ├── custom
    │   │   └── custom.py
    │   ├── loss.py
    │   ├── oracle
    │   │   ├── data
    │   │   │   └── oracle_best.pth
    │   │   └── oracle.py
    │   └── utils.py
    └── tuning
        ├── __init__.py
        ├── custom_hyp_conf.yml
        ├── custom_trial.py
        ├── oracle_hyp_conf.yml
        ├── oracle_trial.py
        ├── search_space_custom.json
        └── search_space_oracle.json

Footnotes

  1. https://finance.yahoo.com/quote/BTC-USD/history/

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.