@binance/derivatives-trading-portfolio-margin 7.0.0 → 7.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.ts CHANGED
@@ -10400,10 +10400,10 @@ interface AccountBalanceRequest {
10400
10400
  readonly asset?: string;
10401
10401
  /**
10402
10402
  *
10403
- * @type {number}
10403
+ * @type {number | bigint}
10404
10404
  * @memberof AccountApiAccountBalance
10405
10405
  */
10406
- readonly recvWindow?: number;
10406
+ readonly recvWindow?: number | bigint;
10407
10407
  }
10408
10408
  /**
10409
10409
  * Request parameters for accountInformation operation in AccountApi.
@@ -10412,10 +10412,10 @@ interface AccountBalanceRequest {
10412
10412
  interface AccountInformationRequest {
10413
10413
  /**
10414
10414
  *
10415
- * @type {number}
10415
+ * @type {number | bigint}
10416
10416
  * @memberof AccountApiAccountInformation
10417
10417
  */
10418
- readonly recvWindow?: number;
10418
+ readonly recvWindow?: number | bigint;
10419
10419
  }
10420
10420
  /**
10421
10421
  * Request parameters for bnbTransfer operation in AccountApi.
@@ -10436,10 +10436,10 @@ interface BnbTransferRequest {
10436
10436
  readonly transferSide: string;
10437
10437
  /**
10438
10438
  *
10439
- * @type {number}
10439
+ * @type {number | bigint}
10440
10440
  * @memberof AccountApiBnbTransfer
10441
10441
  */
10442
- readonly recvWindow?: number;
10442
+ readonly recvWindow?: number | bigint;
10443
10443
  }
10444
10444
  /**
10445
10445
  * Request parameters for changeAutoRepayFuturesStatus operation in AccountApi.
@@ -10454,10 +10454,10 @@ interface ChangeAutoRepayFuturesStatusRequest {
10454
10454
  readonly autoRepay: string;
10455
10455
  /**
10456
10456
  *
10457
- * @type {number}
10457
+ * @type {number | bigint}
10458
10458
  * @memberof AccountApiChangeAutoRepayFuturesStatus
10459
10459
  */
10460
- readonly recvWindow?: number;
10460
+ readonly recvWindow?: number | bigint;
10461
10461
  }
10462
10462
  /**
10463
10463
  * Request parameters for changeCmInitialLeverage operation in AccountApi.
@@ -10472,16 +10472,16 @@ interface ChangeCmInitialLeverageRequest {
10472
10472
  readonly symbol: string;
10473
10473
  /**
10474
10474
  * target initial leverage: int from 1 to 125
10475
- * @type {number}
10475
+ * @type {number | bigint}
10476
10476
  * @memberof AccountApiChangeCmInitialLeverage
10477
10477
  */
10478
- readonly leverage: number;
10478
+ readonly leverage: number | bigint;
10479
10479
  /**
10480
10480
  *
10481
- * @type {number}
10481
+ * @type {number | bigint}
10482
10482
  * @memberof AccountApiChangeCmInitialLeverage
10483
10483
  */
10484
- readonly recvWindow?: number;
10484
+ readonly recvWindow?: number | bigint;
10485
10485
  }
10486
10486
  /**
10487
10487
  * Request parameters for changeCmPositionMode operation in AccountApi.
@@ -10496,10 +10496,10 @@ interface ChangeCmPositionModeRequest {
10496
10496
  readonly dualSidePosition: string;
10497
10497
  /**
10498
10498
  *
10499
- * @type {number}
10499
+ * @type {number | bigint}
10500
10500
  * @memberof AccountApiChangeCmPositionMode
10501
10501
  */
10502
- readonly recvWindow?: number;
10502
+ readonly recvWindow?: number | bigint;
10503
10503
  }
10504
10504
  /**
10505
10505
  * Request parameters for changeUmInitialLeverage operation in AccountApi.
@@ -10514,16 +10514,16 @@ interface ChangeUmInitialLeverageRequest {
10514
10514
  readonly symbol: string;
10515
10515
  /**
10516
10516
  * target initial leverage: int from 1 to 125
10517
- * @type {number}
10517
+ * @type {number | bigint}
10518
10518
  * @memberof AccountApiChangeUmInitialLeverage
10519
10519
  */
10520
- readonly leverage: number;
10520
+ readonly leverage: number | bigint;
10521
10521
  /**
10522
10522
  *
10523
- * @type {number}
10523
+ * @type {number | bigint}
10524
10524
  * @memberof AccountApiChangeUmInitialLeverage
10525
10525
  */
10526
- readonly recvWindow?: number;
10526
+ readonly recvWindow?: number | bigint;
10527
10527
  }
10528
10528
  /**
10529
10529
  * Request parameters for changeUmPositionMode operation in AccountApi.
@@ -10538,10 +10538,10 @@ interface ChangeUmPositionModeRequest {
10538
10538
  readonly dualSidePosition: string;
10539
10539
  /**
10540
10540
  *
10541
- * @type {number}
10541
+ * @type {number | bigint}
10542
10542
  * @memberof AccountApiChangeUmPositionMode
10543
10543
  */
10544
- readonly recvWindow?: number;
10544
+ readonly recvWindow?: number | bigint;
10545
10545
  }
10546
10546
  /**
10547
10547
  * Request parameters for cmNotionalAndLeverageBrackets operation in AccountApi.
@@ -10556,10 +10556,10 @@ interface CmNotionalAndLeverageBracketsRequest {
10556
10556
  readonly symbol?: string;
10557
10557
  /**
10558
10558
  *
10559
- * @type {number}
10559
+ * @type {number | bigint}
10560
10560
  * @memberof AccountApiCmNotionalAndLeverageBrackets
10561
10561
  */
10562
- readonly recvWindow?: number;
10562
+ readonly recvWindow?: number | bigint;
10563
10563
  }
10564
10564
  /**
10565
10565
  * Request parameters for fundAutoCollection operation in AccountApi.
@@ -10568,10 +10568,10 @@ interface CmNotionalAndLeverageBracketsRequest {
10568
10568
  interface FundAutoCollectionRequest {
10569
10569
  /**
10570
10570
  *
10571
- * @type {number}
10571
+ * @type {number | bigint}
10572
10572
  * @memberof AccountApiFundAutoCollection
10573
10573
  */
10574
- readonly recvWindow?: number;
10574
+ readonly recvWindow?: number | bigint;
10575
10575
  }
10576
10576
  /**
10577
10577
  * Request parameters for fundCollectionByAsset operation in AccountApi.
@@ -10586,10 +10586,10 @@ interface FundCollectionByAssetRequest {
10586
10586
  readonly asset: string;
10587
10587
  /**
10588
10588
  *
10589
- * @type {number}
10589
+ * @type {number | bigint}
10590
10590
  * @memberof AccountApiFundCollectionByAsset
10591
10591
  */
10592
- readonly recvWindow?: number;
10592
+ readonly recvWindow?: number | bigint;
10593
10593
  }
10594
10594
  /**
10595
10595
  * Request parameters for getAutoRepayFuturesStatus operation in AccountApi.
@@ -10598,10 +10598,10 @@ interface FundCollectionByAssetRequest {
10598
10598
  interface GetAutoRepayFuturesStatusRequest {
10599
10599
  /**
10600
10600
  *
10601
- * @type {number}
10601
+ * @type {number | bigint}
10602
10602
  * @memberof AccountApiGetAutoRepayFuturesStatus
10603
10603
  */
10604
- readonly recvWindow?: number;
10604
+ readonly recvWindow?: number | bigint;
10605
10605
  }
10606
10606
  /**
10607
10607
  * Request parameters for getCmAccountDetail operation in AccountApi.
@@ -10610,10 +10610,10 @@ interface GetAutoRepayFuturesStatusRequest {
10610
10610
  interface GetCmAccountDetailRequest {
10611
10611
  /**
10612
10612
  *
10613
- * @type {number}
10613
+ * @type {number | bigint}
10614
10614
  * @memberof AccountApiGetCmAccountDetail
10615
10615
  */
10616
- readonly recvWindow?: number;
10616
+ readonly recvWindow?: number | bigint;
10617
10617
  }
10618
10618
  /**
10619
10619
  * Request parameters for getCmCurrentPositionMode operation in AccountApi.
@@ -10622,10 +10622,10 @@ interface GetCmAccountDetailRequest {
10622
10622
  interface GetCmCurrentPositionModeRequest {
10623
10623
  /**
10624
10624
  *
10625
- * @type {number}
10625
+ * @type {number | bigint}
10626
10626
  * @memberof AccountApiGetCmCurrentPositionMode
10627
10627
  */
10628
- readonly recvWindow?: number;
10628
+ readonly recvWindow?: number | bigint;
10629
10629
  }
10630
10630
  /**
10631
10631
  * Request parameters for getCmIncomeHistory operation in AccountApi.
@@ -10646,34 +10646,34 @@ interface GetCmIncomeHistoryRequest {
10646
10646
  readonly incomeType?: string;
10647
10647
  /**
10648
10648
  * Timestamp in ms to get funding from INCLUSIVE.
10649
- * @type {number}
10649
+ * @type {number | bigint}
10650
10650
  * @memberof AccountApiGetCmIncomeHistory
10651
10651
  */
10652
- readonly startTime?: number;
10652
+ readonly startTime?: number | bigint;
10653
10653
  /**
10654
10654
  * Timestamp in ms to get funding until INCLUSIVE.
10655
- * @type {number}
10655
+ * @type {number | bigint}
10656
10656
  * @memberof AccountApiGetCmIncomeHistory
10657
10657
  */
10658
- readonly endTime?: number;
10658
+ readonly endTime?: number | bigint;
10659
10659
  /**
10660
10660
  *
10661
- * @type {number}
10661
+ * @type {number | bigint}
10662
10662
  * @memberof AccountApiGetCmIncomeHistory
10663
10663
  */
10664
- readonly page?: number;
10664
+ readonly page?: number | bigint;
10665
10665
  /**
10666
10666
  * Default 100; max 1000
10667
- * @type {number}
10667
+ * @type {number | bigint}
10668
10668
  * @memberof AccountApiGetCmIncomeHistory
10669
10669
  */
10670
- readonly limit?: number;
10670
+ readonly limit?: number | bigint;
10671
10671
  /**
10672
10672
  *
10673
- * @type {number}
10673
+ * @type {number | bigint}
10674
10674
  * @memberof AccountApiGetCmIncomeHistory
10675
10675
  */
10676
- readonly recvWindow?: number;
10676
+ readonly recvWindow?: number | bigint;
10677
10677
  }
10678
10678
  /**
10679
10679
  * Request parameters for getDownloadIdForUmFuturesOrderHistory operation in AccountApi.
@@ -10682,22 +10682,22 @@ interface GetCmIncomeHistoryRequest {
10682
10682
  interface GetDownloadIdForUmFuturesOrderHistoryRequest {
10683
10683
  /**
10684
10684
  *
10685
- * @type {number}
10685
+ * @type {number | bigint}
10686
10686
  * @memberof AccountApiGetDownloadIdForUmFuturesOrderHistory
10687
10687
  */
10688
- readonly startTime: number;
10688
+ readonly startTime: number | bigint;
10689
10689
  /**
10690
10690
  *
10691
- * @type {number}
10691
+ * @type {number | bigint}
10692
10692
  * @memberof AccountApiGetDownloadIdForUmFuturesOrderHistory
10693
10693
  */
10694
- readonly endTime: number;
10694
+ readonly endTime: number | bigint;
10695
10695
  /**
10696
10696
  *
10697
- * @type {number}
10697
+ * @type {number | bigint}
10698
10698
  * @memberof AccountApiGetDownloadIdForUmFuturesOrderHistory
10699
10699
  */
10700
- readonly recvWindow?: number;
10700
+ readonly recvWindow?: number | bigint;
10701
10701
  }
10702
10702
  /**
10703
10703
  * Request parameters for getDownloadIdForUmFuturesTradeHistory operation in AccountApi.
@@ -10706,22 +10706,22 @@ interface GetDownloadIdForUmFuturesOrderHistoryRequest {
10706
10706
  interface GetDownloadIdForUmFuturesTradeHistoryRequest {
10707
10707
  /**
10708
10708
  *
10709
- * @type {number}
10709
+ * @type {number | bigint}
10710
10710
  * @memberof AccountApiGetDownloadIdForUmFuturesTradeHistory
10711
10711
  */
