mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-13 03:33:50 +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>
|
||||||
<span class="text-small">{{ item.stakeCurrency }}</span>
|
<span class="text-small">{{
|
||||||
|
` ${item.stakeCurrency}${item.isDryRun ? ' (dry)' : ''}`
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #cell(winVsLoss)="{ item }">
|
<template #cell(winVsLoss)="{ item }">
|
||||||
|
@ -120,6 +122,7 @@ const tableItems = computed<TableItem[]>(() => {
|
||||||
losses: v.losing_trades,
|
losses: v.losing_trades,
|
||||||
balance: botStore.allBalance[k]?.total_bot ?? botStore.allBalance[k]?.total,
|
balance: botStore.allBalance[k]?.total_bot ?? botStore.allBalance[k]?.total,
|
||||||
stakeCurrencyDecimals: botStore.allBotState[k]?.stake_currency_decimals || 3,
|
stakeCurrencyDecimals: botStore.allBotState[k]?.stake_currency_decimals || 3,
|
||||||
|
isDryRun: botStore.allBotState[k]?.dry_run,
|
||||||
});
|
});
|
||||||
if (v.profit_closed_coin !== undefined) {
|
if (v.profit_closed_coin !== undefined) {
|
||||||
if (botStore.botStores[k].isSelected) {
|
if (botStore.botStores[k].isSelected) {
|
||||||
|
|
|
@ -11,4 +11,5 @@ export interface ComparisonTableItems {
|
||||||
losses: number;
|
losses: number;
|
||||||
balance?: number;
|
balance?: number;
|
||||||
stakeCurrencyDecimals?: number;
|
stakeCurrencyDecimals?: number;
|
||||||
|
isDryRun?: boolean;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user