summaryrefslogtreecommitdiff
path: root/sh/rate
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-10-03 14:56:02 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-10-03 14:56:02 -0700
commit35ef3d36d50fe4cfd20db6f14bb0017b39319899 (patch)
tree6b74f90f392d9e3870286c2a6fd4ad3e3f715acd /sh/rate
parentb13a0c1b7b5d24a4c0790279e10c89f94253c6c6 (diff)
curl show error when silent
Diffstat (limited to 'sh/rate')
-rwxr-xr-xsh/rate2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/rate b/sh/rate
index 3b4d404..464df26 100755
--- a/sh/rate
+++ b/sh/rate
@@ -4,4 +4,4 @@
# click url/ result to see more return data descriptions
# last 24 hours volume weighted average price
# XXMRZUSD seems same as XMR/USD, but don't know how to query XMR/USD via jq
-curl -s "https://api.kraken.com/0/public/Ticker?pair=XXMRZUSD" | jq -r .result.XXMRZUSD.p.[1]
+curl -sS "https://api.kraken.com/0/public/Ticker?pair=XXMRZUSD" | jq -r .result.XXMRZUSD.p.[1]