@binance/dual-investment 3.0.8 → 4.0.1
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 +57 -52
- package/dist/index.d.ts +57 -52
- package/dist/index.js +15 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -115,16 +115,16 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
115
115
|
strikePrice?: string;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
|
-
* @type {number}
|
|
118
|
+
* @type {number | bigint}
|
|
119
119
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
120
120
|
*/
|
|
121
|
-
duration?: number;
|
|
121
|
+
duration?: number | bigint;
|
|
122
122
|
/**
|
|
123
123
|
*
|
|
124
|
-
* @type {number}
|
|
124
|
+
* @type {number | bigint}
|
|
125
125
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
126
126
|
*/
|
|
127
|
-
settleDate?: number;
|
|
127
|
+
settleDate?: number | bigint;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
130
|
* @type {string}
|
|
@@ -139,16 +139,16 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
139
139
|
apr?: string;
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
|
-
* @type {number}
|
|
142
|
+
* @type {number | bigint}
|
|
143
143
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
144
144
|
*/
|
|
145
|
-
orderId?: number;
|
|
145
|
+
orderId?: number | bigint;
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
|
-
* @type {number}
|
|
148
|
+
* @type {number | bigint}
|
|
149
149
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
150
150
|
*/
|
|
151
|
-
purchaseEndTime?: number;
|
|
151
|
+
purchaseEndTime?: number | bigint;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @type {string}
|
|
@@ -184,10 +184,10 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
184
184
|
interface GetDualInvestmentPositionsResponse {
|
|
185
185
|
/**
|
|
186
186
|
*
|
|
187
|
-
* @type {number}
|
|
187
|
+
* @type {number | bigint}
|
|
188
188
|
* @memberof GetDualInvestmentPositionsResponse
|
|
189
189
|
*/
|
|
190
|
-
total?: number;
|
|
190
|
+
total?: number | bigint;
|
|
191
191
|
/**
|
|
192
192
|
*
|
|
193
193
|
* @type {Array<GetDualInvestmentPositionsResponseListInner>}
|
|
@@ -240,28 +240,28 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
240
240
|
strikePrice?: string;
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
|
-
* @type {number}
|
|
243
|
+
* @type {number | bigint}
|
|
244
244
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
245
245
|
*/
|
|
246
|
-
duration?: number;
|
|
246
|
+
duration?: number | bigint;
|
|
247
247
|
/**
|
|
248
248
|
*
|
|
249
|
-
* @type {number}
|
|
249
|
+
* @type {number | bigint}
|
|
250
250
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
251
251
|
*/
|
|
252
|
-
settleDate?: number;
|
|
252
|
+
settleDate?: number | bigint;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
|
-
* @type {number}
|
|
255
|
+
* @type {number | bigint}
|
|
256
256
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
257
257
|
*/
|
|
258
|
-
purchaseDecimal?: number;
|
|
258
|
+
purchaseDecimal?: number | bigint;
|
|
259
259
|
/**
|
|
260
260
|
*
|
|
261
|
-
* @type {number}
|
|
261
|
+
* @type {number | bigint}
|
|
262
262
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
263
263
|
*/
|
|
264
|
-
purchaseEndTime?: number;
|
|
264
|
+
purchaseEndTime?: number | bigint;
|
|
265
265
|
/**
|
|
266
266
|
*
|
|
267
267
|
* @type {boolean}
|
|
@@ -276,10 +276,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
276
276
|
apr?: string;
|
|
277
277
|
/**
|
|
278
278
|
*
|
|
279
|
-
* @type {number}
|
|
279
|
+
* @type {number | bigint}
|
|
280
280
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
281
281
|
*/
|
|
282
|
-
orderId?: number;
|
|
282
|
+
orderId?: number | bigint;
|
|
283
283
|
/**
|
|
284
284
|
*
|
|
285
285
|
* @type {string}
|
|
@@ -294,10 +294,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
294
294
|
maxAmount?: string;
|
|
295
295
|
/**
|
|
296
296
|
*
|
|
297
|
-
* @type {number}
|
|
297
|
+
* @type {number | bigint}
|
|
298
298
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
299
299
|
*/
|
|
300
|
-
createTimestamp?: number;
|
|
300
|
+
createTimestamp?: number | bigint;
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
303
303
|
* @type {string}
|
|
@@ -339,10 +339,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
339
339
|
interface GetDualInvestmentProductListResponse {
|
|
340
340
|
/**
|
|
341
341
|
*
|
|
342
|
-
* @type {number}
|
|
342
|
+
* @type {number | bigint}
|
|
343
343
|
* @memberof GetDualInvestmentProductListResponse
|
|
344
344
|
*/
|
|
345
|
-
total?: number;
|
|
345
|
+
total?: number | bigint;
|
|
346
346
|
/**
|
|
347
347
|
*
|
|
348
348
|
* @type {Array<GetDualInvestmentProductListResponseListInner>}
|
|
@@ -371,10 +371,10 @@ interface GetDualInvestmentProductListResponse {
|
|
|
371
371
|
interface SubscribeDualInvestmentProductsResponse {
|
|
372
372
|
/**
|
|
373
373
|
*
|
|
374
|
-
* @type {number}
|
|
374
|
+
* @type {number | bigint}
|
|
375
375
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
376
376
|
*/
|
|
377
|
-
positionId?: number;
|
|
377
|
+
positionId?: number | bigint;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
380
|
* @type {string}
|
|
@@ -395,10 +395,10 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
395
395
|
subscriptionAmount?: string;
|
|
396
396
|
/**
|
|
397
397
|
*
|
|
398
|
-
* @type {number}
|
|
398
|
+
* @type {number | bigint}
|
|
399
399
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
400
400
|
*/
|
|
401
|
-
duration?: number;
|
|
401
|
+
duration?: number | bigint;
|
|
402
402
|
/**
|
|
403
403
|
*
|
|
404
404
|
* @type {string}
|
|
@@ -413,10 +413,10 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
413
413
|
strikePrice?: string;
|
|
414
414
|
/**
|
|
415
415
|
*
|
|
416
|
-
* @type {number}
|
|
416
|
+
* @type {number | bigint}
|
|
417
417
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
418
418
|
*/
|
|
419
|
-
settleDate?: number;
|
|
419
|
+
settleDate?: number | bigint;
|
|
420
420
|
/**
|
|
421
421
|
*
|
|
422
422
|
* @type {string}
|
|
@@ -431,16 +431,16 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
431
431
|
apr?: string;
|
|
432
432
|
/**
|
|
433
433
|
*
|
|
434
|
-
* @type {number}
|
|
434
|
+
* @type {number | bigint}
|
|
435
435
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
436
436
|
*/
|
|
437
|
-
orderId?: number;
|
|
437
|
+
orderId?: number | bigint;
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
440
|
-
* @type {number}
|
|
440
|
+
* @type {number | bigint}
|
|
441
441
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
442
442
|
*/
|
|
443
|
-
purchaseTime?: number;
|
|
443
|
+
purchaseTime?: number | bigint;
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
446
446
|
* @type {string}
|
|
@@ -505,22 +505,22 @@ interface GetDualInvestmentProductListRequest {
|
|
|
505
505
|
readonly investCoin: string;
|
|
506
506
|
/**
|
|
507
507
|
* Default: 10, Maximum: 100
|
|
508
|
-
* @type {number}
|
|
508
|
+
* @type {number | bigint}
|
|
509
509
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
510
510
|
*/
|
|
511
|
-
readonly pageSize?: number;
|
|
511
|
+
readonly pageSize?: number | bigint;
|
|
512
512
|
/**
|
|
513
513
|
* Default: 1
|
|
514
|
-
* @type {number}
|
|
514
|
+
* @type {number | bigint}
|
|
515
515
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
516
516
|
*/
|
|
517
|
-
readonly pageIndex?: number;
|
|
517
|
+
readonly pageIndex?: number | bigint;
|
|
518
518
|
/**
|
|
519
519
|
* The value cannot be greater than 60000
|
|
520
|
-
* @type {number}
|
|
520
|
+
* @type {number | bigint}
|
|
521
521
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
522
522
|
*/
|
|
523
|
-
readonly recvWindow?: number;
|
|
523
|
+
readonly recvWindow?: number | bigint;
|
|
524
524
|
}
|
|
525
525
|
/**
|
|
526
526
|
* MarketDataApi - object-oriented interface
|
|
@@ -634,10 +634,10 @@ interface ChangeAutoCompoundStatusRequest {
|
|
|
634
634
|
readonly autoCompoundPlan?: string;
|
|
635
635
|
/**
|
|
636
636
|
* The value cannot be greater than 60000
|
|
637
|
-
* @type {number}
|
|
637
|
+
* @type {number | bigint}
|
|
638
638
|
* @memberof TradeApiChangeAutoCompoundStatus
|
|
639
639
|
*/
|
|
640
|
-
readonly recvWindow?: number;
|
|
640
|
+
readonly recvWindow?: number | bigint;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
* Request parameters for checkDualInvestmentAccounts operation in TradeApi.
|
|
@@ -646,10 +646,10 @@ interface ChangeAutoCompoundStatusRequest {
|
|
|
646
646
|
interface CheckDualInvestmentAccountsRequest {
|
|
647
647
|
/**
|
|
648
648
|
* The value cannot be greater than 60000
|
|
649
|
-
* @type {number}
|
|
649
|
+
* @type {number | bigint}
|
|
650
650
|
* @memberof TradeApiCheckDualInvestmentAccounts
|
|
651
651
|
*/
|
|
652
|
-
readonly recvWindow?: number;
|
|
652
|
+
readonly recvWindow?: number | bigint;
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* Request parameters for getDualInvestmentPositions operation in TradeApi.
|
|
@@ -664,22 +664,22 @@ interface GetDualInvestmentPositionsRequest {
|
|
|
664
664
|
readonly status?: string;
|
|
665
665
|
/**
|
|
666
666
|
* Default: 10, Maximum: 100
|
|
667
|
-
* @type {number}
|
|
667
|
+
* @type {number | bigint}
|
|
668
668
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
669
669
|
*/
|
|
670
|
-
readonly pageSize?: number;
|
|
670
|
+
readonly pageSize?: number | bigint;
|
|
671
671
|
/**
|
|
672
672
|
* Default: 1
|
|
673
|
-
* @type {number}
|
|
673
|
+
* @type {number | bigint}
|
|
674
674
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
675
675
|
*/
|
|
676
|
-
readonly pageIndex?: number;
|
|
676
|
+
readonly pageIndex?: number | bigint;
|
|
677
677
|
/**
|
|
678
678
|
* The value cannot be greater than 60000
|
|
679
|
-
* @type {number}
|
|
679
|
+
* @type {number | bigint}
|
|
680
680
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
681
681
|
*/
|
|
682
|
-
readonly recvWindow?: number;
|
|
682
|
+
readonly recvWindow?: number | bigint;
|
|
683
683
|
}
|
|
684
684
|
/**
|
|
685
685
|
* Request parameters for subscribeDualInvestmentProducts operation in TradeApi.
|
|
@@ -712,10 +712,10 @@ interface SubscribeDualInvestmentProductsRequest {
|
|
|
712
712
|
readonly autoCompoundPlan: string;
|
|
713
713
|
/**
|
|
714
714
|
* The value cannot be greater than 60000
|
|
715
|
-
* @type {number}
|
|
715
|
+
* @type {number | bigint}
|
|
716
716
|
* @memberof TradeApiSubscribeDualInvestmentProducts
|
|
717
717
|
*/
|
|
718
|
-
readonly recvWindow?: number;
|
|
718
|
+
readonly recvWindow?: number | bigint;
|
|
719
719
|
}
|
|
720
720
|
/**
|
|
721
721
|
* TradeApi - object-oriented interface
|
|
@@ -825,6 +825,7 @@ declare class RestAPI {
|
|
|
825
825
|
*
|
|
826
826
|
* @summary Get Dual Investment product list
|
|
827
827
|
* @param {GetDualInvestmentProductListRequest} requestParameters Request parameters.
|
|
828
|
+
*
|
|
828
829
|
* @returns {Promise<RestApiResponse<GetDualInvestmentProductListResponse>>}
|
|
829
830
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
830
831
|
* @see {@link https://developers.binance.com/docs/dual_investment/market-data/Get-Dual-Investment-product-list Binance API Documentation}
|
|
@@ -837,6 +838,7 @@ declare class RestAPI {
|
|
|
837
838
|
*
|
|
838
839
|
* @summary Change Auto-Compound status(USER_DATA)
|
|
839
840
|
* @param {ChangeAutoCompoundStatusRequest} requestParameters Request parameters.
|
|
841
|
+
*
|
|
840
842
|
* @returns {Promise<RestApiResponse<ChangeAutoCompoundStatusResponse>>}
|
|
841
843
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
842
844
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Change-Auto-Compound-status Binance API Documentation}
|
|
@@ -849,6 +851,7 @@ declare class RestAPI {
|
|
|
849
851
|
*
|
|
850
852
|
* @summary Check Dual Investment accounts(USER_DATA)
|
|
851
853
|
* @param {CheckDualInvestmentAccountsRequest} requestParameters Request parameters.
|
|
854
|
+
*
|
|
852
855
|
* @returns {Promise<RestApiResponse<CheckDualInvestmentAccountsResponse>>}
|
|
853
856
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
854
857
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Check-Dual-Investment-accounts Binance API Documentation}
|
|
@@ -861,6 +864,7 @@ declare class RestAPI {
|
|
|
861
864
|
*
|
|
862
865
|
* @summary Get Dual Investment positions(USER_DATA)
|
|
863
866
|
* @param {GetDualInvestmentPositionsRequest} requestParameters Request parameters.
|
|
867
|
+
*
|
|
864
868
|
* @returns {Promise<RestApiResponse<GetDualInvestmentPositionsResponse>>}
|
|
865
869
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
866
870
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Get-Dual-Investment-positions Binance API Documentation}
|
|
@@ -876,6 +880,7 @@ declare class RestAPI {
|
|
|
876
880
|
*
|
|
877
881
|
* @summary Subscribe Dual Investment products(USER_DATA)
|
|
878
882
|
* @param {SubscribeDualInvestmentProductsRequest} requestParameters Request parameters.
|
|
883
|
+
*
|
|
879
884
|
* @returns {Promise<RestApiResponse<SubscribeDualInvestmentProductsResponse>>}
|
|
880
885
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
881
886
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Subscribe-Dual-Investment-products Binance API Documentation}
|
package/dist/index.d.ts
CHANGED
|
@@ -115,16 +115,16 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
115
115
|
strikePrice?: string;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
|
-
* @type {number}
|
|
118
|
+
* @type {number | bigint}
|
|
119
119
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
120
120
|
*/
|
|
121
|
-
duration?: number;
|
|
121
|
+
duration?: number | bigint;
|
|
122
122
|
/**
|
|
123
123
|
*
|
|
124
|
-
* @type {number}
|
|
124
|
+
* @type {number | bigint}
|
|
125
125
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
126
126
|
*/
|
|
127
|
-
settleDate?: number;
|
|
127
|
+
settleDate?: number | bigint;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
130
|
* @type {string}
|
|
@@ -139,16 +139,16 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
139
139
|
apr?: string;
|
|
140
140
|
/**
|
|
141
141
|
*
|
|
142
|
-
* @type {number}
|
|
142
|
+
* @type {number | bigint}
|
|
143
143
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
144
144
|
*/
|
|
145
|
-
orderId?: number;
|
|
145
|
+
orderId?: number | bigint;
|
|
146
146
|
/**
|
|
147
147
|
*
|
|
148
|
-
* @type {number}
|
|
148
|
+
* @type {number | bigint}
|
|
149
149
|
* @memberof GetDualInvestmentPositionsResponseListInner
|
|
150
150
|
*/
|
|
151
|
-
purchaseEndTime?: number;
|
|
151
|
+
purchaseEndTime?: number | bigint;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @type {string}
|
|
@@ -184,10 +184,10 @@ interface GetDualInvestmentPositionsResponseListInner {
|
|
|
184
184
|
interface GetDualInvestmentPositionsResponse {
|
|
185
185
|
/**
|
|
186
186
|
*
|
|
187
|
-
* @type {number}
|
|
187
|
+
* @type {number | bigint}
|
|
188
188
|
* @memberof GetDualInvestmentPositionsResponse
|
|
189
189
|
*/
|
|
190
|
-
total?: number;
|
|
190
|
+
total?: number | bigint;
|
|
191
191
|
/**
|
|
192
192
|
*
|
|
193
193
|
* @type {Array<GetDualInvestmentPositionsResponseListInner>}
|
|
@@ -240,28 +240,28 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
240
240
|
strikePrice?: string;
|
|
241
241
|
/**
|
|
242
242
|
*
|
|
243
|
-
* @type {number}
|
|
243
|
+
* @type {number | bigint}
|
|
244
244
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
245
245
|
*/
|
|
246
|
-
duration?: number;
|
|
246
|
+
duration?: number | bigint;
|
|
247
247
|
/**
|
|
248
248
|
*
|
|
249
|
-
* @type {number}
|
|
249
|
+
* @type {number | bigint}
|
|
250
250
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
251
251
|
*/
|
|
252
|
-
settleDate?: number;
|
|
252
|
+
settleDate?: number | bigint;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
|
-
* @type {number}
|
|
255
|
+
* @type {number | bigint}
|
|
256
256
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
257
257
|
*/
|
|
258
|
-
purchaseDecimal?: number;
|
|
258
|
+
purchaseDecimal?: number | bigint;
|
|
259
259
|
/**
|
|
260
260
|
*
|
|
261
|
-
* @type {number}
|
|
261
|
+
* @type {number | bigint}
|
|
262
262
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
263
263
|
*/
|
|
264
|
-
purchaseEndTime?: number;
|
|
264
|
+
purchaseEndTime?: number | bigint;
|
|
265
265
|
/**
|
|
266
266
|
*
|
|
267
267
|
* @type {boolean}
|
|
@@ -276,10 +276,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
276
276
|
apr?: string;
|
|
277
277
|
/**
|
|
278
278
|
*
|
|
279
|
-
* @type {number}
|
|
279
|
+
* @type {number | bigint}
|
|
280
280
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
281
281
|
*/
|
|
282
|
-
orderId?: number;
|
|
282
|
+
orderId?: number | bigint;
|
|
283
283
|
/**
|
|
284
284
|
*
|
|
285
285
|
* @type {string}
|
|
@@ -294,10 +294,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
294
294
|
maxAmount?: string;
|
|
295
295
|
/**
|
|
296
296
|
*
|
|
297
|
-
* @type {number}
|
|
297
|
+
* @type {number | bigint}
|
|
298
298
|
* @memberof GetDualInvestmentProductListResponseListInner
|
|
299
299
|
*/
|
|
300
|
-
createTimestamp?: number;
|
|
300
|
+
createTimestamp?: number | bigint;
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
303
303
|
* @type {string}
|
|
@@ -339,10 +339,10 @@ interface GetDualInvestmentProductListResponseListInner {
|
|
|
339
339
|
interface GetDualInvestmentProductListResponse {
|
|
340
340
|
/**
|
|
341
341
|
*
|
|
342
|
-
* @type {number}
|
|
342
|
+
* @type {number | bigint}
|
|
343
343
|
* @memberof GetDualInvestmentProductListResponse
|
|
344
344
|
*/
|
|
345
|
-
total?: number;
|
|
345
|
+
total?: number | bigint;
|
|
346
346
|
/**
|
|
347
347
|
*
|
|
348
348
|
* @type {Array<GetDualInvestmentProductListResponseListInner>}
|
|
@@ -371,10 +371,10 @@ interface GetDualInvestmentProductListResponse {
|
|
|
371
371
|
interface SubscribeDualInvestmentProductsResponse {
|
|
372
372
|
/**
|
|
373
373
|
*
|
|
374
|
-
* @type {number}
|
|
374
|
+
* @type {number | bigint}
|
|
375
375
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
376
376
|
*/
|
|
377
|
-
positionId?: number;
|
|
377
|
+
positionId?: number | bigint;
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
380
|
* @type {string}
|
|
@@ -395,10 +395,10 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
395
395
|
subscriptionAmount?: string;
|
|
396
396
|
/**
|
|
397
397
|
*
|
|
398
|
-
* @type {number}
|
|
398
|
+
* @type {number | bigint}
|
|
399
399
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
400
400
|
*/
|
|
401
|
-
duration?: number;
|
|
401
|
+
duration?: number | bigint;
|
|
402
402
|
/**
|
|
403
403
|
*
|
|
404
404
|
* @type {string}
|
|
@@ -413,10 +413,10 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
413
413
|
strikePrice?: string;
|
|
414
414
|
/**
|
|
415
415
|
*
|
|
416
|
-
* @type {number}
|
|
416
|
+
* @type {number | bigint}
|
|
417
417
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
418
418
|
*/
|
|
419
|
-
settleDate?: number;
|
|
419
|
+
settleDate?: number | bigint;
|
|
420
420
|
/**
|
|
421
421
|
*
|
|
422
422
|
* @type {string}
|
|
@@ -431,16 +431,16 @@ interface SubscribeDualInvestmentProductsResponse {
|
|
|
431
431
|
apr?: string;
|
|
432
432
|
/**
|
|
433
433
|
*
|
|
434
|
-
* @type {number}
|
|
434
|
+
* @type {number | bigint}
|
|
435
435
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
436
436
|
*/
|
|
437
|
-
orderId?: number;
|
|
437
|
+
orderId?: number | bigint;
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
440
|
-
* @type {number}
|
|
440
|
+
* @type {number | bigint}
|
|
441
441
|
* @memberof SubscribeDualInvestmentProductsResponse
|
|
442
442
|
*/
|
|
443
|
-
purchaseTime?: number;
|
|
443
|
+
purchaseTime?: number | bigint;
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
446
446
|
* @type {string}
|
|
@@ -505,22 +505,22 @@ interface GetDualInvestmentProductListRequest {
|
|
|
505
505
|
readonly investCoin: string;
|
|
506
506
|
/**
|
|
507
507
|
* Default: 10, Maximum: 100
|
|
508
|
-
* @type {number}
|
|
508
|
+
* @type {number | bigint}
|
|
509
509
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
510
510
|
*/
|
|
511
|
-
readonly pageSize?: number;
|
|
511
|
+
readonly pageSize?: number | bigint;
|
|
512
512
|
/**
|
|
513
513
|
* Default: 1
|
|
514
|
-
* @type {number}
|
|
514
|
+
* @type {number | bigint}
|
|
515
515
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
516
516
|
*/
|
|
517
|
-
readonly pageIndex?: number;
|
|
517
|
+
readonly pageIndex?: number | bigint;
|
|
518
518
|
/**
|
|
519
519
|
* The value cannot be greater than 60000
|
|
520
|
-
* @type {number}
|
|
520
|
+
* @type {number | bigint}
|
|
521
521
|
* @memberof MarketDataApiGetDualInvestmentProductList
|
|
522
522
|
*/
|
|
523
|
-
readonly recvWindow?: number;
|
|
523
|
+
readonly recvWindow?: number | bigint;
|
|
524
524
|
}
|
|
525
525
|
/**
|
|
526
526
|
* MarketDataApi - object-oriented interface
|
|
@@ -634,10 +634,10 @@ interface ChangeAutoCompoundStatusRequest {
|
|
|
634
634
|
readonly autoCompoundPlan?: string;
|
|
635
635
|
/**
|
|
636
636
|
* The value cannot be greater than 60000
|
|
637
|
-
* @type {number}
|
|
637
|
+
* @type {number | bigint}
|
|
638
638
|
* @memberof TradeApiChangeAutoCompoundStatus
|
|
639
639
|
*/
|
|
640
|
-
readonly recvWindow?: number;
|
|
640
|
+
readonly recvWindow?: number | bigint;
|
|
641
641
|
}
|
|
642
642
|
/**
|
|
643
643
|
* Request parameters for checkDualInvestmentAccounts operation in TradeApi.
|
|
@@ -646,10 +646,10 @@ interface ChangeAutoCompoundStatusRequest {
|
|
|
646
646
|
interface CheckDualInvestmentAccountsRequest {
|
|
647
647
|
/**
|
|
648
648
|
* The value cannot be greater than 60000
|
|
649
|
-
* @type {number}
|
|
649
|
+
* @type {number | bigint}
|
|
650
650
|
* @memberof TradeApiCheckDualInvestmentAccounts
|
|
651
651
|
*/
|
|
652
|
-
readonly recvWindow?: number;
|
|
652
|
+
readonly recvWindow?: number | bigint;
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* Request parameters for getDualInvestmentPositions operation in TradeApi.
|
|
@@ -664,22 +664,22 @@ interface GetDualInvestmentPositionsRequest {
|
|
|
664
664
|
readonly status?: string;
|
|
665
665
|
/**
|
|
666
666
|
* Default: 10, Maximum: 100
|
|
667
|
-
* @type {number}
|
|
667
|
+
* @type {number | bigint}
|
|
668
668
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
669
669
|
*/
|
|
670
|
-
readonly pageSize?: number;
|
|
670
|
+
readonly pageSize?: number | bigint;
|
|
671
671
|
/**
|
|
672
672
|
* Default: 1
|
|
673
|
-
* @type {number}
|
|
673
|
+
* @type {number | bigint}
|
|
674
674
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
675
675
|
*/
|
|
676
|
-
readonly pageIndex?: number;
|
|
676
|
+
readonly pageIndex?: number | bigint;
|
|
677
677
|
/**
|
|
678
678
|
* The value cannot be greater than 60000
|
|
679
|
-
* @type {number}
|
|
679
|
+
* @type {number | bigint}
|
|
680
680
|
* @memberof TradeApiGetDualInvestmentPositions
|
|
681
681
|
*/
|
|
682
|
-
readonly recvWindow?: number;
|
|
682
|
+
readonly recvWindow?: number | bigint;
|
|
683
683
|
}
|
|
684
684
|
/**
|
|
685
685
|
* Request parameters for subscribeDualInvestmentProducts operation in TradeApi.
|
|
@@ -712,10 +712,10 @@ interface SubscribeDualInvestmentProductsRequest {
|
|
|
712
712
|
readonly autoCompoundPlan: string;
|
|
713
713
|
/**
|
|
714
714
|
* The value cannot be greater than 60000
|
|
715
|
-
* @type {number}
|
|
715
|
+
* @type {number | bigint}
|
|
716
716
|
* @memberof TradeApiSubscribeDualInvestmentProducts
|
|
717
717
|
*/
|
|
718
|
-
readonly recvWindow?: number;
|
|
718
|
+
readonly recvWindow?: number | bigint;
|
|
719
719
|
}
|
|
720
720
|
/**
|
|
721
721
|
* TradeApi - object-oriented interface
|
|
@@ -825,6 +825,7 @@ declare class RestAPI {
|
|
|
825
825
|
*
|
|
826
826
|
* @summary Get Dual Investment product list
|
|
827
827
|
* @param {GetDualInvestmentProductListRequest} requestParameters Request parameters.
|
|
828
|
+
*
|
|
828
829
|
* @returns {Promise<RestApiResponse<GetDualInvestmentProductListResponse>>}
|
|
829
830
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
830
831
|
* @see {@link https://developers.binance.com/docs/dual_investment/market-data/Get-Dual-Investment-product-list Binance API Documentation}
|
|
@@ -837,6 +838,7 @@ declare class RestAPI {
|
|
|
837
838
|
*
|
|
838
839
|
* @summary Change Auto-Compound status(USER_DATA)
|
|
839
840
|
* @param {ChangeAutoCompoundStatusRequest} requestParameters Request parameters.
|
|
841
|
+
*
|
|
840
842
|
* @returns {Promise<RestApiResponse<ChangeAutoCompoundStatusResponse>>}
|
|
841
843
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
842
844
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Change-Auto-Compound-status Binance API Documentation}
|
|
@@ -849,6 +851,7 @@ declare class RestAPI {
|
|
|
849
851
|
*
|
|
850
852
|
* @summary Check Dual Investment accounts(USER_DATA)
|
|
851
853
|
* @param {CheckDualInvestmentAccountsRequest} requestParameters Request parameters.
|
|
854
|
+
*
|
|
852
855
|
* @returns {Promise<RestApiResponse<CheckDualInvestmentAccountsResponse>>}
|
|
853
856
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
854
857
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Check-Dual-Investment-accounts Binance API Documentation}
|
|
@@ -861,6 +864,7 @@ declare class RestAPI {
|
|
|
861
864
|
*
|
|
862
865
|
* @summary Get Dual Investment positions(USER_DATA)
|
|
863
866
|
* @param {GetDualInvestmentPositionsRequest} requestParameters Request parameters.
|
|
867
|
+
*
|
|
864
868
|
* @returns {Promise<RestApiResponse<GetDualInvestmentPositionsResponse>>}
|
|
865
869
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
866
870
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Get-Dual-Investment-positions Binance API Documentation}
|
|
@@ -876,6 +880,7 @@ declare class RestAPI {
|
|
|
876
880
|
*
|
|
877
881
|
* @summary Subscribe Dual Investment products(USER_DATA)
|
|
878
882
|
* @param {SubscribeDualInvestmentProductsRequest} requestParameters Request parameters.
|
|
883
|
+
*
|
|
879
884
|
* @returns {Promise<RestApiResponse<SubscribeDualInvestmentProductsResponse>>}
|
|
880
885
|
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
881
886
|
* @see {@link https://developers.binance.com/docs/dual_investment/trade/Subscribe-Dual-Investment-products Binance API Documentation}
|