2017 © Pedro Peláez
 

library arb

Monitor Australian crypto markets for arbitrage opportunities.

image

markokeeffe/arb

Monitor Australian crypto markets for arbitrage opportunities.

  • Tuesday, January 9, 2018
  • by markokeeffe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 11 % Grown

The README.md

Arbitrage

Connect to Coinbase and BTC Markets to calculate how much money you could make buying from one and selling on the other., (*1)

Installation

  • Composer install: $ composer install
  • Copy /.env.example to /.env.
  • Get a Coinbase API key and secret, requires wallet:payment-methods:read and wallet:payment-methods:limits permissions.
  • Put the values in the /.env file.
  • Get a BTC Markets API key and secret.
  • Put the values in the `/.env
  • Make the script executable $ chmod +x arb.php

Usage

$ ./arb.php, (*2)

Example output:, (*3)

Getting Coinbase Limits...
Coinbase Buy Limit: $55.00
Coinbase Buy Amount after Fee: $52.8055


Getting Coinbase BTC price...
Getting Coinbase ETH price...
    BTC: $18681.37
    ETH: $599.06

Getting BTCMarkets BTC price...
Getting BTCMarkets ETH price...
    BTC: $21090.47
    ETH: $648.01

Calculating variances...
    BTC: 12.8957351629%
    ETH: 8.17113477782%

Can Buy BTC: 0.002826639588
Can Buy ETH: 0.088147264047

Expected BTC Profit: $7.6878128193
Expected ETH Profit: $4.66737739918

Run as a daemon

$ ./arb.php daemon, (*4)

Runs the script as a daemon, checking every 10 minutes., (*5)

The Versions

09/01 2018

1.0.6

1.0.6.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

09/01 2018

dev-master

9999999-dev

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

09/01 2018

1.1

1.1.0.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

20/12 2017

1.0.5

1.0.5.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

14/12 2017

1.0.4

1.0.4.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

14/12 2017

1.0.3

1.0.3.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

14/12 2017

1.0.2

1.0.2.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

14/12 2017

1.0.1

1.0.1.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires

 

13/12 2017

1.0.0

1.0.0.0

Monitor Australian crypto markets for arbitrage opportunities.

  Sources   Download

MIT

The Requires