Merge pull request #887 from daniila/vis_results_modifications

Vis results modifications
This commit is contained in:
Matthias 2022-08-04 16:39:14 +02:00 committed by GitHub
commit 7cbfa8d8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,7 @@
<ProfitPill
v-if="backtestMode && comb.tradeCount > 0"
:profit-ratio="comb.profit"
:profit-abs="comb.profitAbs"
:stake-currency="botStore.activeBot.stakeCurrency"
/>
</b-list-group-item>

View File

@ -12,9 +12,11 @@
@click="onTradeSelect(trade)"
>
<div>
<span v-if="botStore.activeBot.botState.trading_mode !== 'spot'">{{
trade.is_short ? 'S-' : 'L-'
}}</span>
<DateTimeTZ :date="trade.open_timestamp" />
</div>
<TradeProfit :trade="trade" />
<ProfitPill
v-if="backtestMode"