mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Auto-load strategy when btresult is selected
This commit is contained in:
parent
aa26a501a8
commit
47aea56420
|
@ -376,6 +376,7 @@ const pollInterval = ref<number | null>(null);
|
||||||
const selectBacktestResult = () => {
|
const selectBacktestResult = () => {
|
||||||
// Set parameters for this result
|
// Set parameters for this result
|
||||||
strategy.value = botStore.activeBot.selectedBacktestResult.strategy_name;
|
strategy.value = botStore.activeBot.selectedBacktestResult.strategy_name;
|
||||||
|
botStore.activeBot.getStrategy(strategy.value);
|
||||||
selectedTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe;
|
selectedTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe;
|
||||||
selectedDetailTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe_detail || '';
|
selectedDetailTimeframe.value = botStore.activeBot.selectedBacktestResult.timeframe_detail || '';
|
||||||
timerange.value = botStore.activeBot.selectedBacktestResult.timerange;
|
timerange.value = botStore.activeBot.selectedBacktestResult.timerange;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user