Coder Social home page Coder Social logo

wulin2008 / cryptrade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nbarthel/cryptrade

0.0 2.0 0.0 362 KB

Node.js Bitcoin bot for MtGox/Bitstamp/BTC-E/CEX.IO

Home Page: https://cryptotrader.org

CoffeeScript 97.11% Shell 0.34% JavaScript 2.54%

cryptrade's Introduction

Obviously the thing to do was to be bullish in a bull market and bearish in a bear market.

Reminiscences of a Stock Operator by J. Livermore

cryptrade

NodeJS trading client for Cryptotrader.org

Cryptrade is a standalone client for Cryptotrader.org. The main purpose of this tool is to allow automated trading at popular exchanges such as MtGox,Bitstamp and BTC-E.

Features

  • Support for 125+ Talib indicators such as EMA, MACD, etc.
  • Real time trading at Mtgox, Bitstamp, BTC-E, CEX.IO
  • Compatible with Cryptotrader.org API

Installation

  • Make sure you have Node installed

  • Install cryptrade tool

    git clone https://github.com/pulsecat/cryptrade.git
    cd cryptrade
    npm install
    
  • Open keys.cson and put your API keys of the exchanges you want to trade on. Private keys are never sent to the server

Usage

To start trading bot, just type

./cryptrade.sh https://cryptotrader.org/backtests/PqS7WC4NXv6PiF3RD

The above command will start EMA 10/21 algorithm to trade at Mtgox BTC/USD with trading period set to 1h. Also, you can run the tool with an algorithm stored locally. In this case your algorithm won't be sent to the server:

./cryptrade.sh examples/ema_10_21.coffee

Default configuration can be overriden by command line options:

Usage: cryptrade.coffee [options] <filename or backtest url in format https://cryptotrader.org/backtests/<id>>

Options:

  -h, --help               output usage information
  -c,--config [value]      Load configuration file
  -p,--platform [value]    Trade at specified platform
  -i,--instrument [value]  Trade instrument (ex. btc_usd)
  -t,--period [value]      Trading period (ex. 1h)

For example, to start the above algorithm at Bitstamp with trading period set to 2 hours use the following command:

./cryptrade.sh -p bitstamp -t 2h examples/ema_10_21.coffee

This is beta software, use it at your own risk

cryptrade's People

Contributors

pulsecat avatar

Watchers

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