From 4f19e9e326ac4c495b380d9fa366fa30872ff2c5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 3 Sep 2021 16:55:39 +0200 Subject: [PATCH] Add botcomparison list --- src/components/ftbot/BotComarisonList.vue | 54 +++++++++++++++++++++++ src/store/modules/botStoreWrapper.ts | 9 +++- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/components/ftbot/BotComarisonList.vue diff --git a/src/components/ftbot/BotComarisonList.vue b/src/components/ftbot/BotComarisonList.vue new file mode 100644 index 00000000..d3444f42 --- /dev/null +++ b/src/components/ftbot/BotComarisonList.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/src/store/modules/botStoreWrapper.ts b/src/store/modules/botStoreWrapper.ts index 990d3c5b..89a883d3 100644 --- a/src/store/modules/botStoreWrapper.ts +++ b/src/store/modules/botStoreWrapper.ts @@ -25,7 +25,14 @@ export enum MultiBotStoreGetters { allProfit = 'allProfit', } -const createAllGetters = ['isBotOnline', 'autoRefresh', 'closedTrades', 'profit']; +const createAllGetters = [ + 'isBotOnline', + 'autoRefresh', + 'closedTrades', + 'profit', + 'openTrades', + 'closedTrades', +]; export default function createBotStore(store) { const state: FTMultiBotState = {