1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries from February
2021</title>
5 <description>Entries from February
2021</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Updated Valutakrambod, now also with information from NBX
</title>
11 <link>http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Updated_Valutakrambod__now_also_with_information_from_NBX.html
</guid>
13 <pubDate>Sat,
27 Feb
2021 13:
30:
00 +
0100</pubDate>
14 <description><p
>I have neglected the Valutakrambod library for a while, but decided
15 this weekend to give it a face lift. I fixed a few minor glitches in
16 several of the service drivers, where the API had changed since I last
17 looked at the code. I also added support for fetching the order book
18 from the newcomer Norwegian Bitcoin Exchange.
</p
>
20 <p
>I also decided to migrate the project from github to gitlab in the
21 process. If you want a python library for talking to various currency
23 <a href=
"https://gitlab.com/petterreinholdtsen/valutakrambod
">code for
24 valutakrambod
</a
>.
</p
>
26 <p
>This is what the output from
'<tt
>bin/btc-rates-curses -c
</tt
>'
27 looked like a few minutes ago:
</p
>
29 <p
><blockquote
><pre
>
30 Name Pair Bid Ask Spread Ftcd Age Freq
31 Bitfinex BTCEUR
39229.0000 39246.0000 0.0%
44 44 nan
32 Bitmynt BTCEUR
39071.0000 41048.9000 4.8%
43 74 nan
33 Bitpay BTCEUR
39326.7000 nan nan%
39 nan nan
34 Bitstamp BTCEUR
39398.7900 39417.3200 0.0%
0 0 1
35 Bl3p BTCEUR
39158.7800 39581.9000 1.1%
0 nan
3
36 Coinbase BTCEUR
39197.3100 39621.9300 1.1%
38 nan nan
37 Kraken+BTCEUR
39432.9000 39433.0000 0.0%
0 0 0
38 Paymium BTCEUR
39437.2100 39499.9300 0.2%
0 2264 nan
39 Bitmynt BTCNOK
409750.9600 420516.8500 2.6%
43 74 nan
40 Bitpay BTCNOK
410332.4000 nan nan%
39 nan nan
41 Coinbase BTCNOK
408675.7300 412813.7900 1.0%
38 nan nan
42 MiraiEx BTCNOK
412174.1800 418396.1500 1.5%
34 nan nan
43 NBX BTCNOK
405835.9000 408921.4300 0.8%
33 nan nan
44 Bitfinex BTCUSD
47341.0000 47355.0000 0.0%
44 53 nan
45 Bitpay BTCUSD
47388.5100 nan nan%
39 nan nan
46 Coinbase BTCUSD
47153.6500 47651.3700 1.0%
37 nan nan
47 Gemini BTCUSD
47416.0900 47439.0500 0.0%
36 336 nan
48 Hitbtc BTCUSD
47429.9900 47386.7400 -
0.1%
0 0 0
49 Kraken+BTCUSD
47401.7000 47401.8000 0.0%
0 0 0
50 Exchangerates EURNOK
10.4012 10.4012 0.0%
38 76236 nan
51 Norgesbank EURNOK
10.4012 10.4012 0.0%
31 76236 nan
52 Bitstamp EURUSD
1.2030 1.2045 0.1%
2 2 1
53 Exchangerates EURUSD
1.2121 1.2121 0.0%
38 76236 nan
54 Norgesbank USDNOK
8.5811 8.5811 0.0%
31 76236 nan
55 </pre
></blockquote
></p
>
57 <p
>Yes, I notice the negative spread on Hitbtc. Either I fail to
58 understand their Websocket API or they are sending bogus data. I
've
59 seen the same with Kraken, and suspect there is something wrong with
60 the data they send.
</p
>
62 <p
>As usual, if you use Bitcoin and want to show your support of my
63 activities, please send Bitcoin donations to my address
64 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>