binance-pump-bot icon indicating copy to clipboard operation
binance-pump-bot copied to clipboard

null balance list

Open ffbboy30 opened this issue 3 years ago • 0 comments

I've a problem in the function GetBalance. When I list all my balance with this code Object.entries(balances) .filter((arr) => parseFloat(arr[1].available) > 0) .forEach((arr) => { newBalance[arr[0]] = arr[1] console.log(chalk.yellow(YOU HAVE ${newBalance[arr[0]].available} ${arr[0]})) })

I've as result YOU HAVE 235.68000000 EUR YOU HAVE 0.00000000 BTC

But In the next step console.log(chalk.yellow(YOU HAVE ${newBalance[TRADE_IN].available} ${TRADE_IN}) I get YOU HAVE 0.00000000 BTC

On my binance Account I've Spot balance = 0 Fiat balance = 235.8 What is wrong with my config.

Thanks

ffbboy30 avatar May 11 '21 21:05 ffbboy30