Giter Club home page Giter Club logo

cryptotrader9000's Introduction

cryptotrader9000

A very basic rule based trading bot for Binance. For fun, not profit.

Setting up and running the test bot

  1. git clone https://github.com/nikosandronikos/cryptotrader9000.git

  2. Install dependencies with npm install or npm install --production

  3. Set environment variables (see [Environment Variables](#Environment Variables))

  4. Run the test bot with npm start

Note , if running nodejs directly rather than via the 'npm start' command, the '--experimental-modules' flag is required to enable ES6 module support in NodeJS.

Environment Variables

The following environment variables are required. They may be configured in a '.env' file or within the OS environment:

  • BINANCEACCOUNT_NAME; A human readable name for the account
  • BINANCEACCOUNT_KEY; The account key from Binance
  • BINANCEACCOUNT_SECRET; The account key secret from Binance
  • TELEGRAM_KEY; (optional) A key for a telegram bot
  • TELEGRAM_CHANNEL; (optional) The telegram channel to send messages to

Using the library

There is currently no mechanism to simply import this as a library into your own packages. In the future this module will be available via NPM.

The initial entry point is the BinanceAccess class.

Full documentation is available at: https://nikosandronikos.github.io/cryptotrader9000/

Note that esdoc doesn't like the method used to mixin ObservableMixin to other classes. This results in blank documentation for any class using ObservableMixin. Sorry! You'll just have to look at the source for now.

Tests

Build Status

Run the tests with npm test

cryptotrader9000's People

Contributors

nikosandronikos avatar burner86 avatar

Stargazers

 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.