10712
- readonly startTime: number;
10712
+ readonly startTime: number | bigint;
10713
10713
  /**
10714
10714
  *
10715
- * @type {number}
10715
+ * @type {number | bigint}
10716
10716
  * @memberof AccountApiGetDownloadIdForUmFuturesTradeHistory
10717
10717
  */
10718
- readonly endTime: number;
10718
+ readonly endTime: number | bigint;
10719
10719
  /**
10720
10720
  *
10721
- * @type {number}
10721
+ * @type {number | bigint}
10722
10722
  * @memberof AccountApiGetDownloadIdForUmFuturesTradeHistory
10723
10723
  */
10724
- readonly recvWindow?: number;
10724
+ readonly recvWindow?: number | bigint;
10725
10725
  }
10726
10726
  /**
10727
10727
  * Request parameters for getDownloadIdForUmFuturesTransactionHistory operation in AccountApi.
@@ -10730,22 +10730,22 @@ interface GetDownloadIdForUmFuturesTradeHistoryRequest {
10730
10730
  interface GetDownloadIdForUmFuturesTransactionHistoryRequest {
10731
10731
  /**
10732
10732
  *
10733
- * @type {number}
10733
+ * @type {number | bigint}
10734
10734
  * @memberof AccountApiGetDownloadIdForUmFuturesTransactionHistory
10735
10735
  */
10736
- readonly startTime: number;
10736
+ readonly startTime: number | bigint;
10737
10737
  /**
10738
10738
  *
10739
- * @type {number}
10739
+ * @type {number | bigint}
10740
10740
  * @memberof AccountApiGetDownloadIdForUmFuturesTransactionHistory
10741
10741
  */
10742
- readonly endTime: number;
10742
+ readonly endTime: number | bigint;
10743
10743
  /**
10744
10744
  *
10745
- * @type {number}
10745
+ * @type {number | bigint}
10746
10746
  * @memberof AccountApiGetDownloadIdForUmFuturesTransactionHistory
10747
10747
  */
10748
- readonly recvWindow?: number;
10748
+ readonly recvWindow?: number | bigint;
10749
10749
  }
10750
10750
  /**
10751
10751
  * Request parameters for getMarginBorrowLoanInterestHistory operation in AccountApi.
@@ -10760,28 +10760,28 @@ interface GetMarginBorrowLoanInterestHistoryRequest {
10760
10760
  readonly asset?: string;
10761
10761
  /**
10762
10762
  * Timestamp in ms to get funding from INCLUSIVE.
10763
- * @type {number}
10763
+ * @type {number | bigint}
10764
10764
  * @memberof AccountApiGetMarginBorrowLoanInterestHistory
10765
10765
  */
10766
- readonly startTime?: number;
10766
+ readonly startTime?: number | bigint;
10767
10767
  /**
10768
10768
  * Timestamp in ms to get funding until INCLUSIVE.
10769
- * @type {number}
10769
+ * @type {number | bigint}
10770
10770
  * @memberof AccountApiGetMarginBorrowLoanInterestHistory
10771
10771
  */
10772
- readonly endTime?: number;
10772
+ readonly endTime?: number | bigint;
10773
10773
  /**
10774
10774
  * Currently querying page. Start from 1. Default:1
10775
- * @type {number}
10775
+ * @type {number | bigint}
10776
10776
  * @memberof AccountApiGetMarginBorrowLoanInterestHistory
10777
10777
  */
10778
- readonly current?: number;
10778
+ readonly current?: number | bigint;
10779
10779
  /**
10780
10780
  * Default:10 Max:100
10781
- * @type {number}
10781
+ * @type {number | bigint}
10782
10782
  * @memberof AccountApiGetMarginBorrowLoanInterestHistory
10783
10783
  */
10784
- readonly size?: number;
10784
+ readonly size?: number | bigint;
10785
10785
  /**
10786
10786
  * Default: `false`. Set to `true` for archived data from 6 months ago
10787
10787
  * @type {string}
@@ -10790,10 +10790,10 @@ interface GetMarginBorrowLoanInterestHistoryRequest {
10790
10790
  readonly archived?: string;
10791
10791
  /**
10792
10792
  *
10793
- * @type {number}
10793
+ * @type {number | bigint}
10794
10794
  * @memberof AccountApiGetMarginBorrowLoanInterestHistory
10795
10795
  */
10796
- readonly recvWindow?: number;
10796
+ readonly recvWindow?: number | bigint;
10797
10797
  }
10798
10798
  /**
10799
10799
  * Request parameters for getUmAccountDetail operation in AccountApi.
@@ -10802,10 +10802,10 @@ interface GetMarginBorrowLoanInterestHistoryRequest {
10802
10802
  interface GetUmAccountDetailRequest {
10803
10803
  /**
10804
10804
  *
10805
- * @type {number}
10805
+ * @type {number | bigint}
10806
10806
  * @memberof AccountApiGetUmAccountDetail
10807
10807
  */
10808
- readonly recvWindow?: number;
10808
+ readonly recvWindow?: number | bigint;
10809
10809
  }
10810
10810
  /**
10811
10811
  * Request parameters for getUmAccountDetailV2 operation in AccountApi.
@@ -10814,10 +10814,10 @@ interface GetUmAccountDetailRequest {
10814
10814
  interface GetUmAccountDetailV2Request {
10815
10815
  /**
10816
10816
  *
10817
- * @type {number}
10817
+ * @type {number | bigint}
10818
10818
  * @memberof AccountApiGetUmAccountDetailV2
10819
10819
  */
10820
- readonly recvWindow?: number;
10820
+ readonly recvWindow?: number | bigint;
10821
10821
  }
10822
10822
  /**
10823
10823
  * Request parameters for getUmCurrentPositionMode operation in AccountApi.
@@ -10826,10 +10826,10 @@ interface GetUmAccountDetailV2Request {
10826
10826
  interface GetUmCurrentPositionModeRequest {
10827
10827
  /**
10828
10828
  *
10829
- * @type {number}
10829
+ * @type {number | bigint}
10830
10830
  * @memberof AccountApiGetUmCurrentPositionMode
10831
10831
  */
10832
- readonly recvWindow?: number;
10832
+ readonly recvWindow?: number | bigint;
10833
10833
  }
10834
10834
  /**
10835
10835
  * Request parameters for getUmFuturesOrderDownloadLinkById operation in AccountApi.
@@ -10844,10 +10844,10 @@ interface GetUmFuturesOrderDownloadLinkByIdRequest {
10844
10844
  readonly downloadId: string;
10845
10845
  /**
10846
10846
  *
10847
- * @type {number}
10847
+ * @type {number | bigint}
10848
10848
  * @memberof AccountApiGetUmFuturesOrderDownloadLinkById
10849
10849
  */
10850
- readonly recvWindow?: number;
10850
+ readonly recvWindow?: number | bigint;
10851
10851
  }
10852
10852
  /**
10853
10853
  * Request parameters for getUmFuturesTradeDownloadLinkById operation in AccountApi.
@@ -10862,10 +10862,10 @@ interface GetUmFuturesTradeDownloadLinkByIdRequest {
10862
10862
  readonly downloadId: string;
10863
10863
  /**
10864
10864
  *
10865
- * @type {number}
10865
+ * @type {number | bigint}
10866
10866
  * @memberof AccountApiGetUmFuturesTradeDownloadLinkById
10867
10867
  */
10868
- readonly recvWindow?: number;
10868
+ readonly recvWindow?: number | bigint;
10869
10869
  }
10870
10870
  /**
10871
10871
  * Request parameters for getUmFuturesTransactionDownloadLinkById operation in AccountApi.
@@ -10880,10 +10880,10 @@ interface GetUmFuturesTransactionDownloadLinkByIdRequest {
10880
10880
  readonly downloadId: string;
10881
10881
  /**
10882
10882
  *
10883
- * @type {number}
10883
+ * @type {number | bigint}
10884
10884
  * @memberof AccountApiGetUmFuturesTransactionDownloadLinkById
10885
10885
  */
10886
- readonly recvWindow?: number;
10886
+ readonly recvWindow?: number | bigint;
10887
10887
  }
10888
10888
  /**
10889
10889
  * Request parameters for getUmIncomeHistory operation in AccountApi.
@@ -10904,34 +10904,34 @@ interface GetUmIncomeHistoryRequest {
10904
10904
  readonly incomeType?: string;
10905
10905
  /**
10906
10906
  * Timestamp in ms to get funding from INCLUSIVE.
10907
- * @type {number}
10907
+ * @type {number | bigint}
10908
10908
  * @memberof AccountApiGetUmIncomeHistory
10909
10909
  */
10910
- readonly startTime?: number;
10910
+ readonly startTime?: number | bigint;
10911
10911
  /**
10912
10912
  * Timestamp in ms to get funding until INCLUSIVE.
10913
- * @type {number}
10913
+ * @type {number | bigint}
10914
10914
  * @memberof AccountApiGetUmIncomeHistory
10915
10915
  */
10916
- readonly endTime?: number;
10916
+ readonly endTime?: number | bigint;
10917
10917
  /**
10918
10918
  *
10919
- * @type {number}
10919
+ * @type {number | bigint}
10920
10920
  * @memberof AccountApiGetUmIncomeHistory
10921
10921
  */
10922
- readonly page?: number;
10922
+ readonly page?: number | bigint;
10923
10923
  /**
10924
10924
  * Default 100; max 1000
10925
- * @type {number}
10925
+ * @type {number | bigint}
10926
10926
  * @memberof AccountApiGetUmIncomeHistory
10927
10927
  */
10928
- readonly limit?: number;
10928
+ readonly limit?: number | bigint;
10929
10929
  /**
10930
10930
  *
10931
- * @type {number}
10931
+ * @type {number | bigint}
10932
10932
  * @memberof AccountApiGetUmIncomeHistory
10933
10933
  */
10934
- readonly recvWindow?: number;
10934
+ readonly recvWindow?: number | bigint;
10935
10935
  }
10936
10936
  /**
10937
10937
  * Request parameters for getUserCommissionRateForCm operation in AccountApi.
@@ -10946,10 +10946,10 @@ interface GetUserCommissionRateForCmRequest {
10946
10946
  readonly symbol: string;
10947
10947
  /**
10948
10948
  *
10949
- * @type {number}
10949
+ * @type {number | bigint}
10950
10950
  * @memberof AccountApiGetUserCommissionRateForCm
10951
10951
  */
10952
- readonly recvWindow?: number;
10952
+ readonly recvWindow?: number | bigint;
10953
10953
  }
10954
10954
  /**
10955
10955
  * Request parameters for getUserCommissionRateForUm operation in AccountApi.
@@ -10964,10 +10964,10 @@ interface GetUserCommissionRateForUmRequest {
10964
10964
  readonly symbol: string;
10965
10965
  /**
10966
10966
  *
10967
- * @type {number}
10967
+ * @type {number | bigint}
10968
10968
  * @memberof AccountApiGetUserCommissionRateForUm
10969
10969
  */
10970
- readonly recvWindow?: number;
10970
+ readonly recvWindow?: number | bigint;
10971
10971
  }
10972
10972
  /**
10973
10973
  * Request parameters for marginMaxBorrow operation in AccountApi.
@@ -10982,10 +10982,10 @@ interface MarginMaxBorrowRequest {
10982
10982
  readonly asset: string;
10983
10983
  /**
10984
10984
  *
10985
- * @type {number}
10985
+ * @type {number | bigint}
10986
10986
  * @memberof AccountApiMarginMaxBorrow
10987
10987
  */
10988
- readonly recvWindow?: number;
10988
+ readonly recvWindow?: number | bigint;
10989
10989
  }
10990
10990
  /**
10991
10991
  * Request parameters for portfolioMarginUmTradingQuantitativeRulesIndicators operation in AccountApi.
@@ -11000,10 +11000,10 @@ interface PortfolioMarginUmTradingQuantitativeRulesIndicatorsRequest {
11000
11000
  readonly symbol?: string;
11001
11001
  /**
11002
11002
  *
11003
- * @type {number}
11003
+ * @type {number | bigint}
11004
11004
  * @memberof AccountApiPortfolioMarginUmTradingQuantitativeRulesIndicators
11005
11005
  */
11006
- readonly recvWindow?: number;
11006
+ readonly recvWindow?: number | bigint;
11007
11007
  }
11008
11008
  /**
11009
11009
  * Request parameters for queryCmPositionInformation operation in AccountApi.
@@ -11024,10 +11024,10 @@ interface QueryCmPositionInformationRequest {
11024
11024
  readonly pair?: string;
11025
11025
  /**
11026
11026
  *
11027
- * @type {number}
11027
+ * @type {number | bigint}
11028
11028
  * @memberof AccountApiQueryCmPositionInformation
11029
11029
  */
