From c37ab9c4accc58919e87ad4eee1ef19f49eed873 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 24 Aug 2011 16:45:00 +0200 Subject: {btc -> gold} SC & co., we're ready --- btc/mtgox/json_ticker_helper.py | 7 ------- btc/mtgox/mtgox.getDepth | 3 --- btc/mtgox/mtgox.getTrades | 3 --- btc/mtgox/mtgox.ticker | 4 ---- btc/mtgox/ticker_text.sh | 3 --- 5 files changed, 20 deletions(-) delete mode 100755 btc/mtgox/json_ticker_helper.py delete mode 100755 btc/mtgox/mtgox.getDepth delete mode 100755 btc/mtgox/mtgox.getTrades delete mode 100755 btc/mtgox/mtgox.ticker delete mode 100755 btc/mtgox/ticker_text.sh (limited to 'btc/mtgox') 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 -- cgit v1.2.3