I have neglected the Valutakrambod library for a while, but decided this weekend to give it a face lift. I fixed a few minor glitches in several of the service drivers, where the API had changed since I last looked at the code. I also added support for fetching the order book from the newcomer Norwegian Bitcoin Exchange.
I also decided to migrate the project from github to gitlab in the process. If you want a python library for talking to various currency exchanges, check out code for valutakrambod.
This is what the output from 'bin/btc-rates-curses -c' looked like a few minutes ago:
Name Pair Bid Ask Spread Ftcd Age Freq Bitfinex BTCEUR 39229.0000 39246.0000 0.0% 44 44 nan Bitmynt BTCEUR 39071.0000 41048.9000 4.8% 43 74 nan Bitpay BTCEUR 39326.7000 nan nan% 39 nan nan Bitstamp BTCEUR 39398.7900 39417.3200 0.0% 0 0 1 Bl3p BTCEUR 39158.7800 39581.9000 1.1% 0 nan 3 Coinbase BTCEUR 39197.3100 39621.9300 1.1% 38 nan nan Kraken+BTCEUR 39432.9000 39433.0000 0.0% 0 0 0 Paymium BTCEUR 39437.2100 39499.9300 0.2% 0 2264 nan Bitmynt BTCNOK 409750.9600 420516.8500 2.6% 43 74 nan Bitpay BTCNOK 410332.4000 nan nan% 39 nan nan Coinbase BTCNOK 408675.7300 412813.7900 1.0% 38 nan nan MiraiEx BTCNOK 412174.1800 418396.1500 1.5% 34 nan nan NBX BTCNOK 405835.9000 408921.4300 0.8% 33 nan nan Bitfinex BTCUSD 47341.0000 47355.0000 0.0% 44 53 nan Bitpay BTCUSD 47388.5100 nan nan% 39 nan nan Coinbase BTCUSD 47153.6500 47651.3700 1.0% 37 nan nan Gemini BTCUSD 47416.0900 47439.0500 0.0% 36 336 nan Hitbtc BTCUSD 47429.9900 47386.7400 -0.1% 0 0 0 Kraken+BTCUSD 47401.7000 47401.8000 0.0% 0 0 0 Exchangerates EURNOK 10.4012 10.4012 0.0% 38 76236 nan Norgesbank EURNOK 10.4012 10.4012 0.0% 31 76236 nan Bitstamp EURUSD 1.2030 1.2045 0.1% 2 2 1 Exchangerates EURUSD 1.2121 1.2121 0.0% 38 76236 nan Norgesbank USDNOK 8.5811 8.5811 0.0% 31 76236 nan
Yes, I notice the negative spread on Hitbtc. Either I fail to understand their Websocket API or they are sending bogus data. I've seen the same with Kraken, and suspect there is something wrong with the data they send.
As usual, if you use Bitcoin and want to show your support of my activities, please send Bitcoin donations to my address 15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.