blink1-bitcoin
v0.1.6
Published
A tiny tool to connect your blink(1) device with Bitcoin live trades using websockets.
Maintainers
Readme
blink1-bitcoin
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.
Install
Most OS need you to be root (e.g. using sudo) to install a global npm package:
$ npm -g install blink1-bitcoinblink1-bitcoin depends on Node.js and npm. Tested with node v4.2.0 and npm v2.14.7.
Usage
Hook up your blink(1) device and run:
$ blink1-bitcoin <exchange>Currently supported exchanges:
bitstamp: showing BTC-USD trades on Bitstampokcoin: showing BTC-CNY trades on OKCoin (connection is sluggish sometimes)bitfinex: showing BTC-USD trades on Bitfinex
Huobi is currently work-in-progress.
Todo
- transfer code into library!!
- options to connect to: Kraken, BTC-e, Huobi...
Support
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
License
Copyright (c) 2015 Thomas Baumbach [email protected]
Licensed under the MIT License
