diff options
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 |