mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 13:05:15 +00:00
Use proper fields for tradeDetail
This commit is contained in:
parent
44485bbfbb
commit
4d3ad448c3
|
@ -20,13 +20,10 @@
|
|||
timestampms(trade.close_timestamp)
|
||||
}}</ValuePair>
|
||||
<ValuePair
|
||||
v-if="trade.current_profit && trade.current_profit_abs"
|
||||
description="Current Profit"
|
||||
v-if="trade.profit_ratio && trade.profit_abs"
|
||||
:description="`${trade.is_open ? 'Current Profit' : 'Close Profit'}`"
|
||||
>
|
||||
{{ formatPercent(trade.current_profit) }} | {{ trade.current_profit_abs }}
|
||||
</ValuePair>
|
||||
<ValuePair v-if="trade.close_profit" description="Close Profit">
|
||||
{{ formatPercent(trade.close_profit) }} | {{ trade.close_profit_abs }}
|
||||
{{ formatPercent(trade.profit_ratio) }} | {{ trade.profit_abs }}
|
||||
</ValuePair>
|
||||
</div>
|
||||
<div class="col-lg-7">
|
||||
|
|
Loading…
Reference in New Issue
Block a user