From a757c2410ae5b59fbe9c0664f7751babdb62e0a9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 Jun 2022 17:14:30 +0200 Subject: [PATCH] Show Trading volume in bot overview (if available) --- src/components/ftbot/BotStatus.vue | 32 +++++++++++++++++++++++------- src/types/profit.ts | 4 ++++ 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/components/ftbot/BotStatus.vue b/src/components/ftbot/BotStatus.vue index a003d438..67486bdd 100644 --- a/src/components/ftbot/BotStatus.vue +++ b/src/components/ftbot/BotStatus.vue @@ -42,20 +42,37 @@

First trade opened: - + + +
Last trade opened: - + + + +

+

+ + Profit factor: + {{ botStore.activeBot.profit.profit_factor.toFixed(2) }} + +
+ + Trading volume: + {{ + formatPriceCurrency( + botStore.activeBot.profit.trading_volume, + botStore.activeBot.botState.stake_currency, + botStore.activeBot.botState.stake_currency_decimals ?? 3, + ) + }} +