From 0452aba3ec51453bdf17568396376c168603b823 Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Tue, 17 Dec 2024 17:32:16 +0100 Subject: [PATCH] chore(): added comments to candle types --- src/types/response/v2/futures.ts | 16 ++++++++-------- src/types/response/v2/spot.ts | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/types/response/v2/futures.ts b/src/types/response/v2/futures.ts index 49cba3c..70c22f3 100644 --- a/src/types/response/v2/futures.ts +++ b/src/types/response/v2/futures.ts @@ -86,14 +86,14 @@ export interface FuturesFillV2 { } export type FuturesCandlestickV2 = [ - string, - string, - string, - string, - string, - string, - string, - string, + string, // timestamp + string, // open + string, // high + string, // low + string, // close + string, // baseVolume + string, // usdtVolume + string, // quoteVolume ]; export interface FuturesOpenInterestV2 { diff --git a/src/types/response/v2/spot.ts b/src/types/response/v2/spot.ts index 87495be..f99bff7 100644 --- a/src/types/response/v2/spot.ts +++ b/src/types/response/v2/spot.ts @@ -93,14 +93,14 @@ export interface SpotOrderBookDepthV2 { } export type SpotCandlestickV2 = [ - string, - string, - string, - string, - string, - string, - string, - string, + string, // timestamp + string, // open + string, // high + string, // low + string, // close + string, // baseVolume + string, // usdtVolume + string, // quoteVolume ]; export interface SpotTradeV2 {