diff --git a/src/types/backtest.ts b/src/types/backtest.ts index cb1a8d9a..7b8b0f82 100644 --- a/src/types/backtest.ts +++ b/src/types/backtest.ts @@ -13,6 +13,9 @@ export interface BacktestPayload { enable_protections?: boolean; backtest_cache?: string; freqaimodel?: string; + freqai?: { + identifier: string; + }; } export interface PairResult { diff --git a/src/views/Backtesting.vue b/src/views/Backtesting.vue index 222a09cd..4ab024a9 100644 --- a/src/views/Backtesting.vue +++ b/src/views/Backtesting.vue @@ -220,6 +220,18 @@ + + + { } if (freqAI.value.enabled) { btPayload.freqaimodel = freqAI.value.model; + if (freqAI.value.identifier !== '') { + btPayload.freqai = { identifier: freqAI.value.identifier }; + } } botStore.activeBot.startBacktest(btPayload);