You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: