Only show stoploss-dist for open trades

This commit is contained in:
Matthias 2020-08-29 11:18:43 +02:00
parent 36b681e733
commit 44874377b8

View File

@ -32,7 +32,7 @@
{{ formatPercent(trade.initial_stop_loss_pct / 100) }} | {{ formatPercent(trade.initial_stop_loss_pct / 100) }} |
{{ formatPrice(trade.initial_stop_loss) }} {{ formatPrice(trade.initial_stop_loss) }}
</ValuePair> </ValuePair>
<ValuePair description="Current stoploss dist"> <ValuePair v-if="trade.is_open" description="Current stoploss dist">
{{ formatPercent(trade.stoploss_current_dist_ratio) }} | {{ formatPercent(trade.stoploss_current_dist_ratio) }} |
{{ formatPrice(trade.stoploss_current_dist) }} {{ formatPrice(trade.stoploss_current_dist) }}
</ValuePair> </ValuePair>