mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-13 03:33:50 +00:00
feat: Add current rate to detail view
This commit is contained in:
parent
0e4626d952
commit
9e834b1eb3
|
@ -14,6 +14,9 @@
|
||||||
>
|
>
|
||||||
<ValuePair description="Amount">{{ trade.amount }}</ValuePair>
|
<ValuePair description="Amount">{{ trade.amount }}</ValuePair>
|
||||||
<ValuePair description="Open Rate">{{ formatPrice(trade.open_rate) }}</ValuePair>
|
<ValuePair description="Open Rate">{{ formatPrice(trade.open_rate) }}</ValuePair>
|
||||||
|
<ValuePair v-if="trade.is_open && trade.current_rate" description="Current Rate">{{
|
||||||
|
formatPrice(trade.current_rate)
|
||||||
|
}}</ValuePair>
|
||||||
<ValuePair v-if="!trade.is_open && trade.close_rate" description="Close Rate">{{
|
<ValuePair v-if="!trade.is_open && trade.close_rate" description="Close Rate">{{
|
||||||
formatPrice(trade.close_rate)
|
formatPrice(trade.close_rate)
|
||||||
}}</ValuePair>
|
}}</ValuePair>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user