mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Show Stake-currency of the last bot in bot comparison
(this may be wrong for multi-bot multi-currency setups - but should work fine for people with just one bot). closes #1405
This commit is contained in:
parent
505212eb3d
commit
421fe3ec34
|
@ -132,6 +132,9 @@ const tableItems = computed<TableItem[]>(() => {
|
|||
summary.wins += v.winning_trades;
|
||||
summary.losses += v.losing_trades;
|
||||
// summary.decimals = this.allBotState[k]?.stake_currency_decimals || summary.decimals;
|
||||
// This will always take the last bot's stake currency
|
||||
// And therefore may result in wrong values.
|
||||
summary.stakeCurrency = botStore.allBotState[k]?.stake_currency || summary.stakeCurrency;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user