From 47aea564205072a53c532f2f0a1a8a85afb0ee89 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 17 Jan 2023 21:50:34 +0100 Subject: [PATCH] Auto-load strategy when btresult is selected --- src/views/Backtesting.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Backtesting.vue b/src/views/Backtesting.vue index 0962cfd6..147c8e24 100644 --- a/src/views/Backtesting.vue +++ b/src/views/Backtesting.vue @@ -376,6 +376,7 @@ const pollInterval = ref(null); const selectBacktestResult = () => { // Set parameters for this result strategy.value = botStore.activeBot.selectedBacktestResult.strategy_name; + botStore.activeBot.getStrategy(strategy.value); selectedTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe; selectedDetailTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe_detail || ''; timerange.value = botStore.activeBot.selectedBacktestResult.timerange;