diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 284b6a9b..939a841a 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -427,7 +427,6 @@ declare module 'vue' { readonly getCurrentScope: UnwrapRef readonly getDiffColumnsFromPlotConfig: UnwrapRef readonly getTheme: UnwrapRef - readonly getTradeEntries: UnwrapRef readonly h: UnwrapRef readonly heikinAshiDataset: UnwrapRef readonly humanizeDurationFromSeconds: UnwrapRef @@ -779,7 +778,6 @@ declare module '@vue/runtime-core' { readonly getCurrentScope: UnwrapRef readonly getDiffColumnsFromPlotConfig: UnwrapRef readonly getTheme: UnwrapRef - readonly getTradeEntries: UnwrapRef readonly h: UnwrapRef readonly heikinAshiDataset: UnwrapRef readonly humanizeDurationFromSeconds: UnwrapRef diff --git a/src/utils/charts/tradeChartData.ts b/src/utils/charts/tradeChartData.ts index 988dc8ee..9a92d4a3 100644 --- a/src/utils/charts/tradeChartData.ts +++ b/src/utils/charts/tradeChartData.ts @@ -50,7 +50,7 @@ const LONG_COLOR = '#0066FF'; //const LONG_ADJUST_COLOR = '#00A9FF'; /** Return trade entries for charting */ -export function getTradeEntries(dataset: PairHistory, trades: Trade[]) { +function getTradeEntries(dataset: PairHistory, trades: Trade[]) { const tradeData: (number | string)[][] = []; // Return schema: // 0: Timeframe