diff --git a/src/types/response/v2/futures.ts b/src/types/response/v2/futures.ts index 8bb7592..49cba3c 100644 --- a/src/types/response/v2/futures.ts +++ b/src/types/response/v2/futures.ts @@ -85,15 +85,16 @@ export interface FuturesFillV2 { symbol: string; } -export interface FuturesCandlestickV2 { - [0]: string; // timestamp - [1]: string; // open - [2]: string; // high - [3]: string; // low - [4]: string; // close - [5]: string; // baseVolume - [6]: string; // quoteVolume -} +export type FuturesCandlestickV2 = [ + string, + string, + string, + string, + string, + string, + string, + string, +]; export interface FuturesOpenInterestV2 { symbol: string; diff --git a/src/types/response/v2/spot.ts b/src/types/response/v2/spot.ts index df9c819..87495be 100644 --- a/src/types/response/v2/spot.ts +++ b/src/types/response/v2/spot.ts @@ -92,16 +92,16 @@ export interface SpotOrderBookDepthV2 { ts: string; } -export interface SpotCandlestickV2 { - [0]: string; // timestamp - [1]: string; // open - [2]: string; // high - [3]: string; // low - [4]: string; // close - [5]: string; // baseVolume - [6]: string; // usdtVolume - [7]: string; // quoteVolume -} +export type SpotCandlestickV2 = [ + string, + string, + string, + string, + string, + string, + string, + string, +]; export interface SpotTradeV2 { symbol: string;