From 8c3c077d42517c6c1090640a7764b0e88e5d0f7b Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 23 Apr 2025 07:52:04 +0000 Subject: [PATCH] Release derivatives-trading-usds-futures v2.0.0 --- .../src/rest-api/modules/trade-api.ts | 8 ++++---- .../src/websocket-api/modules/trade-api.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/derivatives-trading-usds-futures/src/rest-api/modules/trade-api.ts b/clients/derivatives-trading-usds-futures/src/rest-api/modules/trade-api.ts index 9ae7a6e5..4c98b447 100644 --- a/clients/derivatives-trading-usds-futures/src/rest-api/modules/trade-api.ts +++ b/clients/derivatives-trading-usds-futures/src/rest-api/modules/trade-api.ts @@ -987,7 +987,7 @@ const TradeApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) * @param {number} [stopPrice] Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders. * @param {string} [closePosition] `true`, `false`;Close-All,used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`. * @param {number} [activationPrice] Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`) - * @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1% + * @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 10 where 1 for 1% * @param {NewOrderWorkingTypeEnum} [workingType] stopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE" * @param {string} [priceProtect] "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders. * @param {NewOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK" @@ -1445,7 +1445,7 @@ const TradeApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) * @param {number} [stopPrice] Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders. * @param {string} [closePosition] `true`, `false`;Close-All,used with `STOP_MARKET` or `TAKE_PROFIT_MARKET`. * @param {number} [activationPrice] Used with `TRAILING_STOP_MARKET` orders, default as the latest price(supporting different `workingType`) - * @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1% + * @param {number} [callbackRate] Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 10 where 1 for 1% * @param {TestOrderWorkingTypeEnum} [workingType] stopPrice triggered by: "MARK_PRICE", "CONTRACT_PRICE". Default "CONTRACT_PRICE" * @param {string} [priceProtect] "TRUE" or "FALSE", default "FALSE". Used with `STOP/STOP_MARKET` or `TAKE_PROFIT/TAKE_PROFIT_MARKET` orders. * @param {TestOrderNewOrderRespTypeEnum} [newOrderRespType] "ACK", "RESULT", default "ACK" @@ -2801,7 +2801,7 @@ export interface NewOrderRequest { readonly activationPrice?: number; /** - * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1% + * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 10 where 1 for 1% * @type {number} * @memberof TradeApiNewOrder */ @@ -3095,7 +3095,7 @@ export interface TestOrderRequest { readonly activationPrice?: number; /** - * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1% + * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 10 where 1 for 1% * @type {number} * @memberof TradeApiTestOrder */ diff --git a/clients/derivatives-trading-usds-futures/src/websocket-api/modules/trade-api.ts b/clients/derivatives-trading-usds-futures/src/websocket-api/modules/trade-api.ts index 571a3a7d..062fe500 100644 --- a/clients/derivatives-trading-usds-futures/src/websocket-api/modules/trade-api.ts +++ b/clients/derivatives-trading-usds-futures/src/websocket-api/modules/trade-api.ts @@ -381,7 +381,7 @@ export interface NewOrderRequest { readonly activationPrice?: number; /** - * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 5 where 1 for 1% + * Used with `TRAILING_STOP_MARKET` orders, min 0.1, max 10 where 1 for 1% * @type {number} * @memberof TradeApiNewOrder */