diff options
-rwxr-xr-x | gold/json/render/ticker (renamed from gold/mtgox/json_ticker_helper.py) | 0 | ||||
-rwxr-xr-x | gold/mtgox/ticker_text.sh | 7 | ||||
-rwxr-xr-x | gold/scex/ticker | 2 | ||||
-rwxr-xr-x | gold/scex/ticker_text.sh | 4 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gold/mtgox/json_ticker_helper.py b/gold/json/render/ticker index 727dd594..727dd594 100755 --- a/gold/mtgox/json_ticker_helper.py +++ b/gold/json/render/ticker diff --git a/gold/mtgox/ticker_text.sh b/gold/mtgox/ticker_text.sh index 2bcac134..f585ffea 100755 --- a/gold/mtgox/ticker_text.sh +++ b/gold/mtgox/ticker_text.sh @@ -1,3 +1,4 @@ -#!/bin/sh -dirname=`dirname $(readlink -f $0)` -$dirname/mtgox.ticker | python $dirname/json_ticker_helper.py +#! /bin/sh +set -euf +cd $(dirname `readlink -f $0`) +./mtgox.ticker | ../json/render/ticker diff --git a/gold/scex/ticker b/gold/scex/ticker new file mode 100755 index 00000000..a95d5910 --- /dev/null +++ b/gold/scex/ticker @@ -0,0 +1,2 @@ +#! /bin/sh +exec curl -ksS http://scexchange.bitparking.com:8080/api/ticker diff --git a/gold/scex/ticker_text.sh b/gold/scex/ticker_text.sh new file mode 100755 index 00000000..fbaff55b --- /dev/null +++ b/gold/scex/ticker_text.sh @@ -0,0 +1,4 @@ +#! /bin/sh +set -euf +cd $(dirname `readlink -f $0`) +./ticker | ../json/render/ticker |