11030
- readonly recvWindow?: number;
11030
+ readonly recvWindow?: number | bigint;
11031
11031
  }
11032
11032
  /**
11033
11033
  * Request parameters for queryMarginLoanRecord operation in AccountApi.
@@ -11042,34 +11042,34 @@ interface QueryMarginLoanRecordRequest {
11042
11042
  readonly asset: string;
11043
11043
  /**
11044
11044
  * the `tranId` in `POST/papi/v1/marginLoan`
11045
- * @type {number}
11045
+ * @type {number | bigint}
11046
11046
  * @memberof AccountApiQueryMarginLoanRecord
11047
11047
  */
11048
- readonly txId?: number;
11048
+ readonly txId?: number | bigint;
11049
11049
  /**
11050
11050
  * Timestamp in ms to get funding from INCLUSIVE.
11051
- * @type {number}
11051
+ * @type {number | bigint}
11052
11052
  * @memberof AccountApiQueryMarginLoanRecord
11053
11053
  */
11054
- readonly startTime?: number;
11054
+ readonly startTime?: number | bigint;
11055
11055
  /**
11056
11056
  * Timestamp in ms to get funding until INCLUSIVE.
11057
- * @type {number}
11057
+ * @type {number | bigint}
11058
11058
  * @memberof AccountApiQueryMarginLoanRecord
11059
11059
  */
11060
- readonly endTime?: number;
11060
+ readonly endTime?: number | bigint;
11061
11061
  /**
11062
11062
  * Currently querying page. Start from 1. Default:1
11063
- * @type {number}
11063
+ * @type {number | bigint}
11064
11064
  * @memberof AccountApiQueryMarginLoanRecord
11065
11065
  */
11066
- readonly current?: number;
11066
+ readonly current?: number | bigint;
11067
11067
  /**
11068
11068
  * Default:10 Max:100
11069
- * @type {number}
11069
+ * @type {number | bigint}
11070
11070
  * @memberof AccountApiQueryMarginLoanRecord
11071
11071
  */
11072
- readonly size?: number;
11072
+ readonly size?: number | bigint;
11073
11073
  /**
11074
11074
  * Default: `false`. Set to `true` for archived data from 6 months ago
11075
11075
  * @type {string}
@@ -11078,10 +11078,10 @@ interface QueryMarginLoanRecordRequest {
11078
11078
  readonly archived?: string;
11079
11079
  /**
11080
11080
  *
11081
- * @type {number}
11081
+ * @type {number | bigint}
11082
11082
  * @memberof AccountApiQueryMarginLoanRecord
11083
11083
  */
11084
- readonly recvWindow?: number;
11084
+ readonly recvWindow?: number | bigint;
11085
11085
  }
11086
11086
  /**
11087
11087
  * Request parameters for queryMarginMaxWithdraw operation in AccountApi.
@@ -11096,10 +11096,10 @@ interface QueryMarginMaxWithdrawRequest {
11096
11096
  readonly asset: string;
11097
11097
  /**
11098
11098
  *
11099
- * @type {number}
11099
+ * @type {number | bigint}
11100
11100
  * @memberof AccountApiQueryMarginMaxWithdraw
11101
11101
  */
11102
- readonly recvWindow?: number;
11102
+ readonly recvWindow?: number | bigint;
11103
11103
  }
11104
11104
  /**
11105
11105
  * Request parameters for queryMarginRepayRecord operation in AccountApi.
@@ -11114,34 +11114,34 @@ interface QueryMarginRepayRecordRequest {
11114
11114
  readonly asset: string;
11115
11115
  /**
11116
11116
  * the `tranId` in `POST/papi/v1/marginLoan`
11117
- * @type {number}
11117
+ * @type {number | bigint}
11118
11118
  * @memberof AccountApiQueryMarginRepayRecord
11119
11119
  */
11120
- readonly txId?: number;
11120
+ readonly txId?: number | bigint;
11121
11121
  /**
11122
11122
  * Timestamp in ms to get funding from INCLUSIVE.
11123
- * @type {number}
11123
+ * @type {number | bigint}
11124
11124
  * @memberof AccountApiQueryMarginRepayRecord
11125
11125
  */
11126
- readonly startTime?: number;
11126
+ readonly startTime?: number | bigint;
11127
11127
  /**
11128
11128
  * Timestamp in ms to get funding until INCLUSIVE.
11129
- * @type {number}
11129
+ * @type {number | bigint}
11130
11130
  * @memberof AccountApiQueryMarginRepayRecord
11131
11131
  */
11132
- readonly endTime?: number;
11132
+ readonly endTime?: number | bigint;
11133
11133
  /**
11134
11134
  * Currently querying page. Start from 1. Default:1
11135
- * @type {number}
11135
+ * @type {number | bigint}
11136
11136
  * @memberof AccountApiQueryMarginRepayRecord
11137
11137
  */
11138
- readonly current?: number;
11138
+ readonly current?: number | bigint;
11139
11139
  /**
11140
11140
  * Default:10 Max:100
11141
- * @type {number}
11141
+ * @type {number | bigint}
11142
11142
  * @memberof AccountApiQueryMarginRepayRecord
11143
11143
  */
11144
- readonly size?: number;
11144
+ readonly size?: number | bigint;
11145
11145
  /**
11146
11146
  * Default: `false`. Set to `true` for archived data from 6 months ago
11147
11147
  * @type {string}
@@ -11150,10 +11150,10 @@ interface QueryMarginRepayRecordRequest {
11150
11150
  readonly archived?: string;
11151
11151
  /**
11152
11152
  *
11153
- * @type {number}
11153
+ * @type {number | bigint}
11154
11154
  * @memberof AccountApiQueryMarginRepayRecord
11155
11155
  */
11156
- readonly recvWindow?: number;
11156
+ readonly recvWindow?: number | bigint;
11157
11157
  }
11158
11158
  /**
11159
11159
  * Request parameters for queryPortfolioMarginNegativeBalanceInterestHistory operation in AccountApi.
@@ -11168,28 +11168,28 @@ interface QueryPortfolioMarginNegativeBalanceInterestHistoryRequest {
11168
11168
  readonly asset?: string;
11169
11169
  /**
11170
11170
  * Timestamp in ms to get funding from INCLUSIVE.
11171
- * @type {number}
11171
+ * @type {number | bigint}
11172
11172
  * @memberof AccountApiQueryPortfolioMarginNegativeBalanceInterestHistory
11173
11173
  */
11174
- readonly startTime?: number;
11174
+ readonly startTime?: number | bigint;
11175
11175
  /**
11176
11176
  * Timestamp in ms to get funding until INCLUSIVE.
11177
- * @type {number}
11177
+ * @type {number | bigint}
11178
11178
  * @memberof AccountApiQueryPortfolioMarginNegativeBalanceInterestHistory
11179
11179
  */
11180
- readonly endTime?: number;
11180
+ readonly endTime?: number | bigint;
11181
11181
  /**
11182
11182
  * Default:10 Max:100
11183
- * @type {number}
11183
+ * @type {number | bigint}
11184
11184
  * @memberof AccountApiQueryPortfolioMarginNegativeBalanceInterestHistory
11185
11185
  */
11186
- readonly size?: number;
11186
+ readonly size?: number | bigint;
11187
11187
  /**
11188
11188
  *
11189
- * @type {number}
11189
+ * @type {number | bigint}
11190
11190
  * @memberof AccountApiQueryPortfolioMarginNegativeBalanceInterestHistory
11191
11191
  */
11192
- readonly recvWindow?: number;
11192
+ readonly recvWindow?: number | bigint;
11193
11193
  }
11194
11194
  /**
11195
11195
  * Request parameters for queryUmPositionInformation operation in AccountApi.
@@ -11204,10 +11204,10 @@ interface QueryUmPositionInformationRequest {
11204
11204
  readonly symbol?: string;
11205
11205
  /**
11206
11206
  *
11207
- * @type {number}
11207
+ * @type {number | bigint}
11208
11208
  * @memberof AccountApiQueryUmPositionInformation
11209
11209
  */
11210
- readonly recvWindow?: number;
11210
+ readonly recvWindow?: number | bigint;
11211
11211
  }
11212
11212
  /**
11213
11213
  * Request parameters for queryUserNegativeBalanceAutoExchangeRecord operation in AccountApi.
@@ -11216,22 +11216,22 @@ interface QueryUmPositionInformationRequest {
11216
11216
  interface QueryUserNegativeBalanceAutoExchangeRecordRequest {
11217
11217
  /**
11218
11218
  *
11219
- * @type {number}
11219
+ * @type {number | bigint}
11220
11220
  * @memberof AccountApiQueryUserNegativeBalanceAutoExchangeRecord
11221
11221
  */
11222
- readonly startTime: number;
11222
+ readonly startTime: number | bigint;
11223
11223
  /**
11224
11224
  *
11225
- * @type {number}
11225
+ * @type {number | bigint}
11226
11226
  * @memberof AccountApiQueryUserNegativeBalanceAutoExchangeRecord
11227
11227
  */
11228
- readonly endTime: number;
11228
+ readonly endTime: number | bigint;
11229
11229
  /**
11230
11230
  *
11231
- * @type {number}
11231
+ * @type {number | bigint}
11232
11232
  * @memberof AccountApiQueryUserNegativeBalanceAutoExchangeRecord
11233
11233
  */
11234
- readonly recvWindow?: number;
11234
+ readonly recvWindow?: number | bigint;
11235
11235
  }
11236
11236
  /**
11237
11237
  * Request parameters for queryUserRateLimit operation in AccountApi.
@@ -11240,10 +11240,10 @@ interface QueryUserNegativeBalanceAutoExchangeRecordRequest {
11240
11240
  interface QueryUserRateLimitRequest {
11241
11241
  /**
11242
11242
  *
11243
- * @type {number}
11243
+ * @type {number | bigint}
11244
11244
  * @memberof AccountApiQueryUserRateLimit
11245
11245
  */
11246
- readonly recvWindow?: number;
11246
+ readonly recvWindow?: number | bigint;
11247
11247
  }
11248
11248
  /**
11249
11249
  * Request parameters for repayFuturesNegativeBalance operation in AccountApi.
@@ -11252,10 +11252,10 @@ interface QueryUserRateLimitRequest {
11252
11252
  interface RepayFuturesNegativeBalanceRequest {
11253
11253
  /**
11254
11254
  *
11255
- * @type {number}
11255
+ * @type {number | bigint}
11256
11256
  * @memberof AccountApiRepayFuturesNegativeBalance
11257
11257
  */
11258
- readonly recvWindow?: number;
11258
+ readonly recvWindow?: number | bigint;
11259
11259
  }
11260
11260
  /**
11261
11261
  * Request parameters for umFuturesAccountConfiguration operation in AccountApi.
@@ -11264,10 +11264,10 @@ interface RepayFuturesNegativeBalanceRequest {
11264
11264
  interface UmFuturesAccountConfigurationRequest {
11265
11265
  /**
11266
11266
  *
11267
- * @type {number}
11267
+ * @type {number | bigint}
11268
11268
  * @memberof AccountApiUmFuturesAccountConfiguration
11269
11269
  */
11270
- readonly recvWindow?: number;
11270
+ readonly recvWindow?: number | bigint;
11271
11271
  }
11272
11272
  /**
11273
11273
  * Request parameters for umFuturesSymbolConfiguration operation in AccountApi.
@@ -11282,10 +11282,10 @@ interface UmFuturesSymbolConfigurationRequest {
11282
11282
  readonly symbol?: string;
11283
11283
  /**
11284
11284
  *
11285
- * @type {number}
11285
+ * @type {number | bigint}
11286
11286
  * @memberof AccountApiUmFuturesSymbolConfiguration
11287
11287
  */
11288
- readonly recvWindow?: number;
11288
+ readonly recvWindow?: number | bigint;
11289
11289
  }
11290
11290
  /**
11291
11291
  * Request parameters for umNotionalAndLeverageBrackets operation in AccountApi.
@@ -11300,10 +11300,10 @@ interface UmNotionalAndLeverageBracketsRequest {
11300
11300
  readonly symbol?: string;
11301
11301
  /**
11302
11302
  *
11303
- * @type {number}
11303
+ * @type {number | bigint}
11304
11304
  * @memberof AccountApiUmNotionalAndLeverageBrackets
11305
11305
  */
11306
- readonly recvWindow?: number;
11306
+ readonly recvWindow?: number | bigint;
11307
11307
  }
