UNPKG

tardis-dev

Version:

Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js

25 lines 758 B
import { DatasetType } from './exchangedetails.ts'; import { Exchange } from './types.ts'; export declare function downloadDatasets(downloadDatasetsOptions: DownloadDatasetsOptions): Promise<void>; export declare function sanitizeForFilename(s: string): string; type GetFilenameOptions = { exchange: Exchange; dataType: DatasetType; symbol: string; date: Date; format: string; }; type DownloadDatasetsOptions = { exchange: Exchange; dataTypes: DatasetType[]; symbols: string[]; from: string; to: string; format?: 'csv'; apiKey?: string; downloadDir?: string; getFilename?: (options: GetFilenameOptions) => string; skipIfExists?: boolean; }; export {}; //# sourceMappingURL=downloaddatasets.d.ts.map