feat(): expand category options in batch order methods to include 'spot' and 'inverse'
This commit is contained in:
@@ -810,7 +810,7 @@ export class RestClientV5 extends BaseRestClient {
|
|||||||
* The structure of the two lists are completely consistent.
|
* The structure of the two lists are completely consistent.
|
||||||
*/
|
*/
|
||||||
batchSubmitOrders(
|
batchSubmitOrders(
|
||||||
category: 'option' | 'linear',
|
category: 'spot' | 'option' | 'linear' | 'inverse',
|
||||||
orders: BatchOrderParamsV5[],
|
orders: BatchOrderParamsV5[],
|
||||||
): Promise<
|
): Promise<
|
||||||
APIResponseV3WithTime<
|
APIResponseV3WithTime<
|
||||||
@@ -835,7 +835,7 @@ export class RestClientV5 extends BaseRestClient {
|
|||||||
* A maximum of 20 orders can be amended per request.
|
* A maximum of 20 orders can be amended per request.
|
||||||
*/
|
*/
|
||||||
batchAmendOrders(
|
batchAmendOrders(
|
||||||
category: 'option' | 'linear',
|
category: 'spot' | 'option' | 'linear' | 'inverse',
|
||||||
orders: BatchAmendOrderParamsV5[],
|
orders: BatchAmendOrderParamsV5[],
|
||||||
): Promise<
|
): Promise<
|
||||||
APIResponseV3WithTime<
|
APIResponseV3WithTime<
|
||||||
@@ -860,7 +860,7 @@ export class RestClientV5 extends BaseRestClient {
|
|||||||
* You can cancel unfilled or partially filled orders. A maximum of 20 orders can be cancelled per request.
|
* You can cancel unfilled or partially filled orders. A maximum of 20 orders can be cancelled per request.
|
||||||
*/
|
*/
|
||||||
batchCancelOrders(
|
batchCancelOrders(
|
||||||
category: 'option' | 'linear',
|
category: 'spot' | 'option' | 'linear' | 'inverse',
|
||||||
orders: BatchCancelOrderParamsV5[],
|
orders: BatchCancelOrderParamsV5[],
|
||||||
): Promise<
|
): Promise<
|
||||||
APIResponseV3WithTime<
|
APIResponseV3WithTime<
|
||||||
|
|||||||
Reference in New Issue
Block a user