diff options
author | tv <tv@xso> | 2011-08-24 17:01:38 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-08-24 17:01:38 +0200 |
commit | b35a8971a9e1fa904db4356cb28fc4cd648134d3 (patch) | |
tree | 0da6904f6326a3b565b99767f3b3b8a555a2b7de /gold/json/render/ticker | |
parent | 0ec11733c539e69b1e035585f9e44de19198d93a (diff) |
gold: add scex ticker_text.sh
Diffstat (limited to 'gold/json/render/ticker')
-rwxr-xr-x | gold/json/render/ticker | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/json/render/ticker b/gold/json/render/ticker new file mode 100755 index 00000000..727dd594 --- /dev/null +++ b/gold/json/render/ticker @@ -0,0 +1,7 @@ +#!/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"]) |