diff --git a/lib/engine.js b/lib/engine.js index b3d45c400a..d143ddecca 100644 --- a/lib/engine.js +++ b/lib/engine.js @@ -430,7 +430,7 @@ module.exports = function (s, conf) { }, conf.wait_for_settlement) } else { - pushMessage('Buying ' + s.exchange.name.toUpperCase(), 'placing buy order at ' + formatCurrency(price, s.currency) + ', ' + formatCurrency(quote.bid - Number(price), s.currency) + ' under best bid\n') + pushMessage('Buying ' + formatAsset(size, s.asset) + ' on ' + s.exchange.name.toUpperCase(), 'placing buy order at ' + formatCurrency(price, s.currency) + ', ' + formatCurrency(quote.bid - Number(price), s.currency) + ' under best bid\n') doOrder() } } @@ -478,7 +478,7 @@ module.exports = function (s, conf) { }, conf.wait_for_settlement) } else { - pushMessage('Selling ' + s.exchange.name.toUpperCase(), 'placing sell order at ' + formatCurrency(price, s.currency) + ', ' + formatCurrency(Number(price) - quote.bid, s.currency) + ' over best ask\n') + pushMessage('Selling ' + formatAsset(size, s.asset) + ' on ' + s.exchange.name.toUpperCase(), 'placing sell order at ' + formatCurrency(price, s.currency) + ', ' + formatCurrency(Number(price) - quote.bid, s.currency) + ' over best ask\n') doOrder() } }