Skip to content

Granitosaurus/coinbitrage

Repository files navigation

coinbitrage

Documentation Status Updates

Command line interface application for comparing coin prices for crypto-currency arbitrage

$ coinbitrage diff bitfinex gdax
┌──────────┬──────────┬───────┬─────────┬───────────┐
│ currency │ bitfinex │ gdax  │ diff    │ diff_perc │
├──────────┼──────────┼───────┼─────────┼───────────┤
│ Litecoin │ 283.6    │ 283.8 │ 0.21700 │ -0.07652  │
│ Ethereum │ 686.4    │ 696.2 │ 9.713   │ -1.41498  │
│ Bitcoin  │ 16355    │ 16869 │ 514.3   │ -3.14458  │
└──────────┴──────────┴───────┴─────────┴───────────┘

Features

$coinbitrage diff --help
Usage: coinbitrage diff [OPTIONS] EXCHANGE1 EXCHANGE2

  show difference between two exchanges

Options:
  --reverse       reverse ordering
  --sort-by TEXT  which column to sort by [diff, diff_perc]  [default:
                  diff_perc]
  --help          Show this message and exit.

To run continuously use gnu's watch tool. For example, if you wish to continuesly observe difference between bitfinex and binance exchanges you can run watch with refresh rate of 30 seconds:

watch -n 30 "coinbitrage diff bitfinex binance"

Install

To install you can use pip install --user coinbitrage to install from pypi or to install directly from github pip install git+https://github.com/Granitosaurus/coinbitrage@v0.1.1

Credits

Pricing data is provided by http://coinmartketcap.com This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Cli app to monitor for crypto-currency arbitrages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published