mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
Send freqAI model as part of request
This commit is contained in:
parent
8b92567319
commit
9d3f44946e
|
@ -111,6 +111,7 @@ const props = defineProps({
|
|||
timerange: { required: false, default: '', type: String },
|
||||
/** Only required if historicView is true */
|
||||
strategy: { required: false, default: '', type: String },
|
||||
freqaiModel: { required: false, default: undefined, type: String },
|
||||
sliderPosition: {
|
||||
required: false,
|
||||
type: Object as () => ChartSliderPosition,
|
||||
|
@ -176,6 +177,7 @@ const refresh = () => {
|
|||
timeframe: props.timeframe,
|
||||
timerange: props.timerange,
|
||||
strategy: props.strategy,
|
||||
freqaimodel: props.freqaiModel,
|
||||
});
|
||||
} else {
|
||||
botStore.activeBot.getPairCandles({
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
showRightBar ? 'col-md-8' : 'col-md-10'
|
||||
} candle-chart-container px-0 h-100 align-self-stretch`"
|
||||
:slider-position="sliderPosition"
|
||||
:freqai-model="freqaiModel"
|
||||
>
|
||||
</CandleChartContainer>
|
||||
<TradeListNav
|
||||
|
@ -65,6 +66,7 @@ import { ChartSliderPosition, Trade } from '@/types';
|
|||
defineProps({
|
||||
timeframe: { required: true, type: String },
|
||||
strategy: { required: true, type: String },
|
||||
freqaiModel: { required: false, default: undefined, type: String },
|
||||
timerange: { required: true, type: String },
|
||||
pairlist: { required: true, type: Array as () => string[] },
|
||||
trades: { required: true, type: Array as () => Trade[] },
|
||||
|
|
|
@ -203,6 +203,7 @@ export interface PairHistoryPayload {
|
|||
timeframe: string;
|
||||
timerange: string;
|
||||
strategy: string;
|
||||
freqaimodel?: string;
|
||||
}
|
||||
|
||||
export interface PairHistory {
|
||||
|
|
|
@ -316,6 +316,7 @@
|
|||
:timerange="timerange"
|
||||
:pairlist="botStore.activeBot.selectedBacktestResult.pairlist"
|
||||
:trades="botStore.activeBot.selectedBacktestResult.trades"
|
||||
:freqai-model="freqAI.enabled ? freqAI.model : undefined"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user