-
Notifications
You must be signed in to change notification settings - Fork 11
coinbase0 USD showing even when individual crypto reporting #18
Comments
Same problem here. The coin balance works fine but the total Coinbase value shows only "0" |
Maybe this has something to do with it?
especially the "part" this.balance = 0; I am not sure exactly, I had to reinstall the mirror but I ran into the same issue. I do it like this now: In the MMM-Coinbase.js change the following line
to
At least you have a slight indication of your Portfolio Balance, but then again it is all messed up and you still litteraly need to check your coins yourself on any client device. I hope they fix this, it is bad like this, I really like the simplicity of MMM-Coinbase. Keep up the good work folks! |
Hello
Probably, this project use the old and deprecated official coinbase node lib.
No it set a default value to balance but is set by Line 39 in 0a5f8b4
I will ask in #19 if it can be made 'cause it's a really small view change |
This can be fixed rather easily. It has something to do with the balance being set to 0 after the dom is updated. Change the following:
|
},
}); This is the code that works in my particular case. Thanks The GreatCodeHolio for helping us out! U R THE MAN! |
In my case, to solve this issue I removed the lines: Line 34 in 0a5f8b4
Line 39 in 0a5f8b4
and added: this.balance = parseFloat(payload[0].native_balance.amount) + parseFloat(payload[1].native_balance.amount);
in my case having only 2 cryptos my array index go from 0 to 1, but if you have more you have to go from 0 to how much cryptos you have |
Hello, after I put in the API keys, the coin amounts work flawlessly, with each coin showing the bought amount. However, the header "Coinbase" with the wallet in USD does not work, showing "Coinbase0 USD". Both keys are in the config, as the individual coins work. Maybe the API updated?
I hope you can fix it :)
The text was updated successfully, but these errors were encountered: