Giter VIP home page Giter VIP logo

spymanxd / cryptocurrency-machine-learning-prediction-algo-trading Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyberpunkmetalhead/cryptocurrency-machine-learning-prediction-algo-trading

0.0 0.0 0.0 3.47 MB

This is a functional trading bot that works by predicting the price of Bitcoin using Machine Learning, and placing trades based on its prediction. It's pretty experimental and largely untested, so please don't yolo.

C# 100.00%

cryptocurrency-machine-learning-prediction-algo-trading's Introduction

Machine Learning Trading Bot for Bitcoin

This is a functional trading algorithm that aims to predict the price of Bitcoin within the next hour, and places trades based on its prediction. The model was trained on 1 hour candlestick data for the Open and High price and its job is to take the new Open price for Bitcoin, and predict the likely high price for the next hour.

For a detailed explanation of how the machine learning trading bot works in detail and how it was built see this article on my blog

How to use the ML Bitcoin Trading Bot

  1. Clone this repository
  2. Install Visual studio 2022 or similar
  3. Run dotnet restore
  4. Configure your bot in the config.json.example file and remove .example once finished adding your api key, secret, buy amount and whether the bot should start in test more or not.
  5. Build the application (Ctrl+Shift+B)
  6. Run the app from within Visual Studio or run the executable in "projectDirectory/bin/Debug/net6.0/CryptoPricePrediction.exe"

Considerations

By default, the bot will place test orders. Use the config.json.example file in order to switch to live trading or to modify the amount bought per trade. Daily logs are dropped in the "Logs" directory.

Disclaimer

Use this at your own risk and peril. The tool works (functionally) but the efficiency of this strategy hasn't been tested.

Missing features

This is just a quick proof of concept and could be fleshed out. I may add some more functionality in the future, but if you want to contribute by making a pull request here are some features that you can add to the tool:

  • Creating models for the Binance Kline response, to avoid converting / casting.

cryptocurrency-machine-learning-prediction-algo-trading's People

Contributors

cyberpunkmetalhead 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.