From a3a465d625b7b57d9dd3128a6e0b3686c983fe11 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 3 Jun 2017 09:20:54 +0300 Subject: [PATCH] Test --- iguana/exchanges/inv | 2 ++ iguana/exchanges/randval | 1 + iguana/exchanges/run | 2 ++ iguana/exchanges/userpass | 1 + 4 files changed, 6 insertions(+) create mode 100755 iguana/exchanges/inv create mode 100644 iguana/exchanges/randval create mode 100755 iguana/exchanges/run create mode 100644 iguana/exchanges/userpass diff --git a/iguana/exchanges/inv b/iguana/exchanges/inv new file mode 100755 index 000000000..b0b5e52b1 --- /dev/null +++ b/iguana/exchanges/inv @@ -0,0 +1,2 @@ +source userpass +curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"inventory\",\"coin\":\"KMD\"}" diff --git a/iguana/exchanges/randval b/iguana/exchanges/randval new file mode 100644 index 000000000..ca5c33f4d --- /dev/null +++ b/iguana/exchanges/randval @@ -0,0 +1 @@ +export randval="" diff --git a/iguana/exchanges/run b/iguana/exchanges/run new file mode 100755 index 000000000..c65b97bc8 --- /dev/null +++ b/iguana/exchanges/run @@ -0,0 +1,2 @@ +source randval +pkill -15 marketmaker; git pull; ./m_mm; ./marketmaker "{\"profitmargin\":0.01,\"passphrase\":\"$randval\"}" & diff --git a/iguana/exchanges/userpass b/iguana/exchanges/userpass new file mode 100644 index 000000000..1a8a9ad5a --- /dev/null +++ b/iguana/exchanges/userpass @@ -0,0 +1 @@ +export userpass=""