diff --git a/src/components/ftbot/PairSummary.vue b/src/components/ftbot/PairSummary.vue index 8a67da9e..7beaf1e1 100644 --- a/src/components/ftbot/PairSummary.vue +++ b/src/components/ftbot/PairSummary.vue @@ -14,7 +14,7 @@ {{ comb.pair }} 🔒 - + diff --git a/src/components/ftbot/TradeProfit.vue b/src/components/ftbot/TradeProfit.vue index b7422e46..c0e3e43f 100644 --- a/src/components/ftbot/TradeProfit.vue +++ b/src/components/ftbot/TradeProfit.vue @@ -1,22 +1,19 @@ - - {{ formatPercent(trade.profit_ratio, 2) }} - - {{ `(${formatPrice(trade.profit_abs, 3)})` }} - - + - + diff --git a/src/components/general/ProfitPill.vue b/src/components/general/ProfitPill.vue new file mode 100644 index 00000000..d1d67f23 --- /dev/null +++ b/src/components/general/ProfitPill.vue @@ -0,0 +1,44 @@ + + + {{ formatPercent(profitRatio, 2) }} + + {{ `(${formatPrice(profitAbs, 3)} ${stakeCurrency})` }} + + + + + + +