From ed20b625c5d904dcb29e57267a70b48ddf22dc7c Mon Sep 17 00:00:00 2001 From: William Date: Thu, 25 Apr 2024 17:12:29 +0200 Subject: [PATCH] Update `WSAccountOrderV5` --- src/types/websocket.events.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/websocket.events.ts b/src/types/websocket.events.ts index f636adb..1fbbc6e 100644 --- a/src/types/websocket.events.ts +++ b/src/types/websocket.events.ts @@ -11,6 +11,7 @@ import { OrderTimeInForceV5, OrderTriggerByV5, OrderTypeV5, + PositionIdx, StopOrderTypeV5, TPSLModeV5, } from './v5-shared'; @@ -55,7 +56,7 @@ export interface WSAccountOrderV5 { price: string; qty: string; side: OrderSideV5; - positionIdx: number; + positionIdx: PositionIdx; orderStatus: OrderStatusV5; createType: OrderCreateTypeV5; cancelType: OrderCancelTypeV5;