@binance/margin-trading 13.0.5 → 13.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -5176,8 +5176,21 @@ interface AccountApiInterface {
5176
5176
  *
5177
5177
  * - The time between startTime and endTime cannot be longer than 7 days.
5178
5178
  *
5179
- * - If fromId is set, the data with id > fromId will be returned.
5180
- * Otherwise the latest data will be returned
5179
+ * - If both startTime and endTime are omitted, the most recent 7 days are
5180
+ * queried (endTime defaults to the current time, and startTime to the
5181
+ * current time minus 7 days).
5182
+ *
5183
+ * - If startTime is provided without endTime, endTime defaults to
5184
+ * startTime plus 7 days.
5185
+ *
5186
+ * - If endTime is provided without startTime, startTime defaults to
5187
+ * endTime minus 7 days.
5188
+ *
5189
+ * - If fromId is set, the data with id > fromId within the queried time
5190
+ * range will be returned. Otherwise the latest data within that range will
5191
+ * be returned. fromId does not extend the time range; to retrieve older
5192
+ * records, move startTime and endTime backwards in windows of up to 7
5193
+ * days.
5181
5194
  *
5182
5195
  * - To query isolated data, Symbol needs to be entered.
5183
5196
  *
@@ -5579,8 +5592,21 @@ declare class AccountApi implements AccountApiInterface {
5579
5592
  *
5580
5593
  * - The time between startTime and endTime cannot be longer than 7 days.
5581
5594
  *
5582
- * - If fromId is set, the data with id > fromId will be returned.
5583
- * Otherwise the latest data will be returned
5595
+ * - If both startTime and endTime are omitted, the most recent 7 days are
5596
+ * queried (endTime defaults to the current time, and startTime to the
5597
+ * current time minus 7 days).
5598
+ *
5599
+ * - If startTime is provided without endTime, endTime defaults to
5600
+ * startTime plus 7 days.
5601
+ *
5602
+ * - If endTime is provided without startTime, startTime defaults to
5603
+ * endTime minus 7 days.
5604
+ *
5605
+ * - If fromId is set, the data with id > fromId within the queried time
5606
+ * range will be returned. Otherwise the latest data within that range will
5607
+ * be returned. fromId does not extend the time range; to retrieve older
5608
+ * records, move startTime and endTime backwards in windows of up to 7
5609
+ * days.
5584
5610
  *
5585
5611
  * - To query isolated data, Symbol needs to be entered.
5586
5612
  *
@@ -7087,8 +7113,15 @@ interface TradeApiInterface {
7087
7113
  *
7088
7114
  * Notes:
7089
7115
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
7090
- * - Depending on the `pendingType` or `workingType`, some optional
7091
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
7116
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
7117
+ *
7118
+ * | Type | Additional mandatory parameters | Additional information |
7119
+ * | --- | --- | --- |
7120
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
7121
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
7122
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
7123
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
7124
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
7092
7125
  *
7093
7126
  * @summary Margin Account New OTO (TRADE)
7094
7127
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
@@ -9080,8 +9113,15 @@ declare class TradeApi implements TradeApiInterface {
9080
9113
  *
9081
9114
  * Notes:
9082
9115
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
9083
- * - Depending on the `pendingType` or `workingType`, some optional
9084
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
9116
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
9117
+ *
9118
+ * | Type | Additional mandatory parameters | Additional information |
9119
+ * | --- | --- | --- |
9120
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
9121
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
9122
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
9123
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
9124
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
9085
9125
  *
9086
9126
  * @summary Margin Account New OTO (TRADE)
9087
9127
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
@@ -10054,8 +10094,21 @@ declare class RestAPI {
10054
10094
  *
10055
10095
  * - The time between startTime and endTime cannot be longer than 7 days.
10056
10096
  *
10057
- * - If fromId is set, the data with id > fromId will be returned.
10058
- * Otherwise the latest data will be returned
10097
+ * - If both startTime and endTime are omitted, the most recent 7 days are
10098
+ * queried (endTime defaults to the current time, and startTime to the
10099
+ * current time minus 7 days).
10100
+ *
10101
+ * - If startTime is provided without endTime, endTime defaults to
10102
+ * startTime plus 7 days.
10103
+ *
10104
+ * - If endTime is provided without startTime, startTime defaults to
10105
+ * endTime minus 7 days.
10106
+ *
10107
+ * - If fromId is set, the data with id > fromId within the queried time
10108
+ * range will be returned. Otherwise the latest data within that range will
10109
+ * be returned. fromId does not extend the time range; to retrieve older
10110
+ * records, move startTime and endTime backwards in windows of up to 7
10111
+ * days.
10059
10112
  *
10060
10113
  * - To query isolated data, Symbol needs to be entered.
10061
10114
  *
@@ -10823,8 +10876,15 @@ declare class RestAPI {
10823
10876
  *
10824
10877
  * Notes:
10825
10878
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
10826
- * - Depending on the `pendingType` or `workingType`, some optional
10827
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
10879
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
10880
+ *
10881
+ * | Type | Additional mandatory parameters | Additional information |
10882
+ * | --- | --- | --- |
10883
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
10884
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
10885
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
10886
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
10887
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
10828
10888
  *
10829
10889
  * @summary Margin Account New OTO (TRADE)
10830
10890
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
package/dist/index.d.ts CHANGED
@@ -5178,8 +5178,21 @@ interface AccountApiInterface {
5178
5178
  *
5179
5179
  * - The time between startTime and endTime cannot be longer than 7 days.
5180
5180
  *
5181
- * - If fromId is set, the data with id > fromId will be returned.
5182
- * Otherwise the latest data will be returned
5181
+ * - If both startTime and endTime are omitted, the most recent 7 days are
5182
+ * queried (endTime defaults to the current time, and startTime to the
5183
+ * current time minus 7 days).
5184
+ *
5185
+ * - If startTime is provided without endTime, endTime defaults to
5186
+ * startTime plus 7 days.
5187
+ *
5188
+ * - If endTime is provided without startTime, startTime defaults to
5189
+ * endTime minus 7 days.
5190
+ *
5191
+ * - If fromId is set, the data with id > fromId within the queried time
5192
+ * range will be returned. Otherwise the latest data within that range will
5193
+ * be returned. fromId does not extend the time range; to retrieve older
5194
+ * records, move startTime and endTime backwards in windows of up to 7
5195
+ * days.
5183
5196
  *
5184
5197
  * - To query isolated data, Symbol needs to be entered.
5185
5198
  *
@@ -5581,8 +5594,21 @@ declare class AccountApi implements AccountApiInterface {
5581
5594
  *
5582
5595
  * - The time between startTime and endTime cannot be longer than 7 days.
5583
5596
  *
5584
- * - If fromId is set, the data with id > fromId will be returned.
5585
- * Otherwise the latest data will be returned
5597
+ * - If both startTime and endTime are omitted, the most recent 7 days are
5598
+ * queried (endTime defaults to the current time, and startTime to the
5599
+ * current time minus 7 days).
5600
+ *
5601
+ * - If startTime is provided without endTime, endTime defaults to
5602
+ * startTime plus 7 days.
5603
+ *
5604
+ * - If endTime is provided without startTime, startTime defaults to
5605
+ * endTime minus 7 days.
5606
+ *
5607
+ * - If fromId is set, the data with id > fromId within the queried time
5608
+ * range will be returned. Otherwise the latest data within that range will
5609
+ * be returned. fromId does not extend the time range; to retrieve older
5610
+ * records, move startTime and endTime backwards in windows of up to 7
5611
+ * days.
5586
5612
  *
5587
5613
  * - To query isolated data, Symbol needs to be entered.
5588
5614
  *
@@ -7089,8 +7115,15 @@ interface TradeApiInterface {
7089
7115
  *
7090
7116
  * Notes:
7091
7117
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
7092
- * - Depending on the `pendingType` or `workingType`, some optional
7093
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
7118
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
7119
+ *
7120
+ * | Type | Additional mandatory parameters | Additional information |
7121
+ * | --- | --- | --- |
7122
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
7123
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
7124
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
7125
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
7126
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
7094
7127
  *
7095
7128
  * @summary Margin Account New OTO (TRADE)
7096
7129
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
@@ -9082,8 +9115,15 @@ declare class TradeApi implements TradeApiInterface {
9082
9115
  *
9083
9116
  * Notes:
9084
9117
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
9085
- * - Depending on the `pendingType` or `workingType`, some optional
9086
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
9118
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
9119
+ *
9120
+ * | Type | Additional mandatory parameters | Additional information |
9121
+ * | --- | --- | --- |
9122
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
9123
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
9124
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
9125
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
9126
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
9087
9127
  *
9088
9128
  * @summary Margin Account New OTO (TRADE)
9089
9129
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
@@ -10056,8 +10096,21 @@ declare class RestAPI {
10056
10096
  *
10057
10097
  * - The time between startTime and endTime cannot be longer than 7 days.
10058
10098
  *
10059
- * - If fromId is set, the data with id > fromId will be returned.
10060
- * Otherwise the latest data will be returned
10099
+ * - If both startTime and endTime are omitted, the most recent 7 days are
10100
+ * queried (endTime defaults to the current time, and startTime to the
10101
+ * current time minus 7 days).
10102
+ *
10103
+ * - If startTime is provided without endTime, endTime defaults to
10104
+ * startTime plus 7 days.
10105
+ *
10106
+ * - If endTime is provided without startTime, startTime defaults to
10107
+ * endTime minus 7 days.
10108
+ *
10109
+ * - If fromId is set, the data with id > fromId within the queried time
10110
+ * range will be returned. Otherwise the latest data within that range will
10111
+ * be returned. fromId does not extend the time range; to retrieve older
10112
+ * records, move startTime and endTime backwards in windows of up to 7
10113
+ * days.
10061
10114
  *
10062
10115
  * - To query isolated data, Symbol needs to be entered.
10063
10116
  *
@@ -10825,8 +10878,15 @@ declare class RestAPI {
10825
10878
  *
10826
10879
  * Notes:
10827
10880
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
10828
- * - Depending on the `pendingType` or `workingType`, some optional
10829
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
10881
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
10882
+ *
10883
+ * | Type | Additional mandatory parameters | Additional information |
10884
+ * | --- | --- | --- |
10885
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
10886
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
10887
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
10888
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
10889
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
10830
10890
  *
10831
10891
  * @summary Margin Account New OTO (TRADE)
10832
10892
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ let __binance_common = require("@binance/common");
14
14
 
15
15
  //#region package.json
16
16
  var name = "@binance/margin-trading";
17
- var version = "13.0.5";
17
+ var version = "13.0.6";
18
18
 
19
19
  //#endregion
20
20
  //#region src/rest-api/modules/account-api.ts
@@ -344,8 +344,21 @@ var AccountApi = class {
344
344
  *
345
345
  * - The time between startTime and endTime cannot be longer than 7 days.
346
346
  *
347
- * - If fromId is set, the data with id > fromId will be returned.
348
- * Otherwise the latest data will be returned
347
+ * - If both startTime and endTime are omitted, the most recent 7 days are
348
+ * queried (endTime defaults to the current time, and startTime to the
349
+ * current time minus 7 days).
350
+ *
351
+ * - If startTime is provided without endTime, endTime defaults to
352
+ * startTime plus 7 days.
353
+ *
354
+ * - If endTime is provided without startTime, startTime defaults to
355
+ * endTime minus 7 days.
356
+ *
357
+ * - If fromId is set, the data with id > fromId within the queried time
358
+ * range will be returned. Otherwise the latest data within that range will
359
+ * be returned. fromId does not extend the time range; to retrieve older
360
+ * records, move startTime and endTime backwards in windows of up to 7
361
+ * days.
349
362
  *
350
363
  * - To query isolated data, Symbol needs to be entered.
351
364
  *
@@ -2390,8 +2403,15 @@ var TradeApi = class {
2390
2403
  *
2391
2404
  * Notes:
2392
2405
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
2393
- * - Depending on the `pendingType` or `workingType`, some optional
2394
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
2406
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
2407
+ *
2408
+ * | Type | Additional mandatory parameters | Additional information |
2409
+ * | --- | --- | --- |
2410
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
2411
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
2412
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
2413
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
2414
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
2395
2415
  *
2396
2416
  * @summary Margin Account New OTO (TRADE)
2397
2417
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.
@@ -3461,8 +3481,21 @@ var RestAPI = class {
3461
3481
  *
3462
3482
  * - The time between startTime and endTime cannot be longer than 7 days.
3463
3483
  *
3464
- * - If fromId is set, the data with id > fromId will be returned.
3465
- * Otherwise the latest data will be returned
3484
+ * - If both startTime and endTime are omitted, the most recent 7 days are
3485
+ * queried (endTime defaults to the current time, and startTime to the
3486
+ * current time minus 7 days).
3487
+ *
3488
+ * - If startTime is provided without endTime, endTime defaults to
3489
+ * startTime plus 7 days.
3490
+ *
3491
+ * - If endTime is provided without startTime, startTime defaults to
3492
+ * endTime minus 7 days.
3493
+ *
3494
+ * - If fromId is set, the data with id > fromId within the queried time
3495
+ * range will be returned. Otherwise the latest data within that range will
3496
+ * be returned. fromId does not extend the time range; to retrieve older
3497
+ * records, move startTime and endTime backwards in windows of up to 7
3498
+ * days.
3466
3499
  *
3467
3500
  * - To query isolated data, Symbol needs to be entered.
3468
3501
  *
@@ -4306,8 +4339,15 @@ var RestAPI = class {
4306
4339
  *
4307
4340
  * Notes:
4308
4341
  * - autoRepayAtCancel is suggested to set as “FALSE” to keep liability unrepaid under high frequent new order/cancel order execution
4309
- * - Depending on the `pendingType` or `workingType`, some optional
4310
- * - parameters will become mandatory: | Type | Additional mandatory parameters | Additional information | | -------------------------------------------------------- | ------------------------------------------------------------ | ---------------------- | | `workingType` = `LIMIT` | `workingTimeInForce` | | | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | | | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | | | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | | | `pendingTrailingDelta` is provided | `pendingPrice` | |
4342
+ * - Depending on the `pendingType` or `workingType`, some optional parameters will become mandatory:
4343
+ *
4344
+ * | Type | Additional mandatory parameters | Additional information |
4345
+ * | --- | --- | --- |
4346
+ * | `workingType` = `LIMIT` | `workingTimeInForce` | |
4347
+ * | `pendingType` = `LIMIT` | `pendingPrice`, `pendingTimeInForce` | |
4348
+ * | `pendingType` = `STOP_LOSS` or `TAKE_PROFIT` | `pendingStopPrice` and/or `pendingTrailingDelta` | |
4349
+ * | `pendingType` = `STOP_LOSS_LIMIT` or `TAKE_PROFIT_LIMIT` | `pendingPrice`, `pendingStopPrice` and/or `pendingTrailingDelta`, `pendingTimeInForce` | |
4350
+ * | `pendingTrailingDelta` is provided | `pendingPrice` | |
4311
4351
  *
4312
4352
  * @summary Margin Account New OTO (TRADE)
4313
4353
  * @param {MarginAccountNewOtoRequest} requestParameters Request parameters.