feat(#187, v3.1.2): add support for new orderCategory param for spotv3

This commit is contained in:
tiagosiebler
2022-10-23 10:59:37 +01:00
parent fce9bde6e5
commit a7d4f630b3
6 changed files with 20 additions and 8 deletions

View File

@@ -29,11 +29,13 @@ export interface SpotCancelOrderBatchRequest {
symbol: string;
side?: OrderSide;
orderTypes: OrderTypeSpot[];
orderCategory?: 0 | 1;
}
export interface SpotOrderQueryById {
orderId?: string;
orderLinkId?: string;
orderCategory?: 0 | 1;
}
export interface SpotSymbolInfo {

View File

@@ -60,7 +60,7 @@ export interface UMOrderRequest {
category: UMCategory;
symbol: string;
side: OrderSide;
positionIdx?: '0';
positionIdx?: '0' | '1' | '2';
orderType: UMOrderType;
qty: string;
price?: string;