mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +00:00
chore: convert backtestResultChart props to type-based
This commit is contained in:
parent
f810ec8588
commit
739569217e
|
@ -3,14 +3,14 @@ import { useBotStore } from '@/stores/ftbotwrapper';
|
|||
|
||||
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[] },
|
||||
});
|
||||
defineProps<{
|
||||
timeframe: string;
|
||||
strategy: string;
|
||||
freqaiModel?: string;
|
||||
timerange: string;
|
||||
pairlist: string[];
|
||||
trades: Trade[];
|
||||
}>();
|
||||
const botStore = useBotStore();
|
||||
const isBarVisible = ref({ right: true, left: true });
|
||||
const sliderPosition = ref<ChartSliderPosition>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user