Skip to content

Commit e0fc985

Browse files
author
gate
committed
update to v7.2.0
1 parent 02a3685 commit e0fc985

75 files changed

Lines changed: 2472 additions & 506 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## gate-api@7.1.30
1+
## gate-api@7.2.0
22

33
TypeScript NodeJS client for gate-api.
44

@@ -7,7 +7,7 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
77

88
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
99

10-
- API version: v4.105.30
10+
- API version: v4.106.0
1111
- Package version:
1212
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1313
For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
@@ -425,10 +425,20 @@ Class | Method | HTTP request | Description
425425
- [CurrencyPair](docs/CurrencyPair.md)
426426
- [CurrencyQuota](docs/CurrencyQuota.md)
427427
- [DebitFee](docs/DebitFee.md)
428+
- [DeliveryAccount](docs/DeliveryAccount.md)
429+
- [DeliveryAccountBook](docs/DeliveryAccountBook.md)
428430
- [DeliveryCandlestick](docs/DeliveryCandlestick.md)
429431
- [DeliveryContract](docs/DeliveryContract.md)
432+
- [DeliveryLimitRiskTiers](docs/DeliveryLimitRiskTiers.md)
433+
- [DeliveryLiquidate](docs/DeliveryLiquidate.md)
434+
- [DeliveryMyTrade](docs/DeliveryMyTrade.md)
435+
- [DeliveryOrder](docs/DeliveryOrder.md)
436+
- [DeliveryOrderBook](docs/DeliveryOrderBook.md)
437+
- [DeliveryPosition](docs/DeliveryPosition.md)
438+
- [DeliveryPositionClose](docs/DeliveryPositionClose.md)
430439
- [DeliverySettlement](docs/DeliverySettlement.md)
431440
- [DeliveryTicker](docs/DeliveryTicker.md)
441+
- [DeliveryTrade](docs/DeliveryTrade.md)
432442
- [DepositAddress](docs/DepositAddress.md)
433443
- [DepositRecord](docs/DepositRecord.md)
434444
- [DualGetOrders](docs/DualGetOrders.md)
@@ -461,6 +471,7 @@ Class | Method | HTTP request | Description
461471
- [FuturesOrderAmendment](docs/FuturesOrderAmendment.md)
462472
- [FuturesOrderBook](docs/FuturesOrderBook.md)
463473
- [FuturesOrderBookItem](docs/FuturesOrderBookItem.md)
474+
- [FuturesOrderBookItem1](docs/FuturesOrderBookItem1.md)
464475
- [FuturesPositionCrossMode](docs/FuturesPositionCrossMode.md)
465476
- [FuturesPremiumIndex](docs/FuturesPremiumIndex.md)
466477
- [FuturesPriceTrigger](docs/FuturesPriceTrigger.md)

api/accountApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class AccountApi {
185185
}
186186

187187
/**
188-
* Only the main account that created this STP group can query the account ID list in the current STP group
188+
* Only the main account that created this STP group can query the account ID list of the current STP group
189189
* @summary Query users in the STP user group
190190
* @param stpId STP Group ID
191191
*/

api/apiClient.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export class ApiClient {
3030
) {
3131
this._basePath = basePath || this._basePath;
3232

33+
// Set default X-Gate-Size-Decimal header for futures API
34+
this._defaultHeaders['X-Gate-Size-Decimal'] = '1';
35+
3336
this.axiosInstance.defaults.transformResponse = [
3437
(data) => {
3538
try {

0 commit comments

Comments
 (0)