tcatm (OP)
|
|
April 05, 2011, 03:41:33 PM Last edit: April 05, 2011, 04:47:57 PM by tcatm |
|
telnet bitcoincharts.com 27007
outputs JSON objects with fields: symbol, currency, timestamp, price and volume
Latency is approx. 15s.
|
|
|
|
Jr00t
Newbie
Offline
Activity: 27
Merit: 0
|
|
April 05, 2011, 03:46:22 PM |
|
Awesome - Thanks!
|
|
|
|
NghtRppr
|
|
April 06, 2011, 04:09:03 AM |
|
I hope you'll consider adding our market to your stats. What kind of API do you require to do that?
|
|
|
|
aquilax
Newbie
Offline
Activity: 2
Merit: 0
|
|
April 06, 2011, 04:29:28 AM |
|
I connect but nothing happens: $ telnet bitcoincharts.com 27007 Trying 173.255.224.227... Connected to bitcoincharts.com. Escape character is '^]'.
and waiting...
|
|
|
|
TiagoTiago
|
|
April 07, 2011, 12:25:20 AM |
|
same here
|
(I dont always get new reply notifications, pls send a pm when you think it has happened) Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!
|
|
|
grue
Legendary
Offline
Activity: 2058
Merit: 1434
|
|
April 07, 2011, 02:07:52 AM |
|
same here
none of the commands work for me.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5348
Merit: 13316
|
|
April 07, 2011, 02:23:07 AM |
|
It works for me. You have to wait a while for something to be output. Trying 173.255.224.227... Connected to bitcoincharts.com. Escape character is '^]'. {"timestamp": 1302142933, "price": "0.75", "volume": "185.78", "currency": "USD" , "symbol": "mtgoxUSD"}
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
nanotube
|
|
April 07, 2011, 02:27:16 AM |
|
and by the way - freenode channel #bitcoin-market outputs the streaming quotes from the bitcoincharts feed, in a pretty format.
so if you have a habit of hanging out on irc - join in and watch the bitcoin market activity scroll by!
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
April 07, 2011, 02:27:40 AM |
|
tcatm, good job! Consider some 'welcome json message' after connection to calm down impatient people (and for possible check that service is responding).
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
April 07, 2011, 02:30:37 AM |
|
and by the way - freenode channel #bitcoin-market outputs the streaming quotes from the bitcoincharts feed, in a pretty format.
so if you have a habit of hanging out on irc - join in and watch the bitcoin market activity scroll by!
I'm following #bitcoin-market, good for overall market view, but I'll prefer tcatm's solution for automatic processing like trading bots. Currently thinking about some, it's a pitty to have such nice market stream and don't use it for anything .
|
|
|
|
nanotube
|
|
April 07, 2011, 02:56:37 AM |
|
I'm following #bitcoin-market, good for overall market view, but I'll prefer tcatm's solution for automatic processing like trading bots. Currently thinking about some, it's a pitty to have such nice market stream and don't use it for anything . indeed, if you're doing autotrading, using the direct feed from bitcoincharts is more convenient. though since that only reports trades, while for a trading bot you'd also want the order book depth... it's probably not really useful by itself for a trading bot. you'd want to pull the book depth data for each individual market your bot trades in.
|
|
|
|
nelisky
Legendary
Offline
Activity: 1540
Merit: 1002
|
|
April 12, 2011, 04:23:18 PM |
|
I didn't look to see if it is already there for more than 2 seconds, so forgive my lazyness. I'm in a hurry and didn't want to let this one slip; Can we get a weighted BTC/{your 2nd favorit currency here} exchange rate too? Something like we get for 24h on http://www.taters.net/cgi-bin/btc/matrix.pl?axisinc=0.01 that unfortunately only covers mtgox trades. If we could sum all the trades done in all the "known" exchange sites for each of the pairs (although even just BTC/USD would be very helpful) and then find the average given the volume, we would have a very solid "official exchange rate" that merchants could use, one that would soften the cyclic movements of the market a bit. And why not do that for hour, day, week and month? This way getting automated BTC pricing on USD based sites could become more dynamic with some confidence.
|
|
|
|
tcatm (OP)
|
|
April 13, 2011, 04:18:31 AM |
|
|
|
|
|
rampantparanoia
|
|
August 01, 2013, 06:28:39 PM |
|
Sorry for bringing up an old thread... but can you shed light on how you're weighted USD price is calculated? specifically, which exchanged are queried and what are the weights per exchange?
|
|
|
|
|