|
1 | 1 | /**
|
2 | 2 | * 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. |
4 | 4 | *
|
5 | 5 |
|
6 | 6 | *
|
|
13 | 13 | import { DeliveryCandlestick } from '../model/deliveryCandlestick';
|
14 | 14 | import { DeliveryContract } from '../model/deliveryContract';
|
15 | 15 | import { DeliverySettlement } from '../model/deliverySettlement';
|
| 16 | +import { DeliveryTicker } from '../model/deliveryTicker'; |
16 | 17 | import { FuturesAccount } from '../model/futuresAccount';
|
17 | 18 | import { FuturesAccountBook } from '../model/futuresAccountBook';
|
18 | 19 | import { FuturesLimitRiskTiers } from '../model/futuresLimitRiskTiers';
|
19 | 20 | import { FuturesLiquidate } from '../model/futuresLiquidate';
|
20 | 21 | import { FuturesOrder } from '../model/futuresOrder';
|
21 | 22 | import { FuturesOrderBook } from '../model/futuresOrderBook';
|
22 | 23 | import { FuturesPriceTriggeredOrder } from '../model/futuresPriceTriggeredOrder';
|
23 |
| -import { FuturesTicker } from '../model/futuresTicker'; |
24 | 24 | import { FuturesTrade } from '../model/futuresTrade';
|
25 | 25 | import { InsuranceRecord } from '../model/insuranceRecord';
|
26 | 26 | import { MyFuturesTrade } from '../model/myFuturesTrade';
|
@@ -365,7 +365,7 @@ export class DeliveryApi {
|
365 | 365 | public async listDeliveryTickers(
|
366 | 366 | settle: 'usdt',
|
367 | 367 | opts: { contract?: string },
|
368 |
| - ): Promise<{ response: AxiosResponse; body: Array<FuturesTicker> }> { |
| 368 | + ): Promise<{ response: AxiosResponse; body: Array<DeliveryTicker> }> { |
369 | 369 | const localVarPath =
|
370 | 370 | this.client.basePath +
|
371 | 371 | '/delivery/{settle}/tickers'.replace('{' + 'settle' + '}', encodeURIComponent(String(settle)));
|
@@ -397,7 +397,7 @@ export class DeliveryApi {
|
397 | 397 | };
|
398 | 398 |
|
399 | 399 | const authSettings = [];
|
400 |
| - return this.client.request<Array<FuturesTicker>>(config, 'Array<FuturesTicker>', authSettings); |
| 400 | + return this.client.request<Array<DeliveryTicker>>(config, 'Array<DeliveryTicker>', authSettings); |
401 | 401 | }
|
402 | 402 |
|
403 | 403 | /**
|
|
0 commit comments