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