Skip to content

Commit 853767f

Browse files
author
gateio
committed
update to v6.97.4
1 parent 88da411 commit 853767f

File tree

281 files changed

+666
-1223
lines changed

Some content is hidden

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

281 files changed

+666
-1223
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
1+
22

33
TypeScript NodeJS client for gate-api.
44

5-
Welcome to Gate.io API
5+
Welcome to Gate API
66

77
APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
88

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

11-
- API version: 4.97.2
11+
- API version: 4.97.4
1212
- Package version:
1313
- Build package: org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
1414
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
@@ -430,6 +430,7 @@ Class | Method | HTTP request | Description
430430
- [DeliveryCandlestick](docs/DeliveryCandlestick.md)
431431
- [DeliveryContract](docs/DeliveryContract.md)
432432
- [DeliverySettlement](docs/DeliverySettlement.md)
433+
- [DeliveryTicker](docs/DeliveryTicker.md)
433434
- [DepositAddress](docs/DepositAddress.md)
434435
- [DepositRecord](docs/DepositRecord.md)
435436
- [DualGetOrders](docs/DualGetOrders.md)

api/accountApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/apiClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/collateralLoanApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/deliveryApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*
@@ -13,14 +13,14 @@
1313
import { DeliveryCandlestick } from '../model/deliveryCandlestick';
1414
import { DeliveryContract } from '../model/deliveryContract';
1515
import { DeliverySettlement } from '../model/deliverySettlement';
16+
import { DeliveryTicker } from '../model/deliveryTicker';
1617
import { FuturesAccount } from '../model/futuresAccount';
1718
import { FuturesAccountBook } from '../model/futuresAccountBook';
1819
import { FuturesLimitRiskTiers } from '../model/futuresLimitRiskTiers';
1920
import { FuturesLiquidate } from '../model/futuresLiquidate';
2021
import { FuturesOrder } from '../model/futuresOrder';
2122
import { FuturesOrderBook } from '../model/futuresOrderBook';
2223
import { FuturesPriceTriggeredOrder } from '../model/futuresPriceTriggeredOrder';
23-
import { FuturesTicker } from '../model/futuresTicker';
2424
import { FuturesTrade } from '../model/futuresTrade';
2525
import { InsuranceRecord } from '../model/insuranceRecord';
2626
import { MyFuturesTrade } from '../model/myFuturesTrade';
@@ -365,7 +365,7 @@ export class DeliveryApi {
365365
public async listDeliveryTickers(
366366
settle: 'usdt',
367367
opts: { contract?: string },
368-
): Promise<{ response: AxiosResponse; body: Array<FuturesTicker> }> {
368+
): Promise<{ response: AxiosResponse; body: Array<DeliveryTicker> }> {
369369
const localVarPath =
370370
this.client.basePath +
371371
'/delivery/{settle}/tickers'.replace('{' + 'settle' + '}', encodeURIComponent(String(settle)));
@@ -397,7 +397,7 @@ export class DeliveryApi {
397397
};
398398

399399
const authSettings = [];
400-
return this.client.request<Array<FuturesTicker>>(config, 'Array<FuturesTicker>', authSettings);
400+
return this.client.request<Array<DeliveryTicker>>(config, 'Array<DeliveryTicker>', authSettings);
401401
}
402402

403403
/**

api/earnApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/earnUniApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*
@@ -436,7 +436,7 @@ export class EarnUniApi {
436436
}
437437

438438
/**
439-
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-05-08 09:34+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
439+
* Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-05-23 13:34+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language: en Language-Team: en <[email protected]> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
440440
* @summary UniLoan currency annualized trend chart
441441
* @param from Start timestamp, unit s, maximum span of 30 days
442442
* @param to End timestamp, unit s, maximum span of 30 days

api/flashSwapApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/futuresApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/marginApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/marginUniApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/multiCollateralLoanApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/optionsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/rebateApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/spotApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/subAccountApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/unifiedApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/walletApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

api/withdrawalApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Gate API v4
3-
* Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
3+
* Welcome to Gate API APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user\'s behalf.
44
*
55
* Contact: [email protected]
66
*

docs/DeliveryApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ No authorization required
282282

283283
## listDeliveryTickers
284284

285-
> Promise<{ response: http.IncomingMessage; body: Array<FuturesTicker>; }> listDeliveryTickers(settle, opts)
285+
> Promise<{ response: http.IncomingMessage; body: Array<DeliveryTicker>; }> listDeliveryTickers(settle, opts)
286286
287287
List futures tickers
288288

@@ -314,7 +314,7 @@ Name | Type | Description | Notes
314314

315315
### Return type
316316

317-
Promise<{ response: AxiosResponse; body: Array<FuturesTicker>; }> [FuturesTicker](FuturesTicker.md)
317+
Promise<{ response: AxiosResponse; body: Array<DeliveryTicker>; }> [DeliveryTicker](DeliveryTicker.md)
318318

319319
### Authorization
320320

docs/DeliveryTicker.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# DeliveryTicker
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**contract** | **string** | Futures contract | [optional] [default to undefined]
8+
**last** | **string** | Last trading price | [optional] [default to undefined]
9+
**changePercentage** | **string** | Change percentage. | [optional] [default to undefined]
10+
**totalSize** | **string** | Contract total size | [optional] [default to undefined]
11+
**low24h** | **string** | Lowest trading price in recent 24h | [optional] [default to undefined]
12+
**high24h** | **string** | Highest trading price in recent 24h | [optional] [default to undefined]
13+
**volume24h** | **string** | Trade size in recent 24h | [optional] [default to undefined]
14+
**volume24hBtc** | **string** | Trade volumes in recent 24h in BTC(deprecated, use &#x60;volume_24h_base&#x60;, &#x60;volume_24h_quote&#x60;, &#x60;volume_24h_settle&#x60; instead) | [optional] [default to undefined]
15+
**volume24hUsd** | **string** | Trade volumes in recent 24h in USD(deprecated, use &#x60;volume_24h_base&#x60;, &#x60;volume_24h_quote&#x60;, &#x60;volume_24h_settle&#x60; instead) | [optional] [default to undefined]
16+
**volume24hBase** | **string** | Trade volume in recent 24h, in base currency | [optional] [default to undefined]
17+
**volume24hQuote** | **string** | Trade volume in recent 24h, in quote currency | [optional] [default to undefined]
18+
**volume24hSettle** | **string** | Trade volume in recent 24h, in settle currency | [optional] [default to undefined]
19+
**markPrice** | **string** | Recent mark price | [optional] [default to undefined]
20+
**fundingRate** | **string** | Funding rate | [optional] [default to undefined]
21+
**fundingRateIndicative** | **string** | Indicative Funding rate in next period. (deprecated. use &#x60;funding_rate&#x60;) | [optional] [default to undefined]
22+
**indexPrice** | **string** | Index price | [optional] [default to undefined]
23+
**quantoBaseRate** | **string** | Exchange rate of base currency and settlement currency in Quanto contract. Does not exists in contracts of other types | [optional] [default to undefined]
24+
**basisRate** | **string** | Basis rate | [optional] [default to undefined]
25+
**basisValue** | **string** | Basis value | [optional] [default to undefined]
26+
**lowestAsk** | **string** | Recent lowest ask | [optional] [default to undefined]
27+
**lowestSize** | **string** | The latest seller\&#39;s lowest price order quantity | [optional] [default to undefined]
28+
**highestBid** | **string** | Recent highest bid | [optional] [default to undefined]
29+
**highestSize** | **string** | The latest buyer\&#39;s highest price order volume | [optional] [default to undefined]
30+

docs/EarnUniApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ Promise<{ response: AxiosResponse; body: UniCurrencyInterest; }> [UniCurrencyInt
477477
478478
UniLoan currency annualized trend chart
479479

480-
Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-05-08 09:34+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME &lt;EMAIL@ADDRESS&gt; Language: en Language-Team: en &lt;[email protected]&gt; Plural-Forms: nplurals&#x3D;2; plural&#x3D;(n !&#x3D; 1) MIME-Version: 1.0 Content-Type: text/plain; charset&#x3D;utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
480+
Project-Id-Version: GateApiTools 1.0.0 Report-Msgid-Bugs-To: EMAIL@ADDRESS POT-Creation-Date: 2025-05-23 13:34+0000 PO-Revision-Date: 2019-01-02 17:30+0800 Last-Translator: FULL NAME &lt;EMAIL@ADDRESS&gt; Language: en Language-Team: en &lt;[email protected]&gt; Plural-Forms: nplurals&#x3D;2; plural&#x3D;(n !&#x3D; 1) MIME-Version: 1.0 Content-Type: text/plain; charset&#x3D;utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 2.8.0
481481

482482
### Example
483483

0 commit comments

Comments
 (0)