11308
11308
  /**
11309
11309
  * AccountApi - object-oriented interface
@@ -12913,10 +12913,10 @@ interface CancelAllCmOpenConditionalOrdersRequest {
12913
12913
  readonly symbol: string;
12914
12914
  /**
12915
12915
  *
12916
- * @type {number}
12916
+ * @type {number | bigint}
12917
12917
  * @memberof TradeApiCancelAllCmOpenConditionalOrders
12918
12918
  */
12919
- readonly recvWindow?: number;
12919
+ readonly recvWindow?: number | bigint;
12920
12920
  }
12921
12921
  /**
12922
12922
  * Request parameters for cancelAllCmOpenOrders operation in TradeApi.
@@ -12931,10 +12931,10 @@ interface CancelAllCmOpenOrdersRequest {
12931
12931
  readonly symbol: string;
12932
12932
  /**
12933
12933
  *
12934
- * @type {number}
12934
+ * @type {number | bigint}
12935
12935
  * @memberof TradeApiCancelAllCmOpenOrders
12936
12936
  */
12937
- readonly recvWindow?: number;
12937
+ readonly recvWindow?: number | bigint;
12938
12938
  }
12939
12939
  /**
12940
12940
  * Request parameters for cancelAllUmOpenConditionalOrders operation in TradeApi.
@@ -12949,10 +12949,10 @@ interface CancelAllUmOpenConditionalOrdersRequest {
12949
12949
  readonly symbol: string;
12950
12950
  /**
12951
12951
  *
12952
- * @type {number}
12952
+ * @type {number | bigint}
12953
12953
  * @memberof TradeApiCancelAllUmOpenConditionalOrders
12954
12954
  */
12955
- readonly recvWindow?: number;
12955
+ readonly recvWindow?: number | bigint;
12956
12956
  }
12957
12957
  /**
12958
12958
  * Request parameters for cancelAllUmOpenOrders operation in TradeApi.
@@ -12967,10 +12967,10 @@ interface CancelAllUmOpenOrdersRequest {
12967
12967
  readonly symbol: string;
12968
12968
  /**
12969
12969
  *
12970
- * @type {number}
12970
+ * @type {number | bigint}
12971
12971
  * @memberof TradeApiCancelAllUmOpenOrders
12972
12972
  */
12973
- readonly recvWindow?: number;
12973
+ readonly recvWindow?: number | bigint;
12974
12974
  }
12975
12975
  /**
12976
12976
  * Request parameters for cancelCmConditionalOrder operation in TradeApi.
@@ -12985,10 +12985,10 @@ interface CancelCmConditionalOrderRequest {
12985
12985
  readonly symbol: string;
12986
12986
  /**
12987
12987
  *
12988
- * @type {number}
12988
+ * @type {number | bigint}
12989
12989
  * @memberof TradeApiCancelCmConditionalOrder
12990
12990
  */
12991
- readonly strategyId?: number;
12991
+ readonly strategyId?: number | bigint;
12992
12992
  /**
12993
12993
  *
12994
12994
  * @type {string}
@@ -12997,10 +12997,10 @@ interface CancelCmConditionalOrderRequest {
12997
12997
  readonly newClientStrategyId?: string;
12998
12998
  /**
12999
12999
  *
13000
- * @type {number}
13000
+ * @type {number | bigint}
13001
13001
  * @memberof TradeApiCancelCmConditionalOrder
13002
13002
  */
13003
- readonly recvWindow?: number;
13003
+ readonly recvWindow?: number | bigint;
13004
13004
  }
13005
13005
  /**
13006
13006
  * Request parameters for cancelCmOrder operation in TradeApi.
@@ -13015,10 +13015,10 @@ interface CancelCmOrderRequest {
13015
13015
  readonly symbol: string;
13016
13016
  /**
13017
13017
  *
13018
- * @type {number}
13018
+ * @type {number | bigint}
13019
13019
  * @memberof TradeApiCancelCmOrder
13020
13020
  */
13021
- readonly orderId?: number;
13021
+ readonly orderId?: number | bigint;
13022
13022
  /**
13023
13023
  *
13024
13024
  * @type {string}
@@ -13027,10 +13027,10 @@ interface CancelCmOrderRequest {
13027
13027
  readonly origClientOrderId?: string;
13028
13028
  /**
13029
13029
  *
13030
- * @type {number}
13030
+ * @type {number | bigint}
13031
13031
  * @memberof TradeApiCancelCmOrder
13032
13032
  */
13033
- readonly recvWindow?: number;
13033
+ readonly recvWindow?: number | bigint;
13034
13034
  }
13035
13035
  /**
13036
13036
  * Request parameters for cancelMarginAccountAllOpenOrdersOnASymbol operation in TradeApi.
@@ -13045,10 +13045,10 @@ interface CancelMarginAccountAllOpenOrdersOnASymbolRequest {
13045
13045
  readonly symbol: string;
13046
13046
  /**
13047
13047
  *
13048
- * @type {number}
13048
+ * @type {number | bigint}
13049
13049
  * @memberof TradeApiCancelMarginAccountAllOpenOrdersOnASymbol
13050
13050
  */
13051
- readonly recvWindow?: number;
13051
+ readonly recvWindow?: number | bigint;
13052
13052
  }
13053
13053
  /**
13054
13054
  * Request parameters for cancelMarginAccountOcoOrders operation in TradeApi.
@@ -13063,10 +13063,10 @@ interface CancelMarginAccountOcoOrdersRequest {
13063
13063
  readonly symbol: string;
13064
13064
  /**
13065
13065
  * Either `orderListId` or `listClientOrderId` must be provided
13066
- * @type {number}
13066
+ * @type {number | bigint}
13067
13067
  * @memberof TradeApiCancelMarginAccountOcoOrders
13068
13068
  */
13069
- readonly orderListId?: number;
13069
+ readonly orderListId?: number | bigint;
13070
13070
  /**
13071
13071
  * Either `orderListId` or `listClientOrderId` must be provided
13072
13072
  * @type {string}
@@ -13081,10 +13081,10 @@ interface CancelMarginAccountOcoOrdersRequest {
13081
13081
  readonly newClientOrderId?: string;
13082
13082
  /**
13083
13083
  *
13084
- * @type {number}
13084
+ * @type {number | bigint}
13085
13085
  * @memberof TradeApiCancelMarginAccountOcoOrders
13086
13086
  */
13087
- readonly recvWindow?: number;
13087
+ readonly recvWindow?: number | bigint;
13088
13088
  }
13089
13089
  /**
13090
13090
  * Request parameters for cancelMarginAccountOrder operation in TradeApi.
@@ -13099,10 +13099,10 @@ interface CancelMarginAccountOrderRequest {
13099
13099
  readonly symbol: string;
13100
13100
  /**
13101
13101
  *
13102
- * @type {number}
13102
+ * @type {number | bigint}
13103
13103
  * @memberof TradeApiCancelMarginAccountOrder
13104
13104
  */
13105
- readonly orderId?: number;
13105
+ readonly orderId?: number | bigint;
13106
13106
  /**
13107
13107
  *
13108
13108
  * @type {string}
@@ -13117,10 +13117,10 @@ interface CancelMarginAccountOrderRequest {
13117
13117
  readonly newClientOrderId?: string;
13118
13118
  /**
13119
13119
  *
13120
- * @type {number}
13120
+ * @type {number | bigint}
13121
13121
  * @memberof TradeApiCancelMarginAccountOrder
13122
13122
  */
13123
- readonly recvWindow?: number;
13123
+ readonly recvWindow?: number | bigint;
13124
13124
  }
13125
13125
  /**
13126
13126
  * Request parameters for cancelUmConditionalOrder operation in TradeApi.
@@ -13135,10 +13135,10 @@ interface CancelUmConditionalOrderRequest {
13135
13135
  readonly symbol: string;
13136
13136
  /**
13137
13137
  *
13138
- * @type {number}
13138
+ * @type {number | bigint}
13139
13139
  * @memberof TradeApiCancelUmConditionalOrder
13140
13140
  */
13141
- readonly strategyId?: number;
13141
+ readonly strategyId?: number | bigint;
13142
13142
  /**
13143
13143
  *
13144
13144
  * @type {string}
@@ -13147,10 +13147,10 @@ interface CancelUmConditionalOrderRequest {
13147
13147
  readonly newClientStrategyId?: string;
13148
13148
  /**
13149
13149
  *
13150
- * @type {number}
13150
+ * @type {number | bigint}
13151
13151
  * @memberof TradeApiCancelUmConditionalOrder
13152
13152
  */
13153
- readonly recvWindow?: number;
13153
+ readonly recvWindow?: number | bigint;
13154
13154
  }
13155
13155
  /**
13156
13156
  * Request parameters for cancelUmOrder operation in TradeApi.
@@ -13165,10 +13165,10 @@ interface CancelUmOrderRequest {
13165
13165
  readonly symbol: string;
13166
13166
  /**
13167
13167
  *
13168
- * @type {number}
13168
+ * @type {number | bigint}
13169
13169
  * @memberof TradeApiCancelUmOrder
13170
13170
  */
13171
- readonly orderId?: number;
13171
+ readonly orderId?: number | bigint;
13172
13172
  /**
13173
13173
  *
13174
13174
  * @type {string}
@@ -13177,10 +13177,10 @@ interface CancelUmOrderRequest {
13177
13177
  readonly origClientOrderId?: string;
13178
13178
  /**
13179
13179
  *
13180
- * @type {number}
13180
+ * @type {number | bigint}
13181
13181
  * @memberof TradeApiCancelUmOrder
13182
13182
  */
13183
- readonly recvWindow?: number;
13183
+ readonly recvWindow?: number | bigint;
13184
13184
  }
13185
13185
  /**
13186
13186
  * Request parameters for cmAccountTradeList operation in TradeApi.
@@ -13201,34 +13201,34 @@ interface CmAccountTradeListRequest {
13201
13201
  readonly pair?: string;
13202
13202
  /**
13203
13203
  * Timestamp in ms to get funding from INCLUSIVE.
13204
- * @type {number}
13204
+ * @type {number | bigint}
13205
13205
  * @memberof TradeApiCmAccountTradeList
13206
13206
  */
13207
- readonly startTime?: number;
13207
+ readonly startTime?: number | bigint;
13208
13208
  /**
13209
13209
  * Timestamp in ms to get funding until INCLUSIVE.
13210
- * @type {number}
13210
+ * @type {number | bigint}
13211
13211
  * @memberof TradeApiCmAccountTradeList
13212
13212
  */
13213
- readonly endTime?: number;
13213
+ readonly endTime?: number | bigint;
13214
13214
  /**
13215
13215
  * Trade id to fetch from. Default gets most recent trades.
13216
- * @type {number}
13216
+ * @type {number | bigint}
13217
13217
  * @memberof TradeApiCmAccountTradeList
13218
13218
  */
13219
- readonly fromId?: number;
13219
+ readonly fromId?: number | bigint;
13220
13220
  /**
13221
13221
  * Default 100; max 1000
13222
- * @type {number}
13222
+ * @type {number | bigint}
13223
13223
  * @memberof TradeApiCmAccountTradeList
13224
13224
  */
13225
- readonly limit?: number;
13225
+ readonly limit?: number | bigint;
13226
13226
  /**
13227
13227
  *
13228
- * @type {number}
13228
+ * @type {number | bigint}
13229
13229
  * @memberof TradeApiCmAccountTradeList
13230
13230
  */
13231
- readonly recvWindow?: number;
13231
+ readonly recvWindow?: number | bigint;
13232
13232
  }
13233
13233
  /**
13234
13234
  * Request parameters for cmPositionAdlQuantileEstimation operation in TradeApi.
@@ -13243,10 +13243,10 @@ interface CmPositionAdlQuantileEstimationRequest {
13243
13243
  readonly symbol?: string;
13244
13244
  /**
13245
13245
  *
13246
- * @type {number}
13246
+ * @type {number | bigint}
13247
13247
  * @memberof TradeApiCmPositionAdlQuantileEstimation
13248
13248
  */
13249
- readonly recvWindow?: number;
13249
+ readonly recvWindow?: number | bigint;
13250
13250
  }
13251
13251
  /**
13252
13252
  * Request parameters for getUmFuturesBnbBurnStatus operation in TradeApi.
@@ -13255,10 +13255,10 @@ interface CmPositionAdlQuantileEstimationRequest {
13255
13255
  interface GetUmFuturesBnbBurnStatusRequest {
13256
13256
  /**
13257
13257
  *
13258
- * @type {number}
13258
+ * @type {number | bigint}
13259
13259
  * @memberof TradeApiGetUmFuturesBnbBurnStatus
13260
13260
  */
