Bitcoins

From SkullSpace Wiki
Revision as of 16:02, 17 June 2011 by Xorrbit (talk) (Created page with " Scrape last cavirtex trade every 60s and output price [code] while true; do curl -sk https://www.cavirtex.com/home | grep -m1 Last | awk 'BEGIN{FS=" "};{print $2}'; sleep 60; do...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Scrape last cavirtex trade every 60s and output price [code] while true; do curl -sk https://www.cavirtex.com/home | grep -m1 Last | awk 'BEGIN{FS=" "};{print $2}'; sleep 60; done [/code]


Watch mtgox trades in real time [code] nc bitcoincharts.com 27007 | grep '"symbol": "mtgoxUSD"' | awk 'BEGIN {FS=":|,"};{print substr($4,2,7) "\t" $6}' [/code]