Show bot run mode (live/dry) in bot comparison

This commit is contained in:
Matthias 2023-08-09 07:29:25 +02:00
parent 88469104ca
commit 5a5fec8855
2 changed files with 5 additions and 1 deletions

View File

@ -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) {

View File

@ -11,4 +11,5 @@ export interface ComparisonTableItems {
losses: number;
balance?: number;
stakeCurrencyDecimals?: number;
isDryRun?: boolean;
}