From 350bd6d0aef70ed8ddd07f8c2219989a124df243 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 2 Nov 2024 19:52:21 +0100 Subject: [PATCH] feat: add download-data types --- src/types/downloadData.ts | 12 ++++++++++++ src/types/index.ts | 1 + 2 files changed, 13 insertions(+) create mode 100644 src/types/downloadData.ts diff --git a/src/types/downloadData.ts b/src/types/downloadData.ts new file mode 100644 index 00000000..d94c3556 --- /dev/null +++ b/src/types/downloadData.ts @@ -0,0 +1,12 @@ +import { MarginMode, TradingMode } from './types'; + +export interface DownloadDataPayload { + pairs: string[]; + exchange?: string; + trading_mode?: TradingMode; + margin_mode?: MarginMode; + stake_currency: string; + timeframes: string[]; + timerange?: string; + days?: number; +} diff --git a/src/types/index.ts b/src/types/index.ts index 85a561a0..52ed1685 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -7,6 +7,7 @@ export * from './botComparison'; export * from './candleTypes'; export * from './chart'; export * from './daily'; +export * from './downloadData'; export * from './exchange'; export * from './gridLayout'; export * from './locks';