mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 11:05:17 +00:00
Show bot run mode (live/dry) in bot comparison
This commit is contained in:
parent
88469104ca
commit
5a5fec8855
|
@ -47,7 +47,9 @@
|
|||
)
|
||||
}}
|
||||
</span>
|
||||
<span class="text-small">{{ item.stakeCurrency }}</span>
|
||||
<span class="text-small">{{
|
||||
` ${item.stakeCurrency}${item.isDryRun ? ' (dry)' : ''}`
|
||||
}}</span>
|
||||
</div>
|
||||
</template>
|
||||
<template #cell(winVsLoss)="{ item }">
|
||||
|
@ -120,6 +122,7 @@ const tableItems = computed<TableItem[]>(() => {
|
|||
losses: v.losing_trades,
|
||||
balance: botStore.allBalance[k]?.total_bot ?? botStore.allBalance[k]?.total,
|
||||
stakeCurrencyDecimals: botStore.allBotState[k]?.stake_currency_decimals || 3,
|
||||
isDryRun: botStore.allBotState[k]?.dry_run,
|
||||
});
|
||||
if (v.profit_closed_coin !== undefined) {
|
||||
if (botStore.botStores[k].isSelected) {
|
||||
|
|
|
@ -11,4 +11,5 @@ export interface ComparisonTableItems {
|
|||
losses: number;
|
||||
balance?: number;
|
||||
stakeCurrencyDecimals?: number;
|
||||
isDryRun?: boolean;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user