13261
- readonly recvWindow?: number;
13261
+ readonly recvWindow?: number | bigint;
13262
13262
  }
13263
13263
  /**
13264
13264
  * Request parameters for marginAccountBorrow operation in TradeApi.
@@ -13279,10 +13279,10 @@ interface MarginAccountBorrowRequest {
13279
13279
  readonly amount: number;
13280
13280
  /**
13281
13281
  *
13282
- * @type {number}
13282
+ * @type {number | bigint}
13283
13283
  * @memberof TradeApiMarginAccountBorrow
13284
13284
  */
13285
- readonly recvWindow?: number;
13285
+ readonly recvWindow?: number | bigint;
13286
13286
  }
13287
13287
  /**
13288
13288
  * Request parameters for marginAccountNewOco operation in TradeApi.
@@ -13375,10 +13375,10 @@ interface MarginAccountNewOcoRequest {
13375
13375
  readonly sideEffectType?: MarginAccountNewOcoSideEffectTypeEnum;
13376
13376
  /**
13377
13377
  *
13378
- * @type {number}
13378
+ * @type {number | bigint}
13379
13379
  * @memberof TradeApiMarginAccountNewOco
13380
13380
  */
13381
- readonly recvWindow?: number;
13381
+ readonly recvWindow?: number | bigint;
13382
13382
  }
13383
13383
  /**
13384
13384
  * Request parameters for marginAccountRepay operation in TradeApi.
@@ -13399,10 +13399,10 @@ interface MarginAccountRepayRequest {
13399
13399
  readonly amount: number;
13400
13400
  /**
13401
13401
  *
13402
- * @type {number}
13402
+ * @type {number | bigint}
13403
13403
  * @memberof TradeApiMarginAccountRepay
13404
13404
  */
13405
- readonly recvWindow?: number;
13405
+ readonly recvWindow?: number | bigint;
13406
13406
  }
13407
13407
  /**
13408
13408
  * Request parameters for marginAccountRepayDebt operation in TradeApi.
@@ -13429,10 +13429,10 @@ interface MarginAccountRepayDebtRequest {
13429
13429
  readonly specifyRepayAssets?: string;
13430
13430
  /**
13431
13431
  *
13432
- * @type {number}
13432
+ * @type {number | bigint}
13433
13433
  * @memberof TradeApiMarginAccountRepayDebt
13434
13434
  */
13435
- readonly recvWindow?: number;
13435
+ readonly recvWindow?: number | bigint;
13436
13436
  }
13437
13437
  /**
13438
13438
  * Request parameters for marginAccountTradeList operation in TradeApi.
@@ -13447,40 +13447,40 @@ interface MarginAccountTradeListRequest {
13447
13447
  readonly symbol: string;
13448
13448
  /**
13449
13449
  *
13450
- * @type {number}
13450
+ * @type {number | bigint}
13451
13451
  * @memberof TradeApiMarginAccountTradeList
13452
13452
  */
13453
- readonly orderId?: number;
13453
+ readonly orderId?: number | bigint;
13454
13454
  /**
13455
13455
  * Timestamp in ms to get funding from INCLUSIVE.
13456
- * @type {number}
13456
+ * @type {number | bigint}
13457
13457
  * @memberof TradeApiMarginAccountTradeList
13458
13458
  */
13459
- readonly startTime?: number;
13459
+ readonly startTime?: number | bigint;
13460
13460
  /**
13461
13461
  * Timestamp in ms to get funding until INCLUSIVE.
13462
- * @type {number}
13462
+ * @type {number | bigint}
13463
13463
  * @memberof TradeApiMarginAccountTradeList
13464
13464
  */
13465
- readonly endTime?: number;
13465
+ readonly endTime?: number | bigint;
13466
13466
  /**
13467
13467
  * Trade id to fetch from. Default gets most recent trades.
13468
- * @type {number}
13468
+ * @type {number | bigint}
13469
13469
  * @memberof TradeApiMarginAccountTradeList
13470
13470
  */
13471
- readonly fromId?: number;
13471
+ readonly fromId?: number | bigint;
13472
13472
  /**
13473
13473
  * Default 100; max 1000
13474
- * @type {number}
13474
+ * @type {number | bigint}
13475
13475
  * @memberof TradeApiMarginAccountTradeList
13476
13476
  */
13477
- readonly limit?: number;
13477
+ readonly limit?: number | bigint;
13478
13478
  /**
13479
13479
  *
13480
- * @type {number}
13480
+ * @type {number | bigint}
13481
13481
  * @memberof TradeApiMarginAccountTradeList
13482
13482
  */
13483
- readonly recvWindow?: number;
13483
+ readonly recvWindow?: number | bigint;
13484
13484
  }
13485
13485
  /**
13486
13486
  * Request parameters for modifyCmOrder operation in TradeApi.
@@ -13513,10 +13513,10 @@ interface ModifyCmOrderRequest {
13513
13513
  readonly price: number;
13514
13514
  /**
13515
13515
  *
13516
- * @type {number}
13516
+ * @type {number | bigint}
13517
13517
  * @memberof TradeApiModifyCmOrder
13518
13518
  */
13519
- readonly orderId?: number;
13519
+ readonly orderId?: number | bigint;
13520
13520
  /**
13521
13521
  *
13522
13522
  * @type {string}
@@ -13531,10 +13531,10 @@ interface ModifyCmOrderRequest {
13531
13531
  readonly priceMatch?: ModifyCmOrderPriceMatchEnum;
13532
13532
  /**
13533
13533
  *
13534
- * @type {number}
13534
+ * @type {number | bigint}
13535
13535
  * @memberof TradeApiModifyCmOrder
13536
13536
  */
13537
- readonly recvWindow?: number;
13537
+ readonly recvWindow?: number | bigint;
13538
13538
  }
13539
13539
  /**
13540
13540
  * Request parameters for modifyUmOrder operation in TradeApi.
@@ -13567,10 +13567,10 @@ interface ModifyUmOrderRequest {
13567
13567
  readonly price: number;
13568
13568
  /**
13569
13569
  *
13570
- * @type {number}
13570
+ * @type {number | bigint}
13571
13571
  * @memberof TradeApiModifyUmOrder
13572
13572
  */
13573
- readonly orderId?: number;
13573
+ readonly orderId?: number | bigint;
13574
13574
  /**
13575
13575
  *
13576
13576
  * @type {string}
@@ -13585,10 +13585,10 @@ interface ModifyUmOrderRequest {
13585
13585
  readonly priceMatch?: ModifyUmOrderPriceMatchEnum;
13586
13586
  /**
13587
13587
  *
13588
- * @type {number}
13588
+ * @type {number | bigint}
13589
13589
  * @memberof TradeApiModifyUmOrder
13590
13590
  */
13591
- readonly recvWindow?: number;
13591
+ readonly recvWindow?: number | bigint;
13592
13592
  }
13593
13593
  /**
13594
13594
  * Request parameters for newCmConditionalOrder operation in TradeApi.
@@ -13681,10 +13681,10 @@ interface NewCmConditionalOrderRequest {
13681
13681
  readonly callbackRate?: number;
13682
13682
  /**
13683
13683
  *
13684
- * @type {number}
13684
+ * @type {number | bigint}
13685
13685
  * @memberof TradeApiNewCmConditionalOrder
13686
13686
  */
13687
- readonly recvWindow?: number;
13687
+ readonly recvWindow?: number | bigint;
13688
13688
  }
13689
13689
  /**
13690
13690
  * Request parameters for newCmOrder operation in TradeApi.
@@ -13759,10 +13759,10 @@ interface NewCmOrderRequest {
13759
13759
  readonly newOrderRespType?: NewCmOrderNewOrderRespTypeEnum;
13760
13760
  /**
13761
13761
  *
13762
- * @type {number}
13762
+ * @type {number | bigint}
13763
13763
  * @memberof TradeApiNewCmOrder
13764
13764
  */
13765
- readonly recvWindow?: number;
13765
+ readonly recvWindow?: number | bigint;
13766
13766
  }
13767
13767
  /**
13768
13768
  * Request parameters for newMarginOrder operation in TradeApi.
@@ -13855,10 +13855,10 @@ interface NewMarginOrderRequest {
13855
13855
  readonly autoRepayAtCancel?: boolean;
13856
13856
  /**
13857
13857
  *
13858
- * @type {number}
13858
+ * @type {number | bigint}
13859
13859
  * @memberof TradeApiNewMarginOrder
13860
13860
  */
13861
- readonly recvWindow?: number;
13861
+ readonly recvWindow?: number | bigint;
13862
13862
  }
13863
13863
  /**
13864
13864
  * Request parameters for newUmConditionalOrder operation in TradeApi.
@@ -13963,16 +13963,16 @@ interface NewUmConditionalOrderRequest {
13963
13963
  readonly selfTradePreventionMode?: NewUmConditionalOrderSelfTradePreventionModeEnum;
13964
13964
  /**
13965
13965
  * order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
13966
- * @type {number}
13966
+ * @type {number | bigint}
13967
13967
  * @memberof TradeApiNewUmConditionalOrder
13968
13968
  */
13969
- readonly goodTillDate?: number;
13969
+ readonly goodTillDate?: number | bigint;
13970
13970
  /**
13971
13971
  *
13972
- * @type {number}
13972
+ * @type {number | bigint}
13973
13973
  * @memberof TradeApiNewUmConditionalOrder
13974
13974
  */
13975
- readonly recvWindow?: number;
13975
+ readonly recvWindow?: number | bigint;
13976
13976
  }
13977
13977
  /**
13978
13978
  * Request parameters for newUmOrder operation in TradeApi.
@@ -14053,16 +14053,16 @@ interface NewUmOrderRequest {
14053
14053
  readonly selfTradePreventionMode?: NewUmOrderSelfTradePreventionModeEnum;
14054
14054
  /**
14055
14055
  * order cancel time for timeInForce `GTD`, mandatory when `timeInforce` set to `GTD`; order the timestamp only retains second-level precision, ms part will be ignored; The goodTillDate timestamp must be greater than the current time plus 600 seconds and smaller than 253402300799000Mode. It must be sent in Hedge Mode.
14056
- * @type {number}
14056
+ * @type {number | bigint}
14057
14057
  * @memberof TradeApiNewUmOrder
14058
14058
  */
14059
- readonly goodTillDate?: number;
14059
+ readonly goodTillDate?: number | bigint;
14060
14060
  /**
14061
14061
  *
14062
- * @type {number}
14062
+ * @type {number | bigint}
14063
14063
  * @memberof TradeApiNewUmOrder
14064
14064
  */
14065
- readonly recvWindow?: number;
14065
+ readonly recvWindow?: number | bigint;
14066
14066
  }
14067
14067
  /**
14068
14068
  * Request parameters for queryAllCmConditionalOrders operation in TradeApi.
@@ -14077,34 +14077,34 @@ interface QueryAllCmConditionalOrdersRequest {
14077
14077
  readonly symbol?: string;
14078
14078
  /**
14079
14079
  *
14080
- * @type {number}
14080
+ * @type {number | bigint}
14081
14081
  * @memberof TradeApiQueryAllCmConditionalOrders
14082
14082
  */
14083
- readonly strategyId?: number;
14083
+ readonly strategyId?: number | bigint;
14084
14084
  /**
14085
14085
  * Timestamp in ms to get funding from INCLUSIVE.
14086
- * @type {number}
14086
+ * @type {number | bigint}
14087
14087
  * @memberof TradeApiQueryAllCmConditionalOrders
14088
14088
  */
14089
- readonly startTime?: number;
14089
+ readonly startTime?: number | bigint;
14090
14090
  /**
14091
14091
  * Timestamp in ms to get funding until INCLUSIVE.
14092
- * @type {number}
14092
+ * @type {number | bigint}
14093
14093
  * @memberof TradeApiQueryAllCmConditionalOrders
14094
14094
  */
14095
- readonly endTime?: number;
14095
+ readonly endTime?: number | bigint;
14096
14096
  /**
14097
14097
  * Default 100; max 1000
14098
- * @type {number}
14098
+ * @type {number | bigint}
14099
14099
  * @memberof TradeApiQueryAllCmConditionalOrders
14100
14100
  */
14101
- readonly limit?: number;
14101
+ readonly limit?: number | bigint;
14102
14102
  /**
14103
14103
  *
14104
- * @type {number}
14104
+ * @type {number | bigint}
14105
14105
  * @memberof TradeApiQueryAllCmConditionalOrders
14106
14106
  */
