mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +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.stakeCurrencyDecimals]!: number;
|
||||
|
||||
hideSmallBalances = true;
|
||||
|
||||
smallBalance = 0.00001;
|
||||
get smallBalance(): number {
|
||||
return Number((0.1 ** this.stakeCurrencyDecimals).toFixed(8));
|
||||
}
|
||||
|
||||
get balanceCurrencies() {
|
||||
if (!this.hideSmallBalances) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user