From 93a6457a1ae5e1a488014ab31a166a488448d17d Mon Sep 17 00:00:00 2001 From: William Date: Mon, 19 Feb 2024 14:27:03 +0100 Subject: [PATCH] Add `marketUnit` optional property to `OrderParamsV5` interface This commit introduces a new optional `marketUnit` property to the `OrderParamsV5` interface, allowing the specification of 'baseCoin' or 'quoteCoin'. --- src/types/request/v5-trade.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/request/v5-trade.ts b/src/types/request/v5-trade.ts index 4403520..123a1a7 100644 --- a/src/types/request/v5-trade.ts +++ b/src/types/request/v5-trade.ts @@ -17,6 +17,7 @@ export interface OrderParamsV5 { side: OrderSideV5; orderType: OrderTypeV5; qty: string; + marketUnit?: 'baseCoin' | 'quoteCoin'; price?: string; triggerDirection?: 1 | 2; orderFilter?: OrderFilterV5;