14107
- readonly recvWindow?: number;
14107
+ readonly recvWindow?: number | bigint;
14108
14108
  }
14109
14109
  /**
14110
14110
  * Request parameters for queryAllCmOrders operation in TradeApi.
@@ -14125,34 +14125,34 @@ interface QueryAllCmOrdersRequest {
14125
14125
  readonly pair?: string;
14126
14126
  /**
14127
14127
  *
14128
- * @type {number}
14128
+ * @type {number | bigint}
14129
14129
  * @memberof TradeApiQueryAllCmOrders
14130
14130
  */
14131
- readonly orderId?: number;
14131
+ readonly orderId?: number | bigint;
14132
14132
  /**
14133
14133
  * Timestamp in ms to get funding from INCLUSIVE.
14134
- * @type {number}
14134
+ * @type {number | bigint}
14135
14135
  * @memberof TradeApiQueryAllCmOrders
14136
14136
  */
14137
- readonly startTime?: number;
14137
+ readonly startTime?: number | bigint;
14138
14138
  /**
14139
14139
  * Timestamp in ms to get funding until INCLUSIVE.
14140
- * @type {number}
14140
+ * @type {number | bigint}
14141
14141
  * @memberof TradeApiQueryAllCmOrders
14142
14142
  */
14143
- readonly endTime?: number;
14143
+ readonly endTime?: number | bigint;
14144
14144
  /**
14145
14145
  * Default 100; max 1000
14146
- * @type {number}
14146
+ * @type {number | bigint}
14147
14147
  * @memberof TradeApiQueryAllCmOrders
14148
14148
  */
14149
- readonly limit?: number;
14149
+ readonly limit?: number | bigint;
14150
14150
  /**
14151
14151
  *
14152
- * @type {number}
14152
+ * @type {number | bigint}
14153
14153
  * @memberof TradeApiQueryAllCmOrders
14154
14154
  */
14155
- readonly recvWindow?: number;
14155
+ readonly recvWindow?: number | bigint;
14156
14156
  }
14157
14157
  /**
14158
14158
  * Request parameters for queryAllCurrentCmOpenConditionalOrders operation in TradeApi.
@@ -14167,10 +14167,10 @@ interface QueryAllCurrentCmOpenConditionalOrdersRequest {
14167
14167
  readonly symbol?: string;
14168
14168
  /**
14169
14169
  *
14170
- * @type {number}
14170
+ * @type {number | bigint}
14171
14171
  * @memberof TradeApiQueryAllCurrentCmOpenConditionalOrders
14172
14172
  */
14173
- readonly recvWindow?: number;
14173
+ readonly recvWindow?: number | bigint;
14174
14174
  }
14175
14175
  /**
14176
14176
  * Request parameters for queryAllCurrentCmOpenOrders operation in TradeApi.
@@ -14191,10 +14191,10 @@ interface QueryAllCurrentCmOpenOrdersRequest {
14191
14191
  readonly pair?: string;
14192
14192
  /**
14193
14193
  *
14194
- * @type {number}
14194
+ * @type {number | bigint}
14195
14195
  * @memberof TradeApiQueryAllCurrentCmOpenOrders
14196
14196
  */
14197
- readonly recvWindow?: number;
14197
+ readonly recvWindow?: number | bigint;
14198
14198
  }
14199
14199
  /**
14200
14200
  * Request parameters for queryAllCurrentUmOpenConditionalOrders operation in TradeApi.
@@ -14209,10 +14209,10 @@ interface QueryAllCurrentUmOpenConditionalOrdersRequest {
14209
14209
  readonly symbol?: string;
14210
14210
  /**
14211
14211
  *
14212
- * @type {number}
14212
+ * @type {number | bigint}
14213
14213
  * @memberof TradeApiQueryAllCurrentUmOpenConditionalOrders
14214
14214
  */
14215
- readonly recvWindow?: number;
14215
+ readonly recvWindow?: number | bigint;
14216
14216
  }
14217
14217
  /**
14218
14218
  * Request parameters for queryAllCurrentUmOpenOrders operation in TradeApi.
@@ -14227,10 +14227,10 @@ interface QueryAllCurrentUmOpenOrdersRequest {
14227
14227
  readonly symbol?: string;
14228
14228
  /**
14229
14229
  *
14230
- * @type {number}
14230
+ * @type {number | bigint}
14231
14231
  * @memberof TradeApiQueryAllCurrentUmOpenOrders
14232
14232
  */
14233
- readonly recvWindow?: number;
14233
+ readonly recvWindow?: number | bigint;
14234
14234
  }
14235
14235
  /**
14236
14236
  * Request parameters for queryAllMarginAccountOrders operation in TradeApi.
@@ -14245,34 +14245,34 @@ interface QueryAllMarginAccountOrdersRequest {
14245
14245
  readonly symbol: string;
14246
14246
  /**
14247
14247
  *
14248
- * @type {number}
14248
+ * @type {number | bigint}
14249
14249
  * @memberof TradeApiQueryAllMarginAccountOrders
14250
14250
  */
14251
- readonly orderId?: number;
14251
+ readonly orderId?: number | bigint;
14252
14252
  /**
14253
14253
  * Timestamp in ms to get funding from INCLUSIVE.
14254
- * @type {number}
14254
+ * @type {number | bigint}
14255
14255
  * @memberof TradeApiQueryAllMarginAccountOrders
14256
14256
  */
14257
- readonly startTime?: number;
14257
+ readonly startTime?: number | bigint;
14258
14258
  /**
14259
14259
  * Timestamp in ms to get funding until INCLUSIVE.
14260
- * @type {number}
14260
+ * @type {number | bigint}
14261
14261
  * @memberof TradeApiQueryAllMarginAccountOrders
14262
14262
  */
14263
- readonly endTime?: number;
14263
+ readonly endTime?: number | bigint;
14264
14264
  /**
14265
14265
  * Default 100; max 1000
14266
- * @type {number}
14266
+ * @type {number | bigint}
14267
14267
  * @memberof TradeApiQueryAllMarginAccountOrders
14268
14268
  */
14269
- readonly limit?: number;
14269
+ readonly limit?: number | bigint;
14270
14270
  /**
14271
14271
  *
14272
- * @type {number}
14272
+ * @type {number | bigint}
14273
14273
  * @memberof TradeApiQueryAllMarginAccountOrders
14274
14274
  */
14275
- readonly recvWindow?: number;
14275
+ readonly recvWindow?: number | bigint;
14276
14276
  }
14277
14277
  /**
14278
14278
  * Request parameters for queryAllUmConditionalOrders operation in TradeApi.
@@ -14287,34 +14287,34 @@ interface QueryAllUmConditionalOrdersRequest {
14287
14287
  readonly symbol?: string;
14288
14288
  /**
14289
14289
  *
14290
- * @type {number}
14290
+ * @type {number | bigint}
14291
14291
  * @memberof TradeApiQueryAllUmConditionalOrders
14292
14292
  */
14293
- readonly strategyId?: number;
14293
+ readonly strategyId?: number | bigint;
14294
14294
  /**
14295
14295
  * Timestamp in ms to get funding from INCLUSIVE.
14296
- * @type {number}
14296
+ * @type {number | bigint}
14297
14297
  * @memberof TradeApiQueryAllUmConditionalOrders
14298
14298
  */
14299
- readonly startTime?: number;
14299
+ readonly startTime?: number | bigint;
14300
14300
  /**
14301
14301
  * Timestamp in ms to get funding until INCLUSIVE.
14302
- * @type {number}
14302
+ * @type {number | bigint}
14303
14303
  * @memberof TradeApiQueryAllUmConditionalOrders
14304
14304
  */
14305
- readonly endTime?: number;
14305
+ readonly endTime?: number | bigint;
14306
14306
  /**
14307
14307
  * Default 100; max 1000
14308
- * @type {number}
14308
+ * @type {number | bigint}
14309
14309
  * @memberof TradeApiQueryAllUmConditionalOrders
14310
14310
  */
14311
- readonly limit?: number;
14311
+ readonly limit?: number | bigint;
14312
14312
  /**
14313
14313
  *
14314
- * @type {number}
14314
+ * @type {number | bigint}
14315
14315
  * @memberof TradeApiQueryAllUmConditionalOrders
14316
14316
  */
14317
- readonly recvWindow?: number;
14317
+ readonly recvWindow?: number | bigint;
14318
14318
  }
14319
14319
  /**
14320
14320
  * Request parameters for queryAllUmOrders operation in TradeApi.
@@ -14329,34 +14329,34 @@ interface QueryAllUmOrdersRequest {
14329
14329
  readonly symbol: string;
14330
14330
  /**
14331
14331
  *
14332
- * @type {number}
14332
+ * @type {number | bigint}
14333
14333
  * @memberof TradeApiQueryAllUmOrders
14334
14334
  */
14335
- readonly orderId?: number;
14335
+ readonly orderId?: number | bigint;
14336
14336
  /**
14337
14337
  * Timestamp in ms to get funding from INCLUSIVE.
14338
- * @type {number}
14338
+ * @type {number | bigint}
14339
14339
  * @memberof TradeApiQueryAllUmOrders
14340
14340
  */
14341
- readonly startTime?: number;
14341
+ readonly startTime?: number | bigint;
14342
14342
  /**
14343
14343
  * Timestamp in ms to get funding until INCLUSIVE.
14344
- * @type {number}
14344
+ * @type {number | bigint}
14345
14345
  * @memberof TradeApiQueryAllUmOrders
14346
14346
  */
14347
- readonly endTime?: number;
14347
+ readonly endTime?: number | bigint;
14348
14348
  /**
14349
14349
  * Default 100; max 1000
14350
- * @type {number}
14350
+ * @type {number | bigint}
14351
14351
  * @memberof TradeApiQueryAllUmOrders
14352
14352
  */
14353
- readonly limit?: number;
14353
+ readonly limit?: number | bigint;
14354
14354
  /**
14355
14355
  *
14356
- * @type {number}
14356
+ * @type {number | bigint}
14357
14357
  * @memberof TradeApiQueryAllUmOrders
14358
14358
  */
14359
- readonly recvWindow?: number;
14359
+ readonly recvWindow?: number | bigint;
14360
14360
  }
14361
14361
  /**
14362
14362
  * Request parameters for queryCmConditionalOrderHistory operation in TradeApi.
@@ -14371,10 +14371,10 @@ interface QueryCmConditionalOrderHistoryRequest {
14371
14371
  readonly symbol: string;
14372
14372
  /**
14373
14373
  *
14374
- * @type {number}
14374
+ * @type {number | bigint}
14375
14375
  * @memberof TradeApiQueryCmConditionalOrderHistory
14376
14376
  */
14377
- readonly strategyId?: number;
14377
+ readonly strategyId?: number | bigint;
14378
14378
  /**
14379
14379
  *
14380
14380
  * @type {string}
@@ -14383,10 +14383,10 @@ interface QueryCmConditionalOrderHistoryRequest {
14383
14383
  readonly newClientStrategyId?: string;
14384
14384
  /**
14385
14385
  *
14386
- * @type {number}
14386
+ * @type {number | bigint}
14387
14387
  * @memberof TradeApiQueryCmConditionalOrderHistory
14388
14388
  */
14389
- readonly recvWindow?: number;
14389
+ readonly recvWindow?: number | bigint;
14390
14390
  }
14391
14391
  /**
14392
14392
  * Request parameters for queryCmModifyOrderHistory operation in TradeApi.
@@ -14401,10 +14401,10 @@ interface QueryCmModifyOrderHistoryRequest {
14401
14401
  readonly symbol: string;
14402
14402
  /**
14403
14403
  *
14404
- * @type {number}
14404
+ * @type {number | bigint}
14405
14405
  * @memberof TradeApiQueryCmModifyOrderHistory
14406
14406
  */
14407
- readonly orderId?: number;
14407
+ readonly orderId?: number | bigint;
14408
14408
  /**
14409
14409
  *
14410
14410
  * @type {string}
@@ -14413,28 +14413,28 @@ interface QueryCmModifyOrderHistoryRequest {
14413
14413
  readonly origClientOrderId?: string;
14414
14414
  /**
14415
14415
  * Timestamp in ms to get funding from INCLUSIVE.
14416
- * @type {number}
14416
+ * @type {number | bigint}
14417
14417
  * @memberof TradeApiQueryCmModifyOrderHistory
14418
14418
  */
