@binance/margin-trading 9.0.0 → 9.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 CHANGED
@@ -5480,10 +5480,10 @@ interface AccountApiInterface {
5480
5480
  interface AdjustCrossMarginMaxLeverageRequest {
5481
5481
  /**
5482
5482
  * Can only adjust 3 , 5 or 10,Example: maxLeverage = 5 or 3 for Cross Margin Classic; maxLeverage=10 for Cross Margin Pro 10x leverage or 20x if compliance allows.
5483
- * @type {number}
5483
+ * @type {number | bigint}
5484
5484
  * @memberof AccountApiAdjustCrossMarginMaxLeverage
5485
5485
  */
5486
- readonly maxLeverage: number;
5486
+ readonly maxLeverage: number | bigint;
5487
5487
  }
5488
5488
  /**
5489
5489
  * Request parameters for disableIsolatedMarginAccount operation in AccountApi.
@@ -5498,10 +5498,10 @@ interface DisableIsolatedMarginAccountRequest {
5498
5498
  readonly symbol: string;
5499
5499
  /**
5500
5500
  * No more than 60000
5501
- * @type {number}
5501
+ * @type {number | bigint}
5502
5502
  * @memberof AccountApiDisableIsolatedMarginAccount
5503
5503
  */
5504
- readonly recvWindow?: number;
5504
+ readonly recvWindow?: number | bigint;
5505
5505
  }
5506
5506
  /**
5507
5507
  * Request parameters for enableIsolatedMarginAccount operation in AccountApi.
@@ -5516,10 +5516,10 @@ interface EnableIsolatedMarginAccountRequest {
5516
5516
  readonly symbol: string;
5517
5517
  /**
5518
5518
  * No more than 60000
5519
- * @type {number}
5519
+ * @type {number | bigint}
5520
5520
  * @memberof AccountApiEnableIsolatedMarginAccount
5521
5521
  */
5522
- readonly recvWindow?: number;
5522
+ readonly recvWindow?: number | bigint;
5523
5523
  }
5524
5524
  /**
5525
5525
  * Request parameters for getBnbBurnStatus operation in AccountApi.
@@ -5528,10 +5528,10 @@ interface EnableIsolatedMarginAccountRequest {
5528
5528
  interface GetBnbBurnStatusRequest {
5529
5529
  /**
5530
5530
  * No more than 60000
5531
- * @type {number}
5531
+ * @type {number | bigint}
5532
5532
  * @memberof AccountApiGetBnbBurnStatus
5533
5533
  */
5534
- readonly recvWindow?: number;
5534
+ readonly recvWindow?: number | bigint;
5535
5535
  }
5536
5536
  /**
5537
5537
  * Request parameters for getSummaryOfMarginAccount operation in AccountApi.
@@ -5540,10 +5540,10 @@ interface GetBnbBurnStatusRequest {
5540
5540
  interface GetSummaryOfMarginAccountRequest {
5541
5541
  /**
5542
5542
  * No more than 60000
5543
- * @type {number}
5543
+ * @type {number | bigint}
5544
5544
  * @memberof AccountApiGetSummaryOfMarginAccount
5545
5545
  */
5546
- readonly recvWindow?: number;
5546
+ readonly recvWindow?: number | bigint;
5547
5547
  }
5548
5548
  /**
5549
5549
  * Request parameters for queryCrossIsolatedMarginCapitalFlow operation in AccountApi.
@@ -5570,34 +5570,34 @@ interface QueryCrossIsolatedMarginCapitalFlowRequest {
5570
5570
  readonly type?: string;
5571
5571
  /**
5572
5572
  * 只支持查询最近90天的数据
5573
- * @type {number}
5573
+ * @type {number | bigint}
5574
5574
  * @memberof AccountApiQueryCrossIsolatedMarginCapitalFlow
5575
5575
  */
5576
- readonly startTime?: number;
5576
+ readonly startTime?: number | bigint;
5577
5577
  /**
5578
5578
  *
5579
- * @type {number}
5579
+ * @type {number | bigint}
5580
5580
  * @memberof AccountApiQueryCrossIsolatedMarginCapitalFlow
5581
5581
  */
5582
- readonly endTime?: number;
5582
+ readonly endTime?: number | bigint;
5583
5583
  /**
5584
5584
  * 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
5585
- * @type {number}
5585
+ * @type {number | bigint}
5586
5586
  * @memberof AccountApiQueryCrossIsolatedMarginCapitalFlow
5587
5587
  */
5588
- readonly fromId?: number;
5588
+ readonly fromId?: number | bigint;
5589
5589
  /**
5590
5590
  * Default Value: 500; Max Value: 1000
5591
- * @type {number}
5591
+ * @type {number | bigint}
5592
5592
  * @memberof AccountApiQueryCrossIsolatedMarginCapitalFlow
5593
5593
  */
5594
- readonly limit?: number;
5594
+ readonly limit?: number | bigint;
5595
5595
  /**
5596
5596
  * No more than 60000
5597
- * @type {number}
5597
+ * @type {number | bigint}
5598
5598
  * @memberof AccountApiQueryCrossIsolatedMarginCapitalFlow
5599
5599
  */
5600
- readonly recvWindow?: number;
5600
+ readonly recvWindow?: number | bigint;
5601
5601
  }
5602
5602
  /**
5603
5603
  * Request parameters for queryCrossMarginAccountDetails operation in AccountApi.
@@ -5606,10 +5606,10 @@ interface QueryCrossIsolatedMarginCapitalFlowRequest {
5606
5606
  interface QueryCrossMarginAccountDetailsRequest {
5607
5607
  /**
5608
5608
  * No more than 60000
5609
- * @type {number}
5609
+ * @type {number | bigint}
5610
5610
  * @memberof AccountApiQueryCrossMarginAccountDetails
5611
5611
  */
5612
- readonly recvWindow?: number;
5612
+ readonly recvWindow?: number | bigint;
5613
5613
  }
5614
5614
  /**
5615
5615
  * Request parameters for queryCrossMarginFeeData operation in AccountApi.
@@ -5618,10 +5618,10 @@ interface QueryCrossMarginAccountDetailsRequest {
5618
5618
  interface QueryCrossMarginFeeDataRequest {
5619
5619
  /**
5620
5620
  * User's current specific margin data will be returned if vipLevel is omitted
5621
- * @type {number}
5621
+ * @type {number | bigint}
5622
5622
  * @memberof AccountApiQueryCrossMarginFeeData
5623
5623
  */
5624
- readonly vipLevel?: number;
5624
+ readonly vipLevel?: number | bigint;
5625
5625
  /**
5626
5626
  *
5627
5627
  * @type {string}
@@ -5630,10 +5630,10 @@ interface QueryCrossMarginFeeDataRequest {
5630
5630
  readonly coin?: string;
5631
5631
  /**
5632
5632
  * No more than 60000
5633
- * @type {number}
5633
+ * @type {number | bigint}
5634
5634
  * @memberof AccountApiQueryCrossMarginFeeData
5635
5635
  */
5636
- readonly recvWindow?: number;
5636
+ readonly recvWindow?: number | bigint;
5637
5637
  }
5638
5638
  /**
5639
5639
  * Request parameters for queryEnabledIsolatedMarginAccountLimit operation in AccountApi.
@@ -5642,10 +5642,10 @@ interface QueryCrossMarginFeeDataRequest {
5642
5642
  interface QueryEnabledIsolatedMarginAccountLimitRequest {
5643
5643
  /**
5644
5644
  * No more than 60000
5645
- * @type {number}
5645
+ * @type {number | bigint}
5646
5646
  * @memberof AccountApiQueryEnabledIsolatedMarginAccountLimit
5647
5647
  */
5648
- readonly recvWindow?: number;
5648
+ readonly recvWindow?: number | bigint;
5649
5649
  }
5650
5650
  /**
5651
5651
  * Request parameters for queryIsolatedMarginAccountInfo operation in AccountApi.
@@ -5660,10 +5660,10 @@ interface QueryIsolatedMarginAccountInfoRequest {
5660
5660
  readonly symbols?: string;
5661
5661
  /**
5662
5662
  * No more than 60000
5663
- * @type {number}
5663
+ * @type {number | bigint}
5664
5664
  * @memberof AccountApiQueryIsolatedMarginAccountInfo
5665
5665
  */
5666
- readonly recvWindow?: number;
5666
+ readonly recvWindow?: number | bigint;
5667
5667
  }
5668
5668
  /**
5669
5669
  * Request parameters for queryIsolatedMarginFeeData operation in AccountApi.
@@ -5672,10 +5672,10 @@ interface QueryIsolatedMarginAccountInfoRequest {
5672
5672
  interface QueryIsolatedMarginFeeDataRequest {
5673
5673
  /**
5674
5674
  * User's current specific margin data will be returned if vipLevel is omitted
5675
- * @type {number}
5675
+ * @type {number | bigint}
5676
5676
  * @memberof AccountApiQueryIsolatedMarginFeeData
5677
5677
  */
5678
- readonly vipLevel?: number;
5678
+ readonly vipLevel?: number | bigint;
5679
5679
  /**
5680
5680
  * isolated margin pair
5681
5681
  * @type {string}
@@ -5684,10 +5684,10 @@ interface QueryIsolatedMarginFeeDataRequest {
5684
5684
  readonly symbol?: string;
5685
5685
  /**
5686
5686
  * No more than 60000
5687
- * @type {number}
5687
+ * @type {number | bigint}
5688
5688
  * @memberof AccountApiQueryIsolatedMarginFeeData
5689
5689
  */
5690
- readonly recvWindow?: number;
5690
+ readonly recvWindow?: number | bigint;
5691
5691
  }
5692
5692
  /**
5693
5693
  * AccountApi - object-oriented interface
@@ -5997,34 +5997,34 @@ interface GetInterestHistoryRequest {
5997
5997
  readonly isolatedSymbol?: string;
5998
5998
  /**
5999
5999
  * 只支持查询最近90天的数据
6000
- * @type {number}
6000
+ * @type {number | bigint}
6001
6001
  * @memberof BorrowRepayApiGetInterestHistory
6002
6002
  */
6003
- readonly startTime?: number;
6003
+ readonly startTime?: number | bigint;
6004
6004
  /**
6005
6005
  *
6006
- * @type {number}
6006
+ * @type {number | bigint}
6007
6007
  * @memberof BorrowRepayApiGetInterestHistory
6008
6008
  */
6009
- readonly endTime?: number;
6009
+ readonly endTime?: number | bigint;
6010
6010
  /**
6011
6011
  * Currently querying page. Start from 1. Default:1
6012
- * @type {number}
6012
+ * @type {number | bigint}
6013
6013
  * @memberof BorrowRepayApiGetInterestHistory
6014
6014
  */
6015
- readonly current?: number;
6015
+ readonly current?: number | bigint;
6016
6016
  /**
6017
6017
  * Default:10 Max:100
6018
- * @type {number}
6018
+ * @type {number | bigint}
6019
6019
  * @memberof BorrowRepayApiGetInterestHistory
6020
6020
  */
6021
- readonly size?: number;
6021
+ readonly size?: number | bigint;
6022
6022
  /**
6023
6023
  * No more than 60000
6024
- * @type {number}
6024
+ * @type {number | bigint}
6025
6025
  * @memberof BorrowRepayApiGetInterestHistory
6026
6026
  */
6027
- readonly recvWindow?: number;
6027
+ readonly recvWindow?: number | bigint;
6028
6028
  }
6029
6029
  /**
6030
6030
  * Request parameters for marginAccountBorrowRepay operation in BorrowRepayApi.
@@ -6063,10 +6063,10 @@ interface MarginAccountBorrowRepayRequest {
6063
6063
  readonly type: string;
6064
6064
  /**
6065
6065
  * No more than 60000
6066
- * @type {number}
6066
+ * @type {number | bigint}
6067
6067
  * @memberof BorrowRepayApiMarginAccountBorrowRepay
6068
6068
  */
6069
- readonly recvWindow?: number;
6069
+ readonly recvWindow?: number | bigint;
6070
6070
  }
6071
6071
  /**
6072
6072
  * Request parameters for queryBorrowRepayRecordsInMarginAccount operation in BorrowRepayApi.
@@ -6093,40 +6093,40 @@ interface QueryBorrowRepayRecordsInMarginAccountRequest {
6093
6093
  readonly isolatedSymbol?: string;
6094
6094
  /**
6095
6095
  * `tranId` in `POST /sapi/v1/margin/loan`
6096
- * @type {number}
6096
+ * @type {number | bigint}
6097
6097
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6098
6098
  */
6099
- readonly txId?: number;
6099
+ readonly txId?: number | bigint;
6100
6100
  /**
6101
6101
  * 只支持查询最近90天的数据
6102
- * @type {number}
6102
+ * @type {number | bigint}
6103
6103
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6104
6104
  */
6105
- readonly startTime?: number;
6105
+ readonly startTime?: number | bigint;
6106
6106
  /**
6107
6107
  *
6108
- * @type {number}
6108
+ * @type {number | bigint}
6109
6109
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6110
6110
  */
6111
- readonly endTime?: number;
6111
+ readonly endTime?: number | bigint;
6112
6112
  /**
6113
6113
  * Currently querying page. Start from 1. Default:1
6114
- * @type {number}
6114
+ * @type {number | bigint}
6115
6115
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6116
6116
  */
6117
- readonly current?: number;
6117
+ readonly current?: number | bigint;
6118
6118
  /**
6119
6119
  * Default:10 Max:100
6120
- * @type {number}
6120
+ * @type {number | bigint}
6121
6121
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6122
6122
  */
6123
- readonly size?: number;
6123
+ readonly size?: number | bigint;
6124
6124
  /**
6125
6125
  * No more than 60000
6126
- * @type {number}
6126
+ * @type {number | bigint}
6127
6127
  * @memberof BorrowRepayApiQueryBorrowRepayRecordsInMarginAccount
6128
6128
  */
6129
- readonly recvWindow?: number;
6129
+ readonly recvWindow?: number | bigint;
6130
6130
  }
6131
6131
  /**
6132
6132
  * Request parameters for queryMarginInterestRateHistory operation in BorrowRepayApi.
@@ -6141,28 +6141,28 @@ interface QueryMarginInterestRateHistoryRequest {
6141
6141
  readonly asset: string;
6142
6142
  /**
6143
6143
  * User's current specific margin data will be returned if vipLevel is omitted
6144
- * @type {number}
6144
+ * @type {number | bigint}
6145
6145
  * @memberof BorrowRepayApiQueryMarginInterestRateHistory
6146
6146
  */
6147
- readonly vipLevel?: number;
6147
+ readonly vipLevel?: number | bigint;
6148
6148
  /**
6149
6149
  * 只支持查询最近90天的数据
6150
- * @type {number}
6150
+ * @type {number | bigint}
6151
6151
  * @memberof BorrowRepayApiQueryMarginInterestRateHistory
6152
6152
  */
6153
- readonly startTime?: number;
6153
+ readonly startTime?: number | bigint;
6154
6154
  /**
6155
6155
  *
6156
- * @type {number}
6156
+ * @type {number | bigint}
6157
6157
  * @memberof BorrowRepayApiQueryMarginInterestRateHistory
6158
6158
  */
6159
- readonly endTime?: number;
6159
+ readonly endTime?: number | bigint;
6160
6160
  /**
6161
6161
  * No more than 60000
6162
- * @type {number}
6162
+ * @type {number | bigint}
6163
6163
  * @memberof BorrowRepayApiQueryMarginInterestRateHistory
6164
6164
  */
6165
- readonly recvWindow?: number;
6165
+ readonly recvWindow?: number | bigint;
6166
6166
  }
6167
6167
  /**
6168
6168
  * Request parameters for queryMaxBorrow operation in BorrowRepayApi.
@@ -6183,10 +6183,10 @@ interface QueryMaxBorrowRequest {
6183
6183
  readonly isolatedSymbol?: string;
6184
6184
  /**
6185
6185
  * No more than 60000
6186
- * @type {number}
6186
+ * @type {number | bigint}
6187
6187
  * @memberof BorrowRepayApiQueryMaxBorrow
6188
6188
  */
6189
- readonly recvWindow?: number;
6189
+ readonly recvWindow?: number | bigint;
6190
6190
  }
6191
6191
  /**
6192
6192
  * BorrowRepayApi - object-oriented interface
@@ -6475,10 +6475,10 @@ interface GetAllIsolatedMarginSymbolRequest {
6475
6475
  readonly symbol?: string;
6476
6476
  /**
6477
6477
  * No more than 60000
6478
- * @type {number}
6478
+ * @type {number | bigint}
6479
6479
  * @memberof MarketDataApiGetAllIsolatedMarginSymbol
6480
6480
  */
6481
- readonly recvWindow?: number;
6481
+ readonly recvWindow?: number | bigint;
6482
6482
  }
6483
6483
  /**
6484
6484
  * Request parameters for getAllMarginAssets operation in MarketDataApi.
@@ -6499,10 +6499,10 @@ interface GetAllMarginAssetsRequest {
6499
6499
  interface GetDelistScheduleRequest {
6500
6500
  /**
6501
6501
  * No more than 60000
6502
- * @type {number}
6502
+ * @type {number | bigint}
6503
6503
  * @memberof MarketDataApiGetDelistSchedule
6504
6504
  */
6505
- readonly recvWindow?: number;
6505
+ readonly recvWindow?: number | bigint;
6506
6506
  }
6507
6507
  /**
6508
6508
  * Request parameters for getListSchedule operation in MarketDataApi.
@@ -6511,10 +6511,10 @@ interface GetDelistScheduleRequest {
6511
6511
  interface GetListScheduleRequest {
6512
6512
  /**
6513
6513
  * No more than 60000
6514
- * @type {number}
6514
+ * @type {number | bigint}
6515
6515
  * @memberof MarketDataApiGetListSchedule
6516
6516
  */
6517
- readonly recvWindow?: number;
6517
+ readonly recvWindow?: number | bigint;
6518
6518
  }
6519
6519
  /**
6520
6520
  * Request parameters for queryIsolatedMarginTierData operation in MarketDataApi.
@@ -6529,16 +6529,16 @@ interface QueryIsolatedMarginTierDataRequest {
6529
6529
  readonly symbol: string;
6530
6530
  /**
6531
6531
  * All margin tier data will be returned if tier is omitted
6532
- * @type {number}
6532
+ * @type {number | bigint}
6533
6533
  * @memberof MarketDataApiQueryIsolatedMarginTierData
6534
6534
  */
6535
- readonly tier?: number;
6535
+ readonly tier?: number | bigint;
6536
6536
  /**
6537
6537
  * No more than 60000
6538
- * @type {number}
6538
+ * @type {number | bigint}
6539
6539
  * @memberof MarketDataApiQueryIsolatedMarginTierData
6540
6540
  */
6541
- readonly recvWindow?: number;
6541
+ readonly recvWindow?: number | bigint;
6542
6542
  }
6543
6543
  /**
6544
6544
  * Request parameters for queryMarginAvailableInventory operation in MarketDataApi.
@@ -7267,10 +7267,10 @@ interface CreateSpecialKeyRequest {
7267
7267
  readonly permissionMode?: string;
7268
7268
  /**
7269
7269
  * No more than 60000
7270
- * @type {number}
7270
+ * @type {number | bigint}
7271
7271
  * @memberof TradeApiCreateSpecialKey
7272
7272
  */
7273
- readonly recvWindow?: number;
7273
+ readonly recvWindow?: number | bigint;
7274
7274
  }
7275
7275
  /**
7276
7276
  * Request parameters for deleteSpecialKey operation in TradeApi.
@@ -7291,10 +7291,10 @@ interface DeleteSpecialKeyRequest {
7291
7291
  readonly symbol?: string;
7292
7292
  /**
7293
7293
  * No more than 60000
7294
- * @type {number}
7294
+ * @type {number | bigint}
7295
7295
  * @memberof TradeApiDeleteSpecialKey
7296
7296
  */
7297
- readonly recvWindow?: number;
7297
+ readonly recvWindow?: number | bigint;
7298
7298
  }
7299
7299
  /**
7300
7300
  * Request parameters for editIpForSpecialKey operation in TradeApi.
@@ -7315,10 +7315,10 @@ interface EditIpForSpecialKeyRequest {
7315
7315
  readonly symbol?: string;
7316
7316
  /**
7317
7317
  * No more than 60000
7318
- * @type {number}
7318
+ * @type {number | bigint}
7319
7319
  * @memberof TradeApiEditIpForSpecialKey
7320
7320
  */
7321
- readonly recvWindow?: number;
7321
+ readonly recvWindow?: number | bigint;
7322
7322
  }
7323
7323
  /**
7324
7324
  * Request parameters for getForceLiquidationRecord operation in TradeApi.
@@ -7327,16 +7327,16 @@ interface EditIpForSpecialKeyRequest {
7327
7327
  interface GetForceLiquidationRecordRequest {
7328
7328
  /**
7329
7329
  * 只支持查询最近90天的数据
7330
- * @type {number}
7330
+ * @type {number | bigint}
7331
7331
  * @memberof TradeApiGetForceLiquidationRecord
7332
7332
  */
7333
- readonly startTime?: number;
7333
+ readonly startTime?: number | bigint;
7334
7334
  /**
7335
7335
  *
7336
- * @type {number}
7336
+ * @type {number | bigint}
7337
7337
  * @memberof TradeApiGetForceLiquidationRecord
7338
7338
  */
7339
- readonly endTime?: number;
7339
+ readonly endTime?: number | bigint;
7340
7340
  /**
7341
7341
  * isolated symbol
7342
7342
  * @type {string}
@@ -7345,22 +7345,22 @@ interface GetForceLiquidationRecordRequest {
7345
7345
  readonly isolatedSymbol?: string;
7346
7346
  /**
7347
7347
  * Currently querying page. Start from 1. Default:1
7348
- * @type {number}
7348
+ * @type {number | bigint}
7349
7349
  * @memberof TradeApiGetForceLiquidationRecord
7350
7350
  */
7351
- readonly current?: number;
7351
+ readonly current?: number | bigint;
7352
7352
  /**
7353
7353
  * Default:10 Max:100
7354
- * @type {number}
7354
+ * @type {number | bigint}
7355
7355
  * @memberof TradeApiGetForceLiquidationRecord
7356
7356
  */
7357
- readonly size?: number;
7357
+ readonly size?: number | bigint;
7358
7358
  /**
7359
7359
  * No more than 60000
7360
- * @type {number}
7360
+ * @type {number | bigint}
7361
7361
  * @memberof TradeApiGetForceLiquidationRecord
7362
7362
  */
7363
- readonly recvWindow?: number;
7363
+ readonly recvWindow?: number | bigint;
7364
7364
  }
7365
7365
  /**
7366
7366
  * Request parameters for getSmallLiabilityExchangeCoinList operation in TradeApi.
@@ -7369,10 +7369,10 @@ interface GetForceLiquidationRecordRequest {
7369
7369
  interface GetSmallLiabilityExchangeCoinListRequest {
7370
7370
  /**
7371
7371
  * No more than 60000
7372
- * @type {number}
7372
+ * @type {number | bigint}
7373
7373
  * @memberof TradeApiGetSmallLiabilityExchangeCoinList
7374
7374
  */
7375
- readonly recvWindow?: number;
7375
+ readonly recvWindow?: number | bigint;
7376
7376
  }
7377
7377
  /**
7378
7378
  * Request parameters for getSmallLiabilityExchangeHistory operation in TradeApi.
@@ -7381,34 +7381,34 @@ interface GetSmallLiabilityExchangeCoinListRequest {
7381
7381
  interface GetSmallLiabilityExchangeHistoryRequest {
7382
7382
  /**
7383
7383
  * Currently querying page. Start from 1. Default:1
7384
- * @type {number}
7384
+ * @type {number | bigint}
7385
7385
  * @memberof TradeApiGetSmallLiabilityExchangeHistory
7386
7386
  */
7387
- readonly current: number;
7387
+ readonly current: number | bigint;
7388
7388
  /**
7389
7389
  * Default:10, Max:100
7390
- * @type {number}
7390
+ * @type {number | bigint}
7391
7391
  * @memberof TradeApiGetSmallLiabilityExchangeHistory
7392
7392
  */
7393
- readonly size: number;
7393
+ readonly size: number | bigint;
7394
7394
  /**
7395
7395
  * 只支持查询最近90天的数据
7396
- * @type {number}
7396
+ * @type {number | bigint}
7397
7397
  * @memberof TradeApiGetSmallLiabilityExchangeHistory
7398
7398
  */
7399
- readonly startTime?: number;
7399
+ readonly startTime?: number | bigint;
7400
7400
  /**
7401
7401
  *
7402
- * @type {number}
7402
+ * @type {number | bigint}
7403
7403
  * @memberof TradeApiGetSmallLiabilityExchangeHistory
7404
7404
  */
7405
- readonly endTime?: number;
7405
+ readonly endTime?: number | bigint;
7406
7406
  /**
7407
7407
  * No more than 60000
7408
- * @type {number}
7408
+ * @type {number | bigint}
7409
7409
  * @memberof TradeApiGetSmallLiabilityExchangeHistory
7410
7410
  */
7411
- readonly recvWindow?: number;
7411
+ readonly recvWindow?: number | bigint;
7412
7412
  }
7413
7413
  /**
7414
7414
  * Request parameters for marginAccountCancelAllOpenOrdersOnASymbol operation in TradeApi.
@@ -7429,10 +7429,10 @@ interface MarginAccountCancelAllOpenOrdersOnASymbolRequest {
7429
7429
  readonly isIsolated?: string;
7430
7430
  /**
7431
7431
  * No more than 60000
7432
- * @type {number}
7432
+ * @type {number | bigint}
7433
7433
  * @memberof TradeApiMarginAccountCancelAllOpenOrdersOnASymbol
7434
7434
  */
7435
- readonly recvWindow?: number;
7435
+ readonly recvWindow?: number | bigint;
7436
7436
  }
7437
7437
  /**
7438
7438
  * Request parameters for marginAccountCancelOco operation in TradeApi.
@@ -7453,10 +7453,10 @@ interface MarginAccountCancelOcoRequest {
7453
7453
  readonly isIsolated?: string;
7454
7454
  /**
7455
7455
  * Either `orderListId` or `listClientOrderId` must be provided
7456
- * @type {number}
7456
+ * @type {number | bigint}
7457
7457
  * @memberof TradeApiMarginAccountCancelOco
7458
7458
  */
7459
- readonly orderListId?: number;
7459
+ readonly orderListId?: number | bigint;
7460
7460
  /**
7461
7461
  * Either `orderListId` or `listClientOrderId` must be provided
7462
7462
  * @type {string}
@@ -7471,10 +7471,10 @@ interface MarginAccountCancelOcoRequest {
7471
7471
  readonly newClientOrderId?: string;
7472
7472
  /**
7473
7473
  * No more than 60000
7474
- * @type {number}
7474
+ * @type {number | bigint}
7475
7475
  * @memberof TradeApiMarginAccountCancelOco
7476
7476
  */
7477
- readonly recvWindow?: number;
7477
+ readonly recvWindow?: number | bigint;
7478
7478
  }
7479
7479
  /**
7480
7480
  * Request parameters for marginAccountCancelOrder operation in TradeApi.
@@ -7495,10 +7495,10 @@ interface MarginAccountCancelOrderRequest {
7495
7495
  readonly isIsolated?: string;
7496
7496
  /**
7497
7497
  *
7498
- * @type {number}
7498
+ * @type {number | bigint}
7499
7499
  * @memberof TradeApiMarginAccountCancelOrder
7500
7500
  */
7501
- readonly orderId?: number;
7501
+ readonly orderId?: number | bigint;
7502
7502
  /**
7503
7503
  *
7504
7504
  * @type {string}
@@ -7513,10 +7513,10 @@ interface MarginAccountCancelOrderRequest {
7513
7513
  readonly newClientOrderId?: string;
7514
7514
  /**
7515
7515
  * No more than 60000
7516
- * @type {number}
7516
+ * @type {number | bigint}
7517
7517
  * @memberof TradeApiMarginAccountCancelOrder
7518
7518
  */
7519
- readonly recvWindow?: number;
7519
+ readonly recvWindow?: number | bigint;
7520
7520
  }
7521
7521
  /**
7522
7522
  * Request parameters for marginAccountNewOco operation in TradeApi.
@@ -7627,10 +7627,10 @@ interface MarginAccountNewOcoRequest {
7627
7627
  readonly autoRepayAtCancel?: boolean;
7628
7628
  /**
7629
7629
  * No more than 60000
7630
- * @type {number}
7630
+ * @type {number | bigint}
7631
7631
  * @memberof TradeApiMarginAccountNewOco
7632
7632
  */
7633
- readonly recvWindow?: number;
7633
+ readonly recvWindow?: number | bigint;
7634
7634
  }
7635
7635
  /**
7636
7636
  * Request parameters for marginAccountNewOrder operation in TradeApi.
@@ -7729,10 +7729,10 @@ interface MarginAccountNewOrderRequest {
7729
7729
  readonly autoRepayAtCancel?: boolean;
7730
7730
  /**
7731
7731
  * No more than 60000
7732
- * @type {number}
7732
+ * @type {number | bigint}
7733
7733
  * @memberof TradeApiMarginAccountNewOrder
7734
7734
  */
7735
- readonly recvWindow?: number;
7735
+ readonly recvWindow?: number | bigint;
7736
7736
  }
7737
7737
  /**
7738
7738
  * Request parameters for marginAccountNewOto operation in TradeApi.
@@ -8083,10 +8083,10 @@ interface MarginManualLiquidationRequest {
8083
8083
  readonly symbol?: string;
8084
8084
  /**
8085
8085
  * No more than 60000
8086
- * @type {number}
8086
+ * @type {number | bigint}
8087
8087
  * @memberof TradeApiMarginManualLiquidation
8088
8088
  */
8089
- readonly recvWindow?: number;
8089
+ readonly recvWindow?: number | bigint;
8090
8090
  }
8091
8091
  /**
8092
8092
  * Request parameters for queryCurrentMarginOrderCountUsage operation in TradeApi.
@@ -8107,10 +8107,10 @@ interface QueryCurrentMarginOrderCountUsageRequest {
8107
8107
  readonly symbol?: string;
8108
8108
  /**
8109
8109
  * No more than 60000
8110
- * @type {number}
8110
+ * @type {number | bigint}
8111
8111
  * @memberof TradeApiQueryCurrentMarginOrderCountUsage
8112
8112
  */
8113
- readonly recvWindow?: number;
8113
+ readonly recvWindow?: number | bigint;
8114
8114
  }
8115
8115
  /**
8116
8116
  * Request parameters for queryMarginAccountsAllOco operation in TradeApi.
@@ -8131,34 +8131,34 @@ interface QueryMarginAccountsAllOcoRequest {
8131
8131
  readonly symbol?: string;
8132
8132
  /**
8133
8133
  * 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
8134
- * @type {number}
8134
+ * @type {number | bigint}
8135
8135
  * @memberof TradeApiQueryMarginAccountsAllOco
8136
8136
  */
8137
- readonly fromId?: number;
8137
+ readonly fromId?: number | bigint;
8138
8138
  /**
8139
8139
  * 只支持查询最近90天的数据
8140
- * @type {number}
8140
+ * @type {number | bigint}
8141
8141
  * @memberof TradeApiQueryMarginAccountsAllOco
8142
8142
  */
8143
- readonly startTime?: number;
8143
+ readonly startTime?: number | bigint;
8144
8144
  /**
8145
8145
  *
8146
- * @type {number}
8146
+ * @type {number | bigint}
8147
8147
  * @memberof TradeApiQueryMarginAccountsAllOco
8148
8148
  */
8149
- readonly endTime?: number;
8149
+ readonly endTime?: number | bigint;
8150
8150
  /**
8151
8151
  * Default Value: 500; Max Value: 1000
8152
- * @type {number}
8152
+ * @type {number | bigint}
8153
8153
  * @memberof TradeApiQueryMarginAccountsAllOco
8154
8154
  */
8155
- readonly limit?: number;
8155
+ readonly limit?: number | bigint;
8156
8156
  /**
8157
8157
  * No more than 60000
8158
- * @type {number}
8158
+ * @type {number | bigint}
8159
8159
  * @memberof TradeApiQueryMarginAccountsAllOco
8160
8160
  */
8161
- readonly recvWindow?: number;
8161
+ readonly recvWindow?: number | bigint;
8162
8162
  }
8163
8163
  /**
8164
8164
  * Request parameters for queryMarginAccountsAllOrders operation in TradeApi.
@@ -8179,34 +8179,34 @@ interface QueryMarginAccountsAllOrdersRequest {
8179
8179
  readonly isIsolated?: string;
8180
8180
  /**
8181
8181
  *
8182
- * @type {number}
8182
+ * @type {number | bigint}
8183
8183
  * @memberof TradeApiQueryMarginAccountsAllOrders
8184
8184
  */
8185
- readonly orderId?: number;
8185
+ readonly orderId?: number | bigint;
8186
8186
  /**
8187
8187
  * 只支持查询最近90天的数据
8188
- * @type {number}
8188
+ * @type {number | bigint}
8189
8189
  * @memberof TradeApiQueryMarginAccountsAllOrders
8190
8190
  */
8191
- readonly startTime?: number;
8191
+ readonly startTime?: number | bigint;
8192
8192
  /**
8193
8193
  *
8194
- * @type {number}
8194
+ * @type {number | bigint}
8195
8195
  * @memberof TradeApiQueryMarginAccountsAllOrders
8196
8196
  */
8197
- readonly endTime?: number;
8197
+ readonly endTime?: number | bigint;
8198
8198
  /**
8199
8199
  * Default Value: 500; Max Value: 1000
8200
- * @type {number}
8200
+ * @type {number | bigint}
8201
8201
  * @memberof TradeApiQueryMarginAccountsAllOrders
8202
8202
  */
8203
- readonly limit?: number;
8203
+ readonly limit?: number | bigint;
8204
8204
  /**
8205
8205
  * No more than 60000
8206
- * @type {number}
8206
+ * @type {number | bigint}
8207
8207
  * @memberof TradeApiQueryMarginAccountsAllOrders
8208
8208
  */
8209
- readonly recvWindow?: number;
8209
+ readonly recvWindow?: number | bigint;
8210
8210
  }
8211
8211
  /**
8212
8212
  * Request parameters for queryMarginAccountsOco operation in TradeApi.
@@ -8227,10 +8227,10 @@ interface QueryMarginAccountsOcoRequest {
8227
8227
  readonly symbol?: string;
8228
8228
  /**
8229
8229
  * Either `orderListId` or `listClientOrderId` must be provided
8230
- * @type {number}
8230
+ * @type {number | bigint}
8231
8231
  * @memberof TradeApiQueryMarginAccountsOco
8232
8232
  */
8233
- readonly orderListId?: number;
8233
+ readonly orderListId?: number | bigint;
8234
8234
  /**
8235
8235
  *
8236
8236
  * @type {string}
@@ -8239,10 +8239,10 @@ interface QueryMarginAccountsOcoRequest {
8239
8239
  readonly origClientOrderId?: string;
8240
8240
  /**
8241
8241
  * No more than 60000
8242
- * @type {number}
8242
+ * @type {number | bigint}
8243
8243
  * @memberof TradeApiQueryMarginAccountsOco
8244
8244
  */
8245
- readonly recvWindow?: number;
8245
+ readonly recvWindow?: number | bigint;
8246
8246
  }
8247
8247
  /**
8248
8248
  * Request parameters for queryMarginAccountsOpenOco operation in TradeApi.
@@ -8263,10 +8263,10 @@ interface QueryMarginAccountsOpenOcoRequest {
8263
8263
  readonly symbol?: string;
8264
8264
  /**
8265
8265
  * No more than 60000
8266
- * @type {number}
8266
+ * @type {number | bigint}
8267
8267
  * @memberof TradeApiQueryMarginAccountsOpenOco
8268
8268
  */
8269
- readonly recvWindow?: number;
8269
+ readonly recvWindow?: number | bigint;
8270
8270
  }
8271
8271
  /**
8272
8272
  * Request parameters for queryMarginAccountsOpenOrders operation in TradeApi.
@@ -8287,10 +8287,10 @@ interface QueryMarginAccountsOpenOrdersRequest {
8287
8287
  readonly isIsolated?: string;
8288
8288
  /**
8289
8289
  * No more than 60000
8290
- * @type {number}
8290
+ * @type {number | bigint}
8291
8291
  * @memberof TradeApiQueryMarginAccountsOpenOrders
8292
8292
  */
8293
- readonly recvWindow?: number;
8293
+ readonly recvWindow?: number | bigint;
8294
8294
  }
8295
8295
  /**
8296
8296
  * Request parameters for queryMarginAccountsOrder operation in TradeApi.
@@ -8311,10 +8311,10 @@ interface QueryMarginAccountsOrderRequest {
8311
8311
  readonly isIsolated?: string;
8312
8312
  /**
8313
8313
  *
8314
- * @type {number}
8314
+ * @type {number | bigint}
8315
8315
  * @memberof TradeApiQueryMarginAccountsOrder
8316
8316
  */
8317
- readonly orderId?: number;
8317
+ readonly orderId?: number | bigint;
8318
8318
  /**
8319
8319
  *
8320
8320
  * @type {string}
@@ -8323,10 +8323,10 @@ interface QueryMarginAccountsOrderRequest {
8323
8323
  readonly origClientOrderId?: string;
8324
8324
  /**
8325
8325
  * No more than 60000
8326
- * @type {number}
8326
+ * @type {number | bigint}
8327
8327
  * @memberof TradeApiQueryMarginAccountsOrder
8328
8328
  */
8329
- readonly recvWindow?: number;
8329
+ readonly recvWindow?: number | bigint;
8330
8330
  }
8331
8331
  /**
8332
8332
  * Request parameters for queryMarginAccountsTradeList operation in TradeApi.
@@ -8347,40 +8347,40 @@ interface QueryMarginAccountsTradeListRequest {
8347
8347
  readonly isIsolated?: string;
8348
8348
  /**
8349
8349
  *
8350
- * @type {number}
8350
+ * @type {number | bigint}
8351
8351
  * @memberof TradeApiQueryMarginAccountsTradeList
8352
8352
  */
8353
- readonly orderId?: number;
8353
+ readonly orderId?: number | bigint;
8354
8354
  /**
8355
8355
  * 只支持查询最近90天的数据
8356
- * @type {number}
8356
+ * @type {number | bigint}
8357
8357
  * @memberof TradeApiQueryMarginAccountsTradeList
8358
8358
  */
8359
- readonly startTime?: number;
8359
+ readonly startTime?: number | bigint;
8360
8360
  /**
8361
8361
  *
8362
- * @type {number}
8362
+ * @type {number | bigint}
8363
8363
  * @memberof TradeApiQueryMarginAccountsTradeList
8364
8364
  */
8365
- readonly endTime?: number;
8365
+ readonly endTime?: number | bigint;
8366
8366
  /**
8367
8367
  * 如设置fromId, 将返回id > fromId的数据。否则将返回最新数据
8368
- * @type {number}
8368
+ * @type {number | bigint}
8369
8369
  * @memberof TradeApiQueryMarginAccountsTradeList
8370
8370
  */
8371
- readonly fromId?: number;
8371
+ readonly fromId?: number | bigint;
8372
8372
  /**
8373
8373
  * Default Value: 500; Max Value: 1000
8374
- * @type {number}
8374
+ * @type {number | bigint}
8375
8375
  * @memberof TradeApiQueryMarginAccountsTradeList
8376
8376
  */
8377
- readonly limit?: number;
8377
+ readonly limit?: number | bigint;
8378
8378
  /**
8379
8379
  * No more than 60000
8380
- * @type {number}
8380
+ * @type {number | bigint}
8381
8381
  * @memberof TradeApiQueryMarginAccountsTradeList
8382
8382
  */
8383
- readonly recvWindow?: number;
8383
+ readonly recvWindow?: number | bigint;
8384
8384
  }
8385
8385
  /**
8386
8386
  * Request parameters for querySpecialKey operation in TradeApi.
@@ -8395,10 +8395,10 @@ interface QuerySpecialKeyRequest {
8395
8395
  readonly symbol?: string;
8396
8396
  /**
8397
8397
  * No more than 60000
8398
- * @type {number}
8398
+ * @type {number | bigint}
8399
8399
  * @memberof TradeApiQuerySpecialKey
8400
8400
  */
8401
- readonly recvWindow?: number;
8401
+ readonly recvWindow?: number | bigint;
8402
8402
  }
8403
8403
  /**
8404
8404
  * Request parameters for querySpecialKeyList operation in TradeApi.
@@ -8413,10 +8413,10 @@ interface QuerySpecialKeyListRequest {
8413
8413
  readonly symbol?: string;
8414
8414
  /**
8415
8415
  * No more than 60000
8416
- * @type {number}
8416
+ * @type {number | bigint}
8417
8417
  * @memberof TradeApiQuerySpecialKeyList
8418
8418
  */
8419
- readonly recvWindow?: number;
8419
+ readonly recvWindow?: number | bigint;
8420
8420
  }
8421
8421
  /**
8422
8422
  * Request parameters for smallLiabilityExchange operation in TradeApi.
@@ -8431,10 +8431,10 @@ interface SmallLiabilityExchangeRequest {
8431
8431
  readonly assetNames: Array<string>;
8432
8432
  /**
8433
8433
  * No more than 60000
8434
- * @type {number}
8434
+ * @type {number | bigint}
8435
8435
  * @memberof TradeApiSmallLiabilityExchange
8436
8436
  */
8437
- readonly recvWindow?: number;
8437
+ readonly recvWindow?: number | bigint;
8438
8438
  }
8439
8439
  /**
8440
8440
  * TradeApi - object-oriented interface
@@ -9207,28 +9207,28 @@ interface GetCrossMarginTransferHistoryRequest {
9207
9207
  readonly type?: string;
9208
9208
  /**
9209
9209
  * 只支持查询最近90天的数据
9210
- * @type {number}
9210
+ * @type {number | bigint}
9211
9211
  * @memberof TransferApiGetCrossMarginTransferHistory
9212
9212
  */
9213
- readonly startTime?: number;
9213
+ readonly startTime?: number | bigint;
9214
9214
  /**
9215
9215
  *
9216
- * @type {number}
9216
+ * @type {number | bigint}
9217
9217
  * @memberof TransferApiGetCrossMarginTransferHistory
9218
9218
  */
9219
- readonly endTime?: number;
9219
+ readonly endTime?: number | bigint;
9220
9220
  /**
9221
9221
  * Currently querying page. Start from 1. Default:1
9222
- * @type {number}
9222
+ * @type {number | bigint}
9223
9223
  * @memberof TransferApiGetCrossMarginTransferHistory
9224
9224
  */
9225
- readonly current?: number;
9225
+ readonly current?: number | bigint;
9226
9226
  /**
9227
9227
  * Default:10 Max:100
9228
- * @type {number}
9228
+ * @type {number | bigint}
9229
9229
  * @memberof TransferApiGetCrossMarginTransferHistory
9230
9230
  */
9231
- readonly size?: number;
9231
+ readonly size?: number | bigint;
9232
9232
  /**
9233
9233
  * isolated symbol
9234
9234
  * @type {string}
@@ -9237,10 +9237,10 @@ interface GetCrossMarginTransferHistoryRequest {
9237
9237
  readonly isolatedSymbol?: string;
9238
9238
  /**
9239
9239
  * No more than 60000
9240
- * @type {number}
9240
+ * @type {number | bigint}
9241
9241
  * @memberof TransferApiGetCrossMarginTransferHistory
9242
9242
  */
9243
- readonly recvWindow?: number;
9243
+ readonly recvWindow?: number | bigint;
9244
9244
  }
9245
9245
  /**
9246
9246
  * Request parameters for queryMaxTransferOutAmount operation in TransferApi.
@@ -9261,10 +9261,10 @@ interface QueryMaxTransferOutAmountRequest {
9261
9261
  readonly isolatedSymbol?: string;
9262
9262
  /**
9263
9263
  * No more than 60000
9264
- * @type {number}
9264
+ * @type {number | bigint}
9265
9265
  * @memberof TransferApiQueryMaxTransferOutAmount
9266
9266
  */
9267
- readonly recvWindow?: number;
9267
+ readonly recvWindow?: number | bigint;
9268
9268
  }
9269
9269
  /**
9270
9270
  * TransferApi - object-oriented interface