A tiny tool to connect your blink(1) device with Bitcoin live trades using websockets.
blink1-bitcoin connects you to the live trading API of your favorite Bitcoin exchange (currently Bitstamp and OKCoin only, see
Todo) and uses your blink(1) device to flash on every occuring trade with a corresponding light. The first incoming trade sets the reference values.
Most OS need you to be root (e.g. using
sudo) to install a global npm package:
$ npm -g install blink1-bitcoin
Hook up your blink(1) device and run:
$ blink1-bitcoin <exchange>
Currently supported exchanges:
bitstamp: showing BTC-USD trades on Bitstamp
okcoin: showing BTC-CNY trades on OKCoin (connection is sluggish sometimes)
bitfinex: showing BTC-USD trades on Bitfinex
Huobi is currently work-in-progress.
Found a bug? Open an issue here on Github.
Wanna help? Submit a pull request or contact me.
Wanna tip me a beer? Use Bitcoin: 14pSD9AmuNhLDbGRXehxbhwzRSRrkpiAKg
Copyright (c) 2015 Thomas Baumbach email@example.com
Licensed under the MIT License