14419
- readonly startTime?: number;
14419
+ readonly startTime?: number | bigint;
14420
14420
  /**
14421
14421
  * Timestamp in ms to get funding until INCLUSIVE.
14422
- * @type {number}
14422
+ * @type {number | bigint}
14423
14423
  * @memberof TradeApiQueryCmModifyOrderHistory
14424
14424
  */
14425
- readonly endTime?: number;
14425
+ readonly endTime?: number | bigint;
14426
14426
  /**
14427
14427
  * Default 100; max 1000
14428
- * @type {number}
14428
+ * @type {number | bigint}
14429
14429
  * @memberof TradeApiQueryCmModifyOrderHistory
14430
14430
  */
14431
- readonly limit?: number;
14431
+ readonly limit?: number | bigint;
14432
14432
  /**
14433
14433
  *
14434
- * @type {number}
14434
+ * @type {number | bigint}
14435
14435
  * @memberof TradeApiQueryCmModifyOrderHistory
14436
14436
  */
14437
- readonly recvWindow?: number;
14437
+ readonly recvWindow?: number | bigint;
14438
14438
  }
14439
14439
  /**
14440
14440
  * Request parameters for queryCmOrder operation in TradeApi.
@@ -14449,10 +14449,10 @@ interface QueryCmOrderRequest {
14449
14449
  readonly symbol: string;
14450
14450
  /**
14451
14451
  *
14452
- * @type {number}
14452
+ * @type {number | bigint}
14453
14453
  * @memberof TradeApiQueryCmOrder
14454
14454
  */
14455
- readonly orderId?: number;
14455
+ readonly orderId?: number | bigint;
14456
14456
  /**
14457
14457
  *
14458
14458
  * @type {string}
@@ -14461,10 +14461,10 @@ interface QueryCmOrderRequest {
14461
14461
  readonly origClientOrderId?: string;
14462
14462
  /**
14463
14463
  *
14464
- * @type {number}
14464
+ * @type {number | bigint}
14465
14465
  * @memberof TradeApiQueryCmOrder
14466
14466
  */
14467
- readonly recvWindow?: number;
14467
+ readonly recvWindow?: number | bigint;
14468
14468
  }
14469
14469
  /**
14470
14470
  * Request parameters for queryCurrentCmOpenConditionalOrder operation in TradeApi.
@@ -14479,10 +14479,10 @@ interface QueryCurrentCmOpenConditionalOrderRequest {
14479
14479
  readonly symbol: string;
14480
14480
  /**
14481
14481
  *
14482
- * @type {number}
14482
+ * @type {number | bigint}
14483
14483
  * @memberof TradeApiQueryCurrentCmOpenConditionalOrder
14484
14484
  */
14485
- readonly strategyId?: number;
14485
+ readonly strategyId?: number | bigint;
14486
14486
  /**
14487
14487
  *
14488
14488
  * @type {string}
@@ -14491,10 +14491,10 @@ interface QueryCurrentCmOpenConditionalOrderRequest {
14491
14491
  readonly newClientStrategyId?: string;
14492
14492
  /**
14493
14493
  *
14494
- * @type {number}
14494
+ * @type {number | bigint}
14495
14495
  * @memberof TradeApiQueryCurrentCmOpenConditionalOrder
14496
14496
  */
14497
- readonly recvWindow?: number;
14497
+ readonly recvWindow?: number | bigint;
14498
14498
  }
14499
14499
  /**
14500
14500
  * Request parameters for queryCurrentCmOpenOrder operation in TradeApi.
@@ -14509,10 +14509,10 @@ interface QueryCurrentCmOpenOrderRequest {
14509
14509
  readonly symbol: string;
14510
14510
  /**
14511
14511
  *
14512
- * @type {number}
14512
+ * @type {number | bigint}
14513
14513
  * @memberof TradeApiQueryCurrentCmOpenOrder
14514
14514
  */
14515
- readonly orderId?: number;
14515
+ readonly orderId?: number | bigint;
14516
14516
  /**
14517
14517
  *
14518
14518
  * @type {string}
@@ -14521,10 +14521,10 @@ interface QueryCurrentCmOpenOrderRequest {
14521
14521
  readonly origClientOrderId?: string;
14522
14522
  /**
14523
14523
  *
14524
- * @type {number}
14524
+ * @type {number | bigint}
14525
14525
  * @memberof TradeApiQueryCurrentCmOpenOrder
14526
14526
  */
14527
- readonly recvWindow?: number;
14527
+ readonly recvWindow?: number | bigint;
14528
14528
  }
14529
14529
  /**
14530
14530
  * Request parameters for queryCurrentMarginOpenOrder operation in TradeApi.
@@ -14539,10 +14539,10 @@ interface QueryCurrentMarginOpenOrderRequest {
14539
14539
  readonly symbol: string;
14540
14540
  /**
14541
14541
  *
14542
- * @type {number}
14542
+ * @type {number | bigint}
14543
14543
  * @memberof TradeApiQueryCurrentMarginOpenOrder
14544
14544
  */
14545
- readonly recvWindow?: number;
14545
+ readonly recvWindow?: number | bigint;
14546
14546
  }
14547
14547
  /**
14548
14548
  * Request parameters for queryCurrentUmOpenConditionalOrder operation in TradeApi.
@@ -14557,10 +14557,10 @@ interface QueryCurrentUmOpenConditionalOrderRequest {
14557
14557
  readonly symbol: string;
14558
14558
  /**
14559
14559
  *
14560
- * @type {number}
14560
+ * @type {number | bigint}
14561
14561
  * @memberof TradeApiQueryCurrentUmOpenConditionalOrder
14562
14562
  */
14563
- readonly strategyId?: number;
14563
+ readonly strategyId?: number | bigint;
14564
14564
  /**
14565
14565
  *
14566
14566
  * @type {string}
@@ -14569,10 +14569,10 @@ interface QueryCurrentUmOpenConditionalOrderRequest {
14569
14569
  readonly newClientStrategyId?: string;
14570
14570
  /**
14571
14571
  *
14572
- * @type {number}
14572
+ * @type {number | bigint}
14573
14573
  * @memberof TradeApiQueryCurrentUmOpenConditionalOrder
14574
14574
  */
14575
- readonly recvWindow?: number;
14575
+ readonly recvWindow?: number | bigint;
14576
14576
  }
14577
14577
  /**
14578
14578
  * Request parameters for queryCurrentUmOpenOrder operation in TradeApi.
@@ -14587,10 +14587,10 @@ interface QueryCurrentUmOpenOrderRequest {
14587
14587
  readonly symbol: string;
14588
14588
  /**
14589
14589
  *
14590
- * @type {number}
14590
+ * @type {number | bigint}
14591
14591
  * @memberof TradeApiQueryCurrentUmOpenOrder
14592
14592
  */
14593
- readonly orderId?: number;
14593
+ readonly orderId?: number | bigint;
14594
14594
  /**
14595
14595
  *
14596
14596
  * @type {string}
@@ -14599,10 +14599,10 @@ interface QueryCurrentUmOpenOrderRequest {
14599
14599
  readonly origClientOrderId?: string;
14600
14600
  /**
14601
14601
  *
14602
- * @type {number}
14602
+ * @type {number | bigint}
14603
14603
  * @memberof TradeApiQueryCurrentUmOpenOrder
14604
14604
  */
14605
- readonly recvWindow?: number;
14605
+ readonly recvWindow?: number | bigint;
14606
14606
  }
14607
14607
  /**
14608
14608
  * Request parameters for queryMarginAccountOrder operation in TradeApi.
@@ -14617,10 +14617,10 @@ interface QueryMarginAccountOrderRequest {
14617
14617
  readonly symbol: string;
14618
14618
  /**
14619
14619
  *
14620
- * @type {number}
14620
+ * @type {number | bigint}
14621
14621
  * @memberof TradeApiQueryMarginAccountOrder
14622
14622
  */
14623
- readonly orderId?: number;
14623
+ readonly orderId?: number | bigint;
14624
14624
  /**
14625
14625
  *
14626
14626
  * @type {string}
@@ -14629,10 +14629,10 @@ interface QueryMarginAccountOrderRequest {
14629
14629
  readonly origClientOrderId?: string;
14630
14630
  /**
14631
14631
  *
14632
- * @type {number}
14632
+ * @type {number | bigint}
14633
14633
  * @memberof TradeApiQueryMarginAccountOrder
14634
14634
  */
14635
- readonly recvWindow?: number;
14635
+ readonly recvWindow?: number | bigint;
14636
14636
  }
14637
14637
  /**
14638
14638
  * Request parameters for queryMarginAccountsAllOco operation in TradeApi.
@@ -14641,34 +14641,34 @@ interface QueryMarginAccountOrderRequest {
14641
14641
  interface QueryMarginAccountsAllOcoRequest {
14642
14642
  /**
14643
14643
  * Trade id to fetch from. Default gets most recent trades.
14644
- * @type {number}
14644
+ * @type {number | bigint}
14645
14645
  * @memberof TradeApiQueryMarginAccountsAllOco
14646
14646
  */
14647
- readonly fromId?: number;
14647
+ readonly fromId?: number | bigint;
14648
14648
  /**
14649
14649
  * Timestamp in ms to get funding from INCLUSIVE.
14650
- * @type {number}
14650
+ * @type {number | bigint}
14651
14651
  * @memberof TradeApiQueryMarginAccountsAllOco
14652
14652
  */
14653
- readonly startTime?: number;
14653
+ readonly startTime?: number | bigint;
14654
14654
  /**
14655
14655
  * Timestamp in ms to get funding until INCLUSIVE.
14656
- * @type {number}
14656
+ * @type {number | bigint}
14657
14657
  * @memberof TradeApiQueryMarginAccountsAllOco
14658
14658
  */
14659
- readonly endTime?: number;
14659
+ readonly endTime?: number | bigint;
14660
14660
  /**
14661
14661
  * Default 100; max 1000
14662
- * @type {number}
14662
+ * @type {number | bigint}
14663
14663
  * @memberof TradeApiQueryMarginAccountsAllOco
14664
14664
  */
14665
- readonly limit?: number;
14665
+ readonly limit?: number | bigint;
14666
14666
  /**
14667
14667
  *
14668
- * @type {number}
14668
+ * @type {number | bigint}
14669
14669
  * @memberof TradeApiQueryMarginAccountsAllOco
14670
14670
  */
14671
- readonly recvWindow?: number;
14671
+ readonly recvWindow?: number | bigint;
14672
14672
  }
14673
14673
  /**
14674
14674
  * Request parameters for queryMarginAccountsOco operation in TradeApi.
@@ -14677,10 +14677,10 @@ interface QueryMarginAccountsAllOcoRequest {
14677
14677
  interface QueryMarginAccountsOcoRequest {
14678
14678
  /**
14679
14679
  * Either `orderListId` or `listClientOrderId` must be provided
14680
- * @type {number}
14680
+ * @type {number | bigint}
14681
14681
  * @memberof TradeApiQueryMarginAccountsOco
14682
14682
  */
14683
- readonly orderListId?: number;
14683
+ readonly orderListId?: number | bigint;
14684
14684
  /**
14685
14685
  *
14686
14686
  * @type {string}
@@ -14689,10 +14689,10 @@ interface QueryMarginAccountsOcoRequest {
14689
14689
  readonly origClientOrderId?: string;
14690
14690
  /**
14691
14691
  *
14692
- * @type {number}
14692
+ * @type {number | bigint}
14693
14693
  * @memberof TradeApiQueryMarginAccountsOco
14694
14694
  */
14695
- readonly recvWindow?: number;
14695
+ readonly recvWindow?: number | bigint;
14696
14696
  }
14697
14697
  /**
14698
14698
  * Request parameters for queryMarginAccountsOpenOco operation in TradeApi.
@@ -14701,10 +14701,10 @@ interface QueryMarginAccountsOcoRequest {
14701
14701
  interface QueryMarginAccountsOpenOcoRequest {
14702
14702
  /**
14703
14703
  *
14704
- * @type {number}
14704
+ * @type {number | bigint}
14705
14705
  * @memberof TradeApiQueryMarginAccountsOpenOco
14706
14706
  */
14707
- readonly recvWindow?: number;
14707
+ readonly recvWindow?: number | bigint;
14708
14708
  }
14709
14709
  /**
14710
14710
  * Request parameters for queryUmConditionalOrderHistory operation in TradeApi.
@@ -14719,10 +14719,10 @@ interface QueryUmConditionalOrderHistoryRequest {
14719
14719
  readonly symbol: string;
14720
14720
  /**
14721
14721
  *
14722
- * @type {number}
14722
+ * @type {number | bigint}
14723
14723
  * @memberof TradeApiQueryUmConditionalOrderHistory
14724
14724
  */
14725
- readonly strategyId?: number;
14725
+ readonly strategyId?: number | bigint;
14726
14726
  /**
14727
14727
  *
14728
14728
  * @type {string}
@@ -14731,10 +14731,10 @@ interface QueryUmConditionalOrderHistoryRequest {
14731
14731
  readonly newClientStrategyId?: string;
14732
14732
  /**
14733
14733
  *
14734
- * @type {number}
14734
+ * @type {number | bigint}
14735
14735
  * @memberof TradeApiQueryUmConditionalOrderHistory
14736
14736
  */
14737
- readonly recvWindow?: number;
14737
+ readonly recvWindow?: number | bigint;
14738
14738
  }
14739
14739
  /**
14740
14740
  * Request parameters for queryUmModifyOrderHistory operation in TradeApi.
@@ -14749,10 +14749,10 @@ interface QueryUmModifyOrderHistoryRequest {
14749
14749
  readonly symbol: string;
14750
14750
  /**
14751
14751
  *
14752
- * @type {number}
14752
+ * @type {number | bigint}
14753
14753
  * @memberof TradeApiQueryUmModifyOrderHistory
14754
14754
  */
14755
- readonly orderId?: number;
14755
+ readonly orderId?: number | bigint;
14756
14756
  /**
14757
14757
  *
14758
14758
  * @type {string}
@@ -14761,28 +14761,28 @@ interface QueryUmModifyOrderHistoryRequest {
14761
14761
  readonly origClientOrderId?: string;
14762
14762
  /**
14763
14763
  * Timestamp in ms to get funding from INCLUSIVE.
14764
- * @type {number}
14764
+ * @type {number | bigint}
14765
14765
  * @memberof TradeApiQueryUmModifyOrderHistory
14766
14766
  */
14767
- readonly startTime?: number;
14767
+ readonly startTime?: number | bigint;
14768
14768
  /**
14769
14769
  * Timestamp in ms to get funding until INCLUSIVE.
14770
- * @type {number}
14770
+ * @type {number | bigint}
14771
14771
  * @memberof TradeApiQueryUmModifyOrderHistory
14772
14772
  */
14773
- readonly endTime?: number;
14773
+ readonly endTime?: number | bigint;
14774
14774
  /**
14775
14775
  * Default 100; max 1000
14776
- * @type {number}
14776
+ * @type {number | bigint}
14777
14777
  * @memberof TradeApiQueryUmModifyOrderHistory
14778
14778
  */
14779
- readonly limit?: number;
14779
+ readonly limit?: number | bigint;
14780
14780
  /**
14781
14781
  *
14782
- * @type {number}
14782
+ * @type {number | bigint}
14783
14783
  * @memberof TradeApiQueryUmModifyOrderHistory
14784
14784
  */
14785
- readonly recvWindow?: number;
14785
+ readonly recvWindow?: number | bigint;
14786
14786
  }
14787
14787
  /**
14788
14788
  * Request parameters for queryUmOrder operation in TradeApi.
@@ -14797,10 +14797,10 @@ interface QueryUmOrderRequest {
14797
14797
  readonly symbol: string;
14798
14798
  /**
14799
14799
  *
14800
- * @type {number}
14800
+ * @type {number | bigint}
14801
14801
  * @memberof TradeApiQueryUmOrder
14802
14802
  */
14803
- readonly orderId?: number;
14803
+ readonly orderId?: number | bigint;
14804
14804
  /**
14805
14805
  *
14806
14806
  * @type {string}
@@ -14809,10 +14809,10 @@ interface QueryUmOrderRequest {
14809
14809
  readonly origClientOrderId?: string;
14810
14810
  /**
14811
14811
  *
14812
- * @type {number}
14812
+ * @type {number | bigint}
14813
14813
  * @memberof TradeApiQueryUmOrder
14814
14814
  */
14815
- readonly recvWindow?: number;
14815
+ readonly recvWindow?: number | bigint;
14816
14816
  }
14817
14817
  /**
14818
14818
  * Request parameters for queryUsersCmForceOrders operation in TradeApi.
@@ -14833,28 +14833,28 @@ interface QueryUsersCmForceOrdersRequest {
14833
14833
  readonly autoCloseType?: QueryUsersCmForceOrdersAutoCloseTypeEnum;
14834
14834
  /**
14835
14835
  * Timestamp in ms to get funding from INCLUSIVE.
14836
- * @type {number}
14836
+ * @type {number | bigint}
14837
14837
  * @memberof TradeApiQueryUsersCmForceOrders
14838
14838
  */
14839
- readonly startTime?: number;
14839
+ readonly startTime?: number | bigint;
14840
14840
  /**
14841
14841
  * Timestamp in ms to get funding until INCLUSIVE.
14842
- * @type {number}
14842
+ * @type {number | bigint}
14843
14843
  * @memberof TradeApiQueryUsersCmForceOrders
14844
14844
  */
14845
- readonly endTime?: number;
14845
+ readonly endTime?: number | bigint;
14846
14846
  /**
14847
14847
  * Default 100; max 1000
14848
- * @type {number}
14848
+ * @type {number | bigint}
14849
14849
  * @memberof TradeApiQueryUsersCmForceOrders
14850
14850
  */
14851
- readonly limit?: number;
14851
+ readonly limit?: number | bigint;
14852
14852
  /**
14853
14853
  *
14854
- * @type {number}
14854
+ * @type {number | bigint}
14855
14855
  * @memberof TradeApiQueryUsersCmForceOrders
14856
14856
  */
14857
- readonly recvWindow?: number;
14857
+ readonly recvWindow?: number | bigint;
14858
14858
  }
14859
14859
  /**
14860
14860
  * Request parameters for queryUsersMarginForceOrders operation in TradeApi.
@@ -14863,34 +14863,34 @@ interface QueryUsersCmForceOrdersRequest {
14863
14863
  interface QueryUsersMarginForceOrdersRequest {
14864
14864
  /**
14865
14865
  * Timestamp in ms to get funding from INCLUSIVE.
14866
- * @type {number}
14866
+ * @type {number | bigint}
14867
14867
  * @memberof TradeApiQueryUsersMarginForceOrders
14868
14868
  */
14869
- readonly startTime?: number;
14869
+ readonly startTime?: number | bigint;
14870
14870
  /**
14871
14871
  * Timestamp in ms to get funding until INCLUSIVE.
14872
- * @type {number}
14872
+ * @type {number | bigint}
14873
14873
  * @memberof TradeApiQueryUsersMarginForceOrders
14874
14874
  */
14875
- readonly endTime?: number;
14875
+ readonly endTime?: number | bigint;
14876
14876
  /**
14877
14877
  * Currently querying page. Start from 1. Default:1
14878
- * @type {number}
14878
+ * @type {number | bigint}
14879
14879
  * @memberof TradeApiQueryUsersMarginForceOrders
14880
14880
  */
14881
- readonly current?: number;
14881
+ readonly current?: number | bigint;
14882
14882
  /**
14883
14883
  * Default:10 Max:100
14884
- * @type {number}
14884
+ * @type {number | bigint}
14885
14885
  * @memberof TradeApiQueryUsersMarginForceOrders
14886
14886
  */
14887
- readonly size?: number;
14887
+ readonly size?: number | bigint;
14888
14888
  /**
14889
14889
  *
14890
- * @type {number}
14890
+ * @type {number | bigint}
14891
14891
  * @memberof TradeApiQueryUsersMarginForceOrders
14892
14892
  */
14893
- readonly recvWindow?: number;
14893
+ readonly recvWindow?: number | bigint;
14894
14894
  }
14895
14895
  /**
14896
14896
  * Request parameters for queryUsersUmForceOrders operation in TradeApi.
@@ -14911,28 +14911,28 @@ interface QueryUsersUmForceOrdersRequest {
14911
14911
  readonly autoCloseType?: QueryUsersUmForceOrdersAutoCloseTypeEnum;
14912
14912
  /**
14913
14913
  * Timestamp in ms to get funding from INCLUSIVE.
14914
- * @type {number}
14914
+ * @type {number | bigint}
14915
14915
  * @memberof TradeApiQueryUsersUmForceOrders
14916
14916
  */
14917
- readonly startTime?: number;
14917
+ readonly startTime?: number | bigint;
14918
14918
  /**
14919
14919
  * Timestamp in ms to get funding until INCLUSIVE.
14920
- * @type {number}
14920
+ * @type {number | bigint}
14921
14921
  * @memberof TradeApiQueryUsersUmForceOrders
14922
14922
  */
14923
- readonly endTime?: number;
14923
+ readonly endTime?: number | bigint;
14924
14924
  /**
14925
14925
  * Default 100; max 1000
14926
- * @type {number}
14926
+ * @type {number | bigint}
14927
14927
  * @memberof TradeApiQueryUsersUmForceOrders
14928
14928
  */
14929
- readonly limit?: number;
14929
+ readonly limit?: number | bigint;
14930
14930
  /**
14931
14931
  *
14932
- * @type {number}
14932
+ * @type {number | bigint}
14933
14933
  * @memberof TradeApiQueryUsersUmForceOrders
14934
14934
  */
14935
- readonly recvWindow?: number;
14935
+ readonly recvWindow?: number | bigint;
14936
14936
  }
14937
14937
  /**
14938
14938
  * Request parameters for toggleBnbBurnOnUmFuturesTrade operation in TradeApi.
@@ -14947,10 +14947,10 @@ interface ToggleBnbBurnOnUmFuturesTradeRequest {
14947
14947
  readonly feeBurn: string;
14948
14948
  /**
14949
14949
  *
14950
- * @type {number}
14950
+ * @type {number | bigint}
14951
14951
  * @memberof TradeApiToggleBnbBurnOnUmFuturesTrade
14952
14952
  */
14953
- readonly recvWindow?: number;
14953
+ readonly recvWindow?: number | bigint;
14954
14954
  }
14955
14955
  /**
14956
14956
  * Request parameters for umAccountTradeList operation in TradeApi.
@@ -14965,34 +14965,34 @@ interface UmAccountTradeListRequest {
14965
14965
  readonly symbol: string;
14966
14966
  /**
14967
14967
  * Timestamp in ms to get funding from INCLUSIVE.
14968
- * @type {number}
14968
+ * @type {number | bigint}
14969
14969
  * @memberof TradeApiUmAccountTradeList
14970
14970
  */
14971
- readonly startTime?: number;
14971
+ readonly startTime?: number | bigint;
14972
14972
  /**
14973
14973
  * Timestamp in ms to get funding until INCLUSIVE.
14974
- * @type {number}
14974
+ * @type {number | bigint}
14975
14975
  * @memberof TradeApiUmAccountTradeList
14976
14976
  */
14977
- readonly endTime?: number;
14977
+ readonly endTime?: number | bigint;
14978
14978
  /**
14979
14979
  * Trade id to fetch from. Default gets most recent trades.
14980
- * @type {number}
14980
+ * @type {number | bigint}
14981
14981
  * @memberof TradeApiUmAccountTradeList
14982
14982
  */
14983
- readonly fromId?: number;
14983
+ readonly fromId?: number | bigint;
14984
14984
  /**
14985
14985
  * Default 100; max 1000
14986
- * @type {number}
14986
+ * @type {number | bigint}
14987
14987
  * @memberof TradeApiUmAccountTradeList
14988
14988
  */
14989
- readonly limit?: number;
14989
+ readonly limit?: number | bigint;
14990
14990
  /**
14991
14991
  *
14992
- * @type {number}
14992
+ * @type {number | bigint}
14993
14993
  * @memberof TradeApiUmAccountTradeList
14994
14994
  */
14995
- readonly recvWindow?: number;
14995
+ readonly recvWindow?: number | bigint;
14996
14996
  }
14997
14997
  /**
14998
14998
  * Request parameters for umPositionAdlQuantileEstimation operation in TradeApi.
@@ -15007,10 +15007,10 @@ interface UmPositionAdlQuantileEstimationRequest {
15007
15007
  readonly symbol?: string;
15008
15008
  /**
15009
15009
  *
15010
- * @type {number}
15010
+ * @type {number | bigint}
15011
15011
  * @memberof TradeApiUmPositionAdlQuantileEstimation
15012
15012
  */
15013
- readonly recvWindow?: number;
15013
+ readonly recvWindow?: number | bigint;
15014
15014
  }
15015
15015
  /**
15016
15016
  * TradeApi - object-oriented interface