You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*UnifiedApi* | [**getUserLeverageCurrencyConfig**](docs/UnifiedApi.md#getUserLeverageCurrencyConfig) | **GET** /unified/leverage/user_currency_config | Maximum and minimum currency leverage that can be set
* @param opts.lastId Use the ID of the last record in the previous list as the starting point for the next list.This field is no longer supported. For new requests, please use the fromand tofields to specify the time rang
204
204
* @param opts.from Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items. If items between `from` and `to` are more than `limit`, only `limit` number will be returned.
205
205
* @param opts.to Specify end time in Unix seconds, default to current time.
206
206
*/
@@ -271,7 +271,7 @@ export class DeliveryApi {
271
271
* @param opts.from Start time of candlesticks, formatted in Unix timestamp in seconds. Default to`to - 100 * interval` if not specified
272
272
* @param opts.to Specify the end time of the K-line chart, defaults to current time if not specified, note that the time format is Unix timestamp with second precision
273
273
* @param opts.limit Maximum number of recent data points to return. `limit` conflicts with `from` and `to`. If either `from` or `to` is specified, request will be rejected.
274
-
* @param opts.interval Time interval between data points, note that 1w represents a natural week, 7d time is aligned with Unix initial timeTime interval between data points, note that 1w represents a natural week, 7d time is aligned with Unix initial timeweek, 7d time is aligned with Unix initial time
274
+
* @param opts.interval Time interval between data points, note that 1w represents a natural week, 7d time is aligned with Unix initial time
275
275
*/
276
276
publicasynclistDeliveryCandlesticks(
277
277
settle: 'usdt',
@@ -490,7 +490,7 @@ export class DeliveryApi {
490
490
* @param opts.limit Maximum number of records returned in a single list
491
491
* @param opts.from Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit)
492
492
* @param opts.to Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp
493
-
* @param opts.type Changing Type: - dnw: Deposit & Withdraw - pnl: Profit & Loss by reducing position - fee: Trading fee - refr: Referrer rebate - fund: Funding - point_dnw: point_fee: POINT Trading fee - point_refr: POINT Referrer rebate
493
+
* @param opts.type Change types: - dnw: Deposit and withdrawal - pnl: Profit and loss from position reduction - fee: Trading fees - refr: Referrer rebates - fund: Funding fees - point_dnw: Point card deposit and withdrawal - point_fee: Point card trading fees - point_refr: Point card referrer rebates
494
494
*/
495
495
publicasynclistDeliveryAccountBook(
496
496
settle: 'usdt',
@@ -823,7 +823,7 @@ export class DeliveryApi {
823
823
* @param opts.contract Futures contract
824
824
* @param opts.limit Maximum number of records returned in a single list
825
825
* @param opts.offset List offset, starting from 0
826
-
* @param opts.lastId Specify the currency name to query in batches, and support up to 100 pass parameters at a time
826
+
* @param opts.lastId Use the ID of the last record in the previous list as the starting point for the next list Operations based on custom IDs can only be checked when orders are pending. After orders are completed (filled/cancelled), they can be checked within 1 hour after completion. After expiration, only order IDs can be used
827
827
* @param opts.countTotal Whether to return total number matched, defaults to 0 (no return)
828
828
*/
829
829
publicasynclistDeliveryOrders(
@@ -1088,7 +1088,7 @@ export class DeliveryApi {
1088
1088
* @param opts.order Futures order ID, return related data only if specified
1089
1089
* @param opts.limit Maximum number of records returned in a single list
1090
1090
* @param opts.offset List offset, starting from 0
1091
-
* @param opts.lastId Specify the currency name to query in batches, and support up to 100 pass parameters at a time
1091
+
* @param opts.lastId Use the ID of the last record in the previous list as the starting point for the next list Operations based on custom IDs can only be checked when orders are pending. After orders are completed (filled/cancelled), they can be checked within 1 hour after completion. After expiration, only order IDs can be used
1092
1092
* @param opts.countTotal Whether to return total number matched, defaults to 0 (no return)
1093
1093
*/
1094
1094
publicasyncgetMyDeliveryTrades(
@@ -1317,7 +1317,7 @@ export class DeliveryApi {
1317
1317
}
1318
1318
1319
1319
/**
1320
-
* When the \'contract\' parameter is not passed, the default is to query the risk limits for the top 100 markets.\'Limit\' and \'offset\' correspond to pagination queries at the market level, not to the length of the returned array. This only takes effect empty.
1320
+
* When the \'contract\' parameter is not passed, the default is to query the risk limits for the top 100 markets.\'Limit\' and \'offset\' correspond to pagination queries at the market level, not to the length of the returned array. This only takes effect when the contract parameter is empty.
Copy file name to clipboardExpand all lines: api/futuresApi.ts
+31-7Lines changed: 31 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -306,6 +306,7 @@ export class FuturesApi {
306
306
* @param opts.to Specify the end time of the K-line chart, defaults to current time if not specified, note that the time format is Unix timestamp with second precision
307
307
* @param opts.limit Maximum number of recent data points to return. `limit` conflicts with `from` and `to`. If either `from` or `to` is specified, request will be rejected.
308
308
* @param opts.interval Interval time between data points. Note that `1w` means natural week(Mon-Sun), while `7d` means every 7d since unix 0. 30d represents a natural month, not 30 days
309
+
* @param opts.timezone Time zone: all/utc0/utc8, default utc0
* The time interval between from and to is maximum 3600. Some private fields are not returned by public interfaces, refer to field descriptions for detailsThe time interval between from and to is maximum 3600. Some private fields are not returned by public interfaces, refer to field descriptions for interfaces, refer to field descriptions for details
728
+
* The time interval between from and to is maximum 3600. Some private fields are not returned by public interfaces, refer to field descriptions for details
723
729
* @summary Query liquidation order history
724
730
* @param settle Settle currency
725
731
* @param opts Optional parameters
@@ -779,7 +785,7 @@ export class FuturesApi {
779
785
}
780
786
781
787
/**
782
-
* When the \'contract\' parameter is not passed, the default is to query the risk limits for the top 100 markets.\'Limit\' and \'offset\' correspond to pagination queries at the market level, not to the length of the returned array. This only takes effect empty.
788
+
* When the \'contract\' parameter is not passed, the default is to query the risk limits for the top 100 markets.\'Limit\' and \'offset\' correspond to pagination queries at the market level, not to the length of the returned array. This only takes effect when the contract parameter is empty.
783
789
* @summary Query risk limit tiers
784
790
* @param settle Settle currency
785
791
* @param opts Optional parameters
@@ -880,7 +886,7 @@ export class FuturesApi {
880
886
* @param opts.offset List offset, starting from 0
881
887
* @param opts.from Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit)
882
888
* @param opts.to Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp
883
-
* @param opts.type Changing Type: - dnw: Deposit & Withdraw - pnl: Profit & Loss by reducing position - fee: Trading fee - refr: Referrer rebate - fund: Funding - point_dnw: point_fee: POINT Trading fee - point_refr: POINT Referrer rebate - bonus_offset: bouns deduction
889
+
* @param opts.type Change types: - dnw: Deposit and withdrawal - pnl: Profit and loss from position reduction - fee: Trading fees - refr: Referrer rebates - fund: Funding fees - point_dnw: Point card deposit and withdrawal - point_fee: Point card trading fees - point_refr: Point card referrer rebates - bonus_offset: Trial fund deduction
884
890
*/
885
891
publicasynclistFuturesAccountBook(
886
892
settle: 'btc'|'usdt',
@@ -1104,12 +1110,13 @@ export class FuturesApi {
1104
1110
* @param leverage New position leverage
1105
1111
* @param opts Optional parameters
1106
1112
* @param opts.crossLeverageLimit Cross margin leverage (valid only when `leverage` is 0)
* @param opts.contract Futures contract, return related data only if specified
1623
1634
* @param opts.limit Maximum number of records returned in a single list
1624
1635
* @param opts.offset List offset, starting from 0
1625
-
* @param opts.lastId Specify the currency name to query in batches, and support up to 100 pass parameters at a time
1636
+
* @param opts.lastId Use the ID of the last record in the previous list as the starting point for the next list Operations based on custom IDs can only be checked when orders are pending. After orders are completed (filled/cancelled), they can be checked within 1 hour after completion. After expiration, only order IDs can be used
1626
1637
*/
1627
1638
publicasynclistFuturesOrders(
1628
1639
settle: 'btc'|'usdt',
@@ -1742,12 +1753,14 @@ export class FuturesApi {
1742
1753
* @param contract Futures contract
1743
1754
* @param opts Optional parameters
1744
1755
* @param opts.xGateExptime Specify the expiration time (milliseconds); if the GATE receives the request time greater than the expiration time, the request will be rejected
1745
-
* @param opts.side Specify all buy orders or all sell orders, both are included if not specified. Set to bid, set to ask to cancel all sell ordersspecified. Set to bid, set to ask to cancel all sell ordersspecified. Set to bid, set to ask to cancel all sell orders
1756
+
* @param opts.side Specify all buy orders or all sell orders, both are included if not specified. Set to bid to cancel all buy orders, set to ask to cancel all sell orders
1757
+
* @param opts.excludeReduceOnly Whether to exclude reduce-only orders
Copy file name to clipboardExpand all lines: api/multiCollateralLoanApi.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ export class MultiCollateralLoanApi {
50
50
* @param opts.page Page number
51
51
* @param opts.limit Maximum number of records returned in a single list
52
52
* @param opts.sort Sort type: `time_desc` - Created time descending (default), `ltv_asc` - Collateral ratio ascending, `ltv_desc` - Collateral ratio descending.
53
-
* @param opts.orderType Order type: current - Query current orders, fixed - Query fixed orders, defaults to current orders if not specifiedOrder type: current - Query current orders, fixed - Query fixed orders, defaults to current orders if not specified
53
+
* @param opts.orderType Order type: current - Query current orders, fixed - Query fixed orders, defaults to current orders if not specified
Copy file name to clipboardExpand all lines: api/spotApi.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@ export class SpotApi {
282
282
* @param currencyPair Currency pair
283
283
* @param opts Optional parameters
284
284
* @param opts.limit Maximum number of items returned in list. Default: 100, minimum: 1, maximum: 1000
285
-
* @param opts.lastId Specify the currency name to query in batches, and support up to 100 pass parameters at a time
285
+
* @param opts.lastId Use the ID of the last record in the previous list as the starting point for the next list Operations based on custom IDs can only be checked when orders are pending. After orders are completed (filled/cancelled), they can be checked within 1 hour after completion. After expiration, only order IDs can be used
286
286
* @param opts.reverse Whether to retrieve data less than `last_id`. Default returns records greater than `last_id`. Set to `true` to trace back market trade records, `false` to get latest trades. No effect when `last_id` is not set.
287
287
* @param opts.from Start timestamp for the query
288
288
* @param opts.to End timestamp for the query, defaults to current time if not specified
0 commit comments