mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15: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)
|
timestampms(trade.close_timestamp)
|
||||||
}}</ValuePair>
|
}}</ValuePair>
|
||||||
<ValuePair
|
<ValuePair
|
||||||
v-if="trade.current_profit && trade.current_profit_abs"
|
v-if="trade.profit_ratio && trade.profit_abs"
|
||||||
description="Current Profit"
|
:description="`${trade.is_open ? 'Current Profit' : 'Close Profit'}`"
|
||||||
>
|
>
|
||||||
{{ formatPercent(trade.current_profit) }} | {{ trade.current_profit_abs }}
|
{{ formatPercent(trade.profit_ratio) }} | {{ trade.profit_abs }}
|
||||||
</ValuePair>
|
|
||||||
<ValuePair v-if="trade.close_profit" description="Close Profit">
|
|
||||||
{{ formatPercent(trade.close_profit) }} | {{ trade.close_profit_abs }}
|
|
||||||
</ValuePair>
|
</ValuePair>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-7">
|
<div class="col-lg-7">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user