Bitcoin Forum

Economy => Economics => Topic started by: tcatm on April 05, 2011, 03:41:33 PM



Title: Live streaming quotes for all markets on bitcoincharts.com
Post by: tcatm on April 05, 2011, 03:41:33 PM
telnet bitcoincharts.com 27007

outputs JSON objects with fields: symbol, currency, timestamp, price and volume

Latency is approx. 15s.


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: Jr00t on April 05, 2011, 03:46:22 PM
Awesome - Thanks!


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: NghtRppr on 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?


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: aquilax on April 06, 2011, 04:29:28 AM
I connect but nothing happens:

Code:
$ telnet bitcoincharts.com 27007
Trying 173.255.224.227...
Connected to bitcoincharts.com.
Escape character is '^]'.

and waiting...


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: TiagoTiago on April 07, 2011, 12:25:20 AM
same here


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: grue on April 07, 2011, 02:07:52 AM
same here
none of the commands work for me. :(


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: theymos on April 07, 2011, 02:23:07 AM
It works for me. You have to wait a while for something to be output.

Code:
Trying 173.255.224.227...
Connected to bitcoincharts.com.
Escape character is '^]'.
{"timestamp": 1302142933, "price": "0.75", "volume": "185.78", "currency": "USD"
, "symbol": "mtgoxUSD"}


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: nanotube on 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!


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: slush on 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).


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: slush on 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 :).


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: nanotube on 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.


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: nelisky on 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.


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: tcatm on April 13, 2011, 04:18:31 AM
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.

I added weighted prices to both http://bitcoincharts.com and http://bitcoinwatch.com
It's also available as json: http://bitcoincharts.com/t/weighted_prices.json


Title: Re: Live streaming quotes for all markets on bitcoincharts.com
Post by: rampantparanoia on August 01, 2013, 06:28:39 PM
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.

I added weighted prices to both http://bitcoincharts.com and http://bitcoinwatch.com
It's also available as json: http://bitcoincharts.com/t/weighted_prices.json

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?