feat(#187, v3.1.2): add support for new orderCategory param for spotv3
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user