Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Added currency to the notifications via bots (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict authored and DeviaVir committed Nov 21, 2017
1 parent 6ad8a1c commit 41fe410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module.exports = function container (get, set, clear) {
s.start_price = n(quote.ask).value()
s.start_capital = n(s.balance.currency).add(n(s.balance.asset).multiply(quote.ask)).value()

notify.pushMessage('Balance', 'sync balance ' + s.start_capital + '\n')
notify.pushMessage('Balance', 'sync balance ' + s.start_capital + ' ' + s.currency + '\n')

cb()
})
Expand Down

0 comments on commit 41fe410

Please sign in to comment.