Bitcoin Forum
April 27, 2024, 01:35:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Live streaming quotes for all markets on bitcoincharts.com  (Read 6680 times)
tcatm (OP)
Sr. Member
****
Offline Offline

Activity: 337
Merit: 265


View Profile
April 05, 2011, 03:41:33 PM
Last edit: April 05, 2011, 04:47:57 PM by tcatm
 #1

telnet bitcoincharts.com 27007

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

Latency is approx. 15s.
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Jr00t
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
April 05, 2011, 03:46:22 PM
 #2

Awesome - Thanks!
NghtRppr
Sr. Member
****
Offline Offline

Activity: 504
Merit: 252


Elder Crypto God


View Profile WWW
April 06, 2011, 04:09:03 AM
 #3

I hope you'll consider adding our market to your stats. What kind of API do you require to do that?
aquilax
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 06, 2011, 04:29:28 AM
 #4

I connect but nothing happens:

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

and waiting...
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
April 07, 2011, 12:25:20 AM
 #5

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 Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
April 07, 2011, 02:07:52 AM
 #6

same here
none of the commands work for me. Sad

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12900


View Profile
April 07, 2011, 02:23:07 AM
 #7

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"}

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
nanotube
Hero Member
*****
Offline Offline

Activity: 482
Merit: 501


View Profile WWW
April 07, 2011, 02:27:16 AM
 #8

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!

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 07, 2011, 02:27:40 AM
 #9

tcatm, good job! Consider some 'welcome json message' after connection to calm down impatient people Smiley (and for possible check that service is responding).

slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
April 07, 2011, 02:30:37 AM
 #10

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 Smiley.

nanotube
Hero Member
*****
Offline Offline

Activity: 482
Merit: 501


View Profile WWW
April 07, 2011, 02:56:37 AM
 #11

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 Smiley.

indeed, if you're doing autotrading, using the direct feed from bitcoincharts is more convenient. Smiley

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.

Join #bitcoin-market on freenode for real-time market updates.
Join #bitcoin-otc - an over-the-counter trading market. http://bitcoin-otc.com
OTC web of trust: http://bitcoin-otc.com/trust.php
My trust rating: http://bitcoin-otc.com/viewratingdetail.php?nick=nanotube
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


View Profile
April 12, 2011, 04:23:18 PM
 #12

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)
Sr. Member
****
Offline Offline

Activity: 337
Merit: 265


View Profile
April 13, 2011, 04:18:31 AM
 #13

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
rampantparanoia
Sr. Member
****
Offline Offline

Activity: 516
Merit: 283



View Profile
August 01, 2013, 06:28:39 PM
 #14

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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!