From 805571da5a0de9b3de07545cc62d4f9705b2225d Mon Sep 17 00:00:00 2001 From: satindergrewal Date: Tue, 21 Nov 2017 04:07:15 +1300 Subject: [PATCH] manual buy order update --- gui/js/simpledexactions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/js/simpledexactions.js b/gui/js/simpledexactions.js index 6814335..ced1299 100644 --- a/gui/js/simpledexactions.js +++ b/gui/js/simpledexactions.js @@ -2676,7 +2676,7 @@ function setOrderPrice(trade_data) { pair_volume = trade_data.maxbuy; $('.trading_pair_coin_volume').val(pair_volume.toFixed(8)); - $('.relvol_basevol').html(trade_data.maxvolume); + $('.relvol_basevol').html(trade_data.avevolume); $('.trading_pair_destpubkey').val(trade_data.pubkey); } @@ -2791,7 +2791,7 @@ function CheckOrderBookFn(sig) { row_trade_data.depth = val.depth; row_trade_data.maxbuy = val.avevolume / val.price; row_trade_data.pubkey = val.pubkey; - //row_trade_data.totalbuy = (val.maxvolume / val.price) * val.numutxos; + //row_trade_data.totalbuy = (val.avevolume / val.price) * val.numutxos; var orderbook_asks_tr = ''; orderbook_asks_tr += ''; orderbook_asks_tr += '' + val.price + '';