fix(): request type for wsapi batch order commands
This commit is contained in:
@@ -100,9 +100,18 @@ export interface WsAPITopicRequestParamMap {
|
|||||||
'order.create': OrderParamsV5;
|
'order.create': OrderParamsV5;
|
||||||
'order.amend': AmendOrderParamsV5;
|
'order.amend': AmendOrderParamsV5;
|
||||||
'order.cancel': CancelOrderParamsV5;
|
'order.cancel': CancelOrderParamsV5;
|
||||||
'order.create-batch': BatchOrderParamsV5[];
|
'order.create-batch': {
|
||||||
'order.amend-batch': BatchAmendOrderParamsV5[];
|
category: 'option' | 'linear';
|
||||||
'order.cancel-batch': BatchCancelOrderParamsV5[];
|
orders: BatchOrderParamsV5[];
|
||||||
|
};
|
||||||
|
'order.amend-batch': {
|
||||||
|
category: 'option' | 'linear';
|
||||||
|
orders: BatchAmendOrderParamsV5[];
|
||||||
|
};
|
||||||
|
'order.cancel-batch': {
|
||||||
|
category: 'option' | 'linear';
|
||||||
|
orders: BatchCancelOrderParamsV5[];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user