jgarzik (OP)
Legendary
Offline
Activity: 1596
Merit: 1091
|
|
October 27, 2010, 08:50:45 PM |
|
Bitcoin Watch is now making available per-trade historical data for mtgox, bitcoinmarket PPUSD, bitcoinmarket LRUSD and bitcoinmarket PGAU. It's in CSV text format, zipped: http://www.bitcoinwatch.com/trades.zipRobot authors, please do not poll this more than once a day. Do not consider this a real-time feed. You do not need to download the entire history of bitcoin every 5 minutes! If you need a real-time feed, please connect directly to the marketplace tickers themselves.
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
|
|
|
No Gods or Kings. Only Bitcoin
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
tcatm
|
|
October 27, 2010, 09:45:22 PM Last edit: October 27, 2010, 10:04:19 PM by tcatm |
|
Thanks! Here's a small python script to split the data into seperate files for each market: import csv
trades = csv.reader(open('trades.csv'), delimiter=',', quotechar='"')
data = {}
for r in trades: if r[0] == "currency": continue
if not r[0] in data: data[r[0]] = []
data[r[0]].append([r[1], r[2], r[3]])
for m, d in data.iteritems(): f = open(m + '.dat', 'w') for e in d: f.write(" ".join(e) + '\n')
f.close()
Edit: trades.csv plotted:
|
|
|
|
grondilu
Legendary
Offline
Activity: 1288
Merit: 1076
|
|
October 27, 2010, 10:09:22 PM Last edit: November 07, 2010, 04:42:36 PM by grondilu |
|
Bitcoin Watch is now making available per-trade historical data for mtgox, bitcoinmarket PPUSD, bitcoinmarket LRUSD and bitcoinmarket PGAU. It's in CSV text format, zipped: http://www.bitcoinwatch.com/trades.zipRobot authors, please do not poll this more than once a day. Do not consider this a real-time feed. You do not need to download the entire history of bitcoin every 5 minutes! If you need a real-time feed, please connect directly to the marketplace tickers themselves. Cool. I'm going to have some fun writing a bash/gnuplot script in order to print a graph of that. Edit. I like the format of the datetime Edit bis. Here is some code : #!/bin/bash
cd /tmp f=trades.csv
if ! [[ -f "$f" ]] || (( $(stat -c %X "$f") < $(date +%s) - 3600*24 )) then wget http://www.bitcoinwatch.com/trades.zip unzip trades.zip fi
tail -n +2 "$f" | cut -d, -f1 | sort -u | { declare -a currency
while read c do currency+=("$c") grep "$c" $f | cut -d, -f 2,3 | sed -re 's/"//g; s/,/ /g' > "${c//\"/}" done
[[ -z "$DISPLAY" ]] && echo "set terminal png ; set output 'btc-graph.png'" IFS=, echo " set xtics 5e6 set style data lines plot ${currency[*]} " } | gnuplot -p && [[ -z "$DISPLAY" ]] && fim 'btc-graph.png'
|
|
|
|
FreeMoney
Legendary
Offline
Activity: 1246
Merit: 1014
Strength in numbers
|
|
October 28, 2010, 07:04:28 AM |
|
Thanks for the graph, tcatm.
|
Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
|
|
|
|
S3052
Legendary
Offline
Activity: 2100
Merit: 1000
|
|
November 03, 2010, 11:33:54 PM |
|
fantastic!!!!!!!!!!!!!! Now we see intraday volumes. I will use your charts probably in the next technical update.
|
|
|
|
|
error
|
|
May 24, 2011, 05:12:04 AM |
|
Bitcoin Watch is now making available per-trade historical data for mtgox, bitcoinmarket PPUSD, bitcoinmarket LRUSD and bitcoinmarket PGAU. It's in CSV text format, zipped: http://www.bitcoinwatch.com/trades.zipRobot authors, please do not poll this more than once a day. Do not consider this a real-time feed. You do not need to download the entire history of bitcoin every 5 minutes! If you need a real-time feed, please connect directly to the marketplace tickers themselves. 404. Whatever happened to this? I suddenly developed a need for old historical data. Thanks!
|
3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
|
|
|
Fireball
|
|
August 13, 2011, 01:21:07 PM |
|
So is exportable trade history data (ticker or 1 min or at least 5 min) available from anywhere?
|
|
|
|
|
Fireball
|
|
August 17, 2011, 09:08:47 AM |
|
Cool, thank you! Maybe I should provide a mirror to reduce load on your server.
|
|
|
|
|