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'.
This commit is contained in:
William
2024-02-19 14:27:03 +01:00
committed by GitHub
parent f4d525dd0f
commit 93a6457a1a

View File

@@ -17,6 +17,7 @@ export interface OrderParamsV5 {
side: OrderSideV5; side: OrderSideV5;
orderType: OrderTypeV5; orderType: OrderTypeV5;
qty: string; qty: string;
marketUnit?: 'baseCoin' | 'quoteCoin';
price?: string; price?: string;
triggerDirection?: 1 | 2; triggerDirection?: 1 | 2;
orderFilter?: OrderFilterV5; orderFilter?: OrderFilterV5;