From e5949d1537db0ccd39850e1125b211f093429820 Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Tue, 17 Jun 2025 13:05:28 +0200 Subject: [PATCH] feat(): expand category options in batch order methods to include 'spot' and 'inverse' --- src/rest-client-v5.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rest-client-v5.ts b/src/rest-client-v5.ts index 7930bf6..0652f85 100644 --- a/src/rest-client-v5.ts +++ b/src/rest-client-v5.ts @@ -810,7 +810,7 @@ export class RestClientV5 extends BaseRestClient { * The structure of the two lists are completely consistent. */ batchSubmitOrders( - category: 'option' | 'linear', + category: 'spot' | 'option' | 'linear' | 'inverse', orders: BatchOrderParamsV5[], ): Promise< APIResponseV3WithTime< @@ -835,7 +835,7 @@ export class RestClientV5 extends BaseRestClient { * A maximum of 20 orders can be amended per request. */ batchAmendOrders( - category: 'option' | 'linear', + category: 'spot' | 'option' | 'linear' | 'inverse', orders: BatchAmendOrderParamsV5[], ): Promise< APIResponseV3WithTime< @@ -860,7 +860,7 @@ export class RestClientV5 extends BaseRestClient { * You can cancel unfilled or partially filled orders. A maximum of 20 orders can be cancelled per request. */ batchCancelOrders( - category: 'option' | 'linear', + category: 'spot' | 'option' | 'linear' | 'inverse', orders: BatchCancelOrderParamsV5[], ): Promise< APIResponseV3WithTime<