diff options
author | makefu <github@syntax-fehler.de> | 2011-08-24 17:53:11 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2011-08-24 17:53:11 +0200 |
commit | 9a2947575515fe070fb63e640007f4d4ed952f85 (patch) | |
tree | 63d2085927916eaa955e37255ee04cb54930d0a1 /btc/mtgox | |
parent | bc901adc1441d6f11c53dacb5bbca7acdcf03361 (diff) | |
parent | 7c18a3d4e5897adb4ddd141aed261ce63daf1a10 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'btc/mtgox')
-rwxr-xr-x | btc/mtgox/json_ticker_helper.py | 7 | ||||
-rwxr-xr-x | btc/mtgox/mtgox.getDepth | 3 | ||||
-rwxr-xr-x | btc/mtgox/mtgox.getTrades | 3 | ||||
-rwxr-xr-x | btc/mtgox/mtgox.ticker | 4 | ||||
-rwxr-xr-x | btc/mtgox/ticker_text.sh | 3 |
5 files changed, 0 insertions, 20 deletions
diff --git a/btc/mtgox/json_ticker_helper.py b/btc/mtgox/json_ticker_helper.py deleted file mode 100755 index 727dd594..00000000 --- a/btc/mtgox/json_ticker_helper.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/python - -import json,sys - -result = json.load(sys.stdin) - -print "High: " + str(result["ticker"]["high"]) + " Low: " + str(result["ticker"]["low"]) + " Last: " + str(result["ticker"]["last"]) diff --git a/btc/mtgox/mtgox.getDepth b/btc/mtgox/mtgox.getDepth deleted file mode 100755 index 9a607979..00000000 --- a/btc/mtgox/mtgox.getDepth +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh -# get mtgox market depth -$ curl -ksS https://mtgox.com/code/data/getDepth.php diff --git a/btc/mtgox/mtgox.getTrades b/btc/mtgox/mtgox.getTrades deleted file mode 100755 index 73e5a68d..00000000 --- a/btc/mtgox/mtgox.getTrades +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh -# get mtgox last trades -$ curl -ksS https://mtgox.com/code/data/getTrades.phl diff --git a/btc/mtgox/mtgox.ticker b/btc/mtgox/mtgox.ticker deleted file mode 100755 index b24dfb35..00000000 --- a/btc/mtgox/mtgox.ticker +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/sh -# get mtgox ticker data -set -euf -curl -ksS https://mtgox.com/code/data/ticker.php diff --git a/btc/mtgox/ticker_text.sh b/btc/mtgox/ticker_text.sh deleted file mode 100755 index 2bcac134..00000000 --- a/btc/mtgox/ticker_text.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -dirname=`dirname $(readlink -f $0)` -$dirname/mtgox.ticker | python $dirname/json_ticker_helper.py |