From 3135d45c2e8a3e16436fcec23d04cd6c792cea5c Mon Sep 17 00:00:00 2001 From: joeuhren <46763106+joeuhren@users.noreply.github.com> Date: Sun, 7 Mar 2021 18:14:38 -0700 Subject: [PATCH] Stex market fix + update -Fixed the 24h stats volume column which was displaying btc volume -Added btc volume column to 24 stats --- lib/markets/stex.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/markets/stex.js b/lib/markets/stex.js index 66963fa..5a29b21 100644 --- a/lib/markets/stex.js +++ b/lib/markets/stex.js @@ -11,7 +11,8 @@ function get_summary(coin, exchange, stex_id, cb) { else if (body.success === true) { summary['bid'] = body.data['bid']; summary['ask'] = body.data['ask']; - summary['volume'] = body.data['volume']; + summary['volume'] = body.data['volumeQuote']; + summary['volume_btc'] = body.data['volume']; summary['high'] = body.data['high']; summary['low'] = body.data['low']; summary['last'] = body.data['last'];