summaryrefslogtreecommitdiffstats
path: root/mtgox
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-07-31 04:17:35 +0200
committermakefu <github@syntax-fehler.de>2011-07-31 04:17:35 +0200
commit102bc2fac260f4bdc5c5710a3d9f8f971cad4a45 (patch)
treec263ffeedf932466fcd240d3853f58cf796de604 /mtgox
parentaea6becfa4f8b8d17bf580c881de1e80f35edcbc (diff)
parent5d864765609f9959ad6a48226a80523dcd52a8a7 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'mtgox')
-rwxr-xr-xmtgox/mtgox.getDepth3
-rwxr-xr-xmtgox/mtgox.getTrades3
-rwxr-xr-xmtgox/mtgox.ticker4
3 files changed, 10 insertions, 0 deletions
diff --git a/mtgox/mtgox.getDepth b/mtgox/mtgox.getDepth
new file mode 100755
index 00000000..9a607979
--- /dev/null
+++ b/mtgox/mtgox.getDepth
@@ -0,0 +1,3 @@
+#! /bin/sh
+# get mtgox market depth
+$ curl -ksS https://mtgox.com/code/data/getDepth.php
diff --git a/mtgox/mtgox.getTrades b/mtgox/mtgox.getTrades
new file mode 100755
index 00000000..73e5a68d
--- /dev/null
+++ b/mtgox/mtgox.getTrades
@@ -0,0 +1,3 @@
+#! /bin/sh
+# get mtgox last trades
+$ curl -ksS https://mtgox.com/code/data/getTrades.phl
diff --git a/mtgox/mtgox.ticker b/mtgox/mtgox.ticker
new file mode 100755
index 00000000..b24dfb35
--- /dev/null
+++ b/mtgox/mtgox.ticker
@@ -0,0 +1,4 @@
+#! /bin/sh
+# get mtgox ticker data
+set -euf
+curl -ksS https://mtgox.com/code/data/ticker.php