WIP
This commit is contained in:
parent
22c2acfe61
commit
e462359299
5 changed files with 52 additions and 104 deletions
|
|
@ -32,8 +32,9 @@ function buildRates () {
|
|||
|
||||
var rates = {}
|
||||
cryptoCoins.forEach(function (coin) {
|
||||
var cryptoCode = coin.unitCode
|
||||
var rate = plugins.getDeviceRate(coin).rates
|
||||
rates[coin] = {
|
||||
rates[cryptoCode] = {
|
||||
cashIn: rate.ask.times(cashInCommission),
|
||||
cashOut: rate.bid.div(cashOutCommission)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue