rBitrage.io

by flavioespinoza

GitHub Readme.md

rBitrage.io

A Node Express app built using the Heroku CLI for monitoring arbitrage opportunities and auto trading within a single crypto currency exchange and between different exchanges.

Node

Arbitrage is the simultaneous purchase and sale of an asset to profit from a difference in the price. It is a trade that profits by capitalizing on the price differences of identical/similar commodities on the same exchange or different exchanges.

Required

  • GDAX Account required through Coinbase
  • API Key, Secret Key and Passphrase set up on GDAX

Current Status & Features!

  • Status: Aug 8, 2017 - 90% Code completion of internal monitor and auto trader.
  • GDAX automated internal monitoring and trading of USD to ETH to BTC to USD

Planned Features!

  • Automated internal monitoring and trading of USD to ETH to BTC to USD on:
    • Gemini
    • Kraken
    • Bitfinex
    • Bitrex
  • Automated watch function and arbitrage trading of BTC to BTC between exchanges.
  • Automated watch function and arbitrage trading of ETH to ETH between exchanges.

Tech

rBitrage.io uses a number of open source projects to work properly:

  • node.js - Evented I/O for the backend
  • Express - Fast node.js network app framework
  • Socket.io - Real-time bidirectional event-based communication
  • jQuery - Client side data binding and event handling
  • EdgeCSS - Intuitive classes for quick markup styling
  • Material Design Lite - Non JS reliant Material Design web components
  • D3 - Dynamic interactive data visualizations
  • Moment - Parse, validate, and display dates and times in JavaScript
  • Lodash - Utility functions for complex array and object manipulations

Optional for recording opportunities

  • MongoDB - NoSQL cross-platform document-oriented database

Installation

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku CLI installed.

$ git clone git@github.com:flavioespinoza/rBitrage.io.git
$ cd rBitrage.io //or your prefferd directory
$ npm install

Open up the index.js file and enter the following:

const passphrase = '<your_passphrase>'
const key = '<your_api_key>'
const b64secret = '<your_secret_key>'
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles: