feat: add download-data types

This commit is contained in:
Matthias 2024-11-02 19:52:21 +01:00
parent 43d203e4dc
commit 350bd6d0ae
2 changed files with 13 additions and 0 deletions

12
src/types/downloadData.ts Normal file
View File

@ -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;
}

View File

@ -7,6 +7,7 @@ export * from './botComparison';
export * from './candleTypes'; export * from './candleTypes';
export * from './chart'; export * from './chart';
export * from './daily'; export * from './daily';
export * from './downloadData';
export * from './exchange'; export * from './exchange';
export * from './gridLayout'; export * from './gridLayout';
export * from './locks'; export * from './locks';