Coder Social home page Coder Social logo

bitcointrading's Introduction

bitcoinTrading

So far, bitcoin traders are using a limited amount of tools for trading. There is still a lack of development within this area. That represents a huge opportunity for borrowing some proved knowledge from a similar market: stock trading. For that reason, I am proposing a algorithm well used in the latter market that suggests to buy or sell a bitcoin at a particular moment.

This algorithm is based on the following technique: Moving Average Price (60 and 20). 60 and 20 make reference to the amount of days used to calculate the average.

According to the Moving Average Price technique, there is suggested moments to sell or buy bitcoins or shares. Those cases are the following:

If the 20 days average price curve is above the 60 days average price curve, that represents a opportunity to buy. In other words, if the green line is above the red one there is an uptrend. Therefore, the price will keep raising: time to buy.

The opposite is true as well. If the the 20 days average price curve is below the 60 days average price curve, that represents a opportunity to sell. This will happen when the red one is above the green one within a downward trend: time to sell.

The best moment for buying bitcoins or shares is when a “golden cross” is achieved. That happens when the red line (60 days average curve) is cut by the green from below placing the latter one above the red one. That specific cross represents the beginning of an uptrend behavior.

Investors should be careful about the “dead cross.” This moment takes pace when the red line (60 days average) cut the green one (20 days average) from above placing the latter one below the red one. Usually, that point represent the beginning of a downtrend behavior. 

In brief, the Moving Average Price technique could be summarize as buy after golden crosses and sell after dead crosses.

Parts of the Program:

  1. Bitcoin_Trading.py: It is the first creen and it has all the connections to other parts of the program.
  2. welcome.py: Displays a welcoming message to the user.
  3. ownExceptions.py: There is one exception included in this part.
  4. applyTrading: It contains the algorithm trading and displays the conclusion about the investment.

bitcointrading's People

Contributors

leemarreros avatar

Stargazers

 avatar  avatar Jakob Crowder avatar

Watchers

James Cloos avatar  avatar  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.