update SpotKlineInterval for V2

This commit is contained in:
Tim142857
2023-11-16 10:47:20 +01:00
parent 8e5d9c4f1b
commit 661bc55ce1

View File

@@ -1,8 +1,26 @@
import { SpotKlineInterval } from '../v1/spotV1'; type SpotKlineIntervalV2 =
| '1min'
| '5min'
| '15min'
| '30min'
| '1h'
| '4h'
| '6h'
| '12h'
| '1day'
| '3day'
| '1week'
| '1M'
| '6Hutc'
| '12Hutc'
| '1Dutc'
| '3Dutc'
| '1Wutc'
| '1Mutc';
export interface SpotCandlesRequestV2 { export interface SpotCandlesRequestV2 {
symbol: string; symbol: string;
granularity: SpotKlineInterval; granularity: SpotKlineIntervalV2;
startTime?: string; startTime?: string;
endTime?: string; endTime?: string;
limit?: string; limit?: string;