Giter VIP home page Giter VIP logo

trading-with-trends's Introduction

Trading with Trends

This app auto-trades on the Binance cryptocurrency exchange when configured entry and exit patterns are detected.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Installing Prerequisites

The following dependencies are required to run an instance:

  1. NodeJS
  2. Npm

Deployment

Clone the code from github

git clone https://github.com/bmino/trading-with-trends.git

Build the project from the root directory

npm install

Start the application

npm run live

Configuration

All configuration is done inside the /config directory. To setup your configuration for the first time, duplicate each of the *.example files, remove the ".example" extension, and fill in the appropriate information.

File: config/backtest.js

  • ticker - {String} Ticker used for backtesting.
  • interval - {String} Candlestick period sizes to look at.
  • endDate - {Date} Ending date of backtesting timeframe.
  • limit - {Number} Number of candlesticks to include in the timeframe.

File: config/monitorLive.js

  • tickers - {Object} Contains key value pairs where the key is the ticker, and the value contains options for the ticker.
    • quantity - {Number} Quantity of the ticker you wish to buy/sell when a position is opened or closed.
  • interval - {String} Candlestick period sizes to look at.
  • notifications - {Object} Contains settings to turn on and off notifications.
    • buy - {Boolean} Send an email when a new position is opened.
    • sell - {Boolean} Send an email when a position is closed.
    • profit - {Boolean} Send an email including profit when a position is closed.
    • totalProfit - {Boolean} Send an email including total system profit after each position is closed.

Backtesting

Show detected entry points base on your entry strategy.

npm run entries

Calculate entry points, exit points, and overall profit.

npm run backtest

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under mit

trading-with-trends's People

Contributors

alex-lee-david 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.