mirror of
https://github.com/freqtrade/frequi.git
synced 2024-09-20 09:31:10 +00:00
Update definition of "small balance" for Balance chart
This commit is contained in:
parent
367527ce9c
commit
c40660c2cb
|
@ -53,9 +53,13 @@ export default class Balance extends Vue {
|
||||||
|
|
||||||
@ftbot.Getter [BotStoreGetters.balance]!: BalanceInterface;
|
@ftbot.Getter [BotStoreGetters.balance]!: BalanceInterface;
|
||||||
|
|
||||||
|
@ftbot.Getter [BotStoreGetters.stakeCurrencyDecimals]!: number;
|
||||||
|
|
||||||
hideSmallBalances = true;
|
hideSmallBalances = true;
|
||||||
|
|
||||||
smallBalance = 0.00001;
|
get smallBalance(): number {
|
||||||
|
return Number((0.1 ** this.stakeCurrencyDecimals).toFixed(8));
|
||||||
|
}
|
||||||
|
|
||||||
get balanceCurrencies() {
|
get balanceCurrencies() {
|
||||||
if (!this.hideSmallBalances) {
|
if (!this.hideSmallBalances) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user