From 0c4901e2018ed6187d4285ff8075314e6e98aa2b Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 18 Jan 2018 12:03:02 +0200 Subject: [PATCH] DEX pricing --- iguana/exchanges/auto_dexbtc | 2 ++ iguana/exchanges/auto_dexkmd | 2 ++ iguana/exchanges/prices/autoprice | 6 ++++-- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 iguana/exchanges/auto_dexbtc create mode 100755 iguana/exchanges/auto_dexkmd diff --git a/iguana/exchanges/auto_dexbtc b/iguana/exchanges/auto_dexbtc new file mode 100755 index 000000000..6e79feae3 --- /dev/null +++ b/iguana/exchanges/auto_dexbtc @@ -0,0 +1,2 @@ +source userpass +curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"DEX\",\"rel\":\"BTC\",\"margin\":0.05,\"refbase\":\"blocknet\",\"refrel\":\"coinmarketcap\"}" diff --git a/iguana/exchanges/auto_dexkmd b/iguana/exchanges/auto_dexkmd new file mode 100755 index 000000000..b7fe296df --- /dev/null +++ b/iguana/exchanges/auto_dexkmd @@ -0,0 +1,2 @@ +source userpass +curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"autoprice\",\"base\":\"DEX\",\"rel\":\"KMD\",\"margin\":0.05,\"refbase\":\"blocknet\",\"refrel\":\"coinmarketcap\"}" diff --git a/iguana/exchanges/prices/autoprice b/iguana/exchanges/prices/autoprice index 38c433230..530651ea0 100755 --- a/iguana/exchanges/prices/autoprice +++ b/iguana/exchanges/prices/autoprice @@ -16,8 +16,10 @@ curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\ source crypto source trackbtc -source dex -source trackbtc +./auto_dexkmd +./auto_dexbtc +#source dex +#source trackbtc source jumblr source trackbtc