diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index b197f295..c9ef679c 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -17,6 +17,8 @@ declare global { const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] + const binData: typeof import('./utils/charts/binCount')['binData'] + const calculateDiff: typeof import('./utils/charts/areaPlotDataset')['calculateDiff'] const computed: typeof import('vue')['computed'] const computedAsync: typeof import('@vueuse/core')['computedAsync'] const computedEager: typeof import('@vueuse/core')['computedEager'] @@ -36,6 +38,7 @@ declare global { const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise'] const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] const customRef: typeof import('vue')['customRef'] + const dataZoomPartial: typeof import('./utils/charts/chartZoom')['dataZoomPartial'] const dateFromString: typeof import('./utils/formatters/timeformat')['dateFromString'] const dateStringToTimeRange: typeof import('./utils/formatters/timeformat')['dateStringToTimeRange'] const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] @@ -52,10 +55,17 @@ declare global { const formatPercent: typeof import('./utils/formatters/numberformat')['formatPercent'] const formatPrice: typeof import('./utils/formatters/numberformat')['formatPrice'] const formatPriceCurrency: typeof import('./utils/formatters/numberformat')['formatPriceCurrency'] + const generateAreaCandleSeries: typeof import('./utils/charts/candleChartSeries')['generateAreaCandleSeries'] + const generateCandleSeries: typeof import('./utils/charts/candleChartSeries')['generateCandleSeries'] + const generateTradeSeries: typeof import('./utils/charts/tradeChartData')['generateTradeSeries'] const getActivePinia: typeof import('pinia')['getActivePinia'] const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentScope: typeof import('vue')['getCurrentScope'] + const getDiffColumnsFromPlotConfig: typeof import('./utils/charts/areaPlotDataset')['getDiffColumnsFromPlotConfig'] + const getTradeEntries: typeof import('./utils/charts/tradeChartData')['getTradeEntries'] const h: typeof import('vue')['h'] + const heikinAshiDataset: typeof import('./utils/charts/heikinashi')['heikinAshiDataset'] + const heikinashi: typeof import('./utils/charts/heikinashi')['default'] const humanizeDurationFromSeconds: typeof import('./utils/formatters/timeformat')['humanizeDurationFromSeconds'] const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] const initBots: typeof import('./stores/ftbotwrapper')['initBots'] @@ -361,6 +371,8 @@ declare module 'vue' { readonly acceptHMRUpdate: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef + readonly binData: UnwrapRef + readonly calculateDiff: UnwrapRef readonly computed: UnwrapRef readonly computedAsync: UnwrapRef readonly computedEager: UnwrapRef @@ -380,6 +392,7 @@ declare module 'vue' { readonly createTemplatePromise: UnwrapRef readonly createUnrefFn: UnwrapRef readonly customRef: UnwrapRef + readonly dataZoomPartial: UnwrapRef readonly dateFromString: UnwrapRef readonly dateStringToTimeRange: UnwrapRef readonly debouncedRef: UnwrapRef @@ -396,10 +409,16 @@ declare module 'vue' { readonly formatPercent: UnwrapRef readonly formatPrice: UnwrapRef readonly formatPriceCurrency: UnwrapRef + readonly generateAreaCandleSeries: UnwrapRef + readonly generateCandleSeries: UnwrapRef + readonly generateTradeSeries: UnwrapRef readonly getActivePinia: UnwrapRef readonly getCurrentInstance: UnwrapRef readonly getCurrentScope: UnwrapRef + readonly getDiffColumnsFromPlotConfig: UnwrapRef + readonly getTradeEntries: UnwrapRef readonly h: UnwrapRef + readonly heikinAshiDataset: UnwrapRef readonly humanizeDurationFromSeconds: UnwrapRef readonly ignorableWatch: UnwrapRef readonly initBots: UnwrapRef @@ -697,6 +716,8 @@ declare module '@vue/runtime-core' { readonly acceptHMRUpdate: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef + readonly binData: UnwrapRef + readonly calculateDiff: UnwrapRef readonly computed: UnwrapRef readonly computedAsync: UnwrapRef readonly computedEager: UnwrapRef @@ -716,6 +737,7 @@ declare module '@vue/runtime-core' { readonly createTemplatePromise: UnwrapRef readonly createUnrefFn: UnwrapRef readonly customRef: UnwrapRef + readonly dataZoomPartial: UnwrapRef readonly dateFromString: UnwrapRef readonly dateStringToTimeRange: UnwrapRef readonly debouncedRef: UnwrapRef @@ -732,10 +754,16 @@ declare module '@vue/runtime-core' { readonly formatPercent: UnwrapRef readonly formatPrice: UnwrapRef readonly formatPriceCurrency: UnwrapRef + readonly generateAreaCandleSeries: UnwrapRef + readonly generateCandleSeries: UnwrapRef + readonly generateTradeSeries: UnwrapRef readonly getActivePinia: UnwrapRef readonly getCurrentInstance: UnwrapRef readonly getCurrentScope: UnwrapRef + readonly getDiffColumnsFromPlotConfig: UnwrapRef + readonly getTradeEntries: UnwrapRef readonly h: UnwrapRef + readonly heikinAshiDataset: UnwrapRef readonly humanizeDurationFromSeconds: UnwrapRef readonly ignorableWatch: UnwrapRef readonly initBots: UnwrapRef diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index 1ad63615..869f06d3 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -5,9 +5,6 @@