Giter Club home page Giter Club logo

bitcoin_strategy's Introduction

Bitcoin Buying and Selling Strategies

This is a toy project that aims to build and compare trading models for buying and selling bitcoin. My goal is to practice software architecture and design, and OOP in python. Possibly improve my skill in time-series forecasting along the way.

Disclaimer: this is not an endorsement of cryptocurrency or any trading strategy, just programming practice. Following any of these strategies may result in financial loss.

Roadmap

Implement 2 traditional trading strategies Compare using various parameters

3. Implement 3 machine learning models
4. Compare using various parameters
5. Make real-time decisions by making API calls 

Software Architecture and Design

Initially, I had one class containing methods for deciding when to buy, and another method deciding how much to buy. However, I realized that when both of these metehods change atributes of the class, this can add a bunch of complexity and unwanted behavior. So I refactored to delegate this to two objects: a signal modeling object, and an allocation object. This also opened up an easy way to re-use allocation strategies, specially when using Machine Learning models, since this decision doesn't depend on the type of model being used.

Diagrams

To-Do:

1. Class Diagram
2. Sequence Diagram
3. Use-case Diagram

bitcoin_strategy's People

Contributors

yurigalindo avatar

Stargazers

 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.