Skip to content

Commit 74aeb56

Browse files
author
gateio
committed
update to v6.94.2
1 parent 7b88a41 commit 74aeb56

11 files changed

+37
-37
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ APIv4 provides spot, margin and futures trading operations. There are public API
55

66
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

8-
- API version: 4.94.0
9-
- Package version: 6.94.0
8+
- API version: 4.94.2
9+
- Package version: 6.94.2
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1212

@@ -197,9 +197,9 @@ Class | Method | HTTP request | Description
197197
*DeliveryApi* | [**list_delivery_liquidates**](docs/DeliveryApi.md#list_delivery_liquidates) | **GET** /delivery/{settle}/liquidates | List liquidation history
198198
*DeliveryApi* | [**list_delivery_settlements**](docs/DeliveryApi.md#list_delivery_settlements) | **GET** /delivery/{settle}/settlements | List settlement history
199199
*DeliveryApi* | [**list_delivery_risk_limit_tiers**](docs/DeliveryApi.md#list_delivery_risk_limit_tiers) | **GET** /delivery/{settle}/risk_limit_tiers | List risk limit tiers
200-
*DeliveryApi* | [**list_price_triggered_delivery_orders**](docs/DeliveryApi.md#list_price_triggered_delivery_orders) | **GET** /delivery/{settle}/price_orders | List all auto orders
200+
*DeliveryApi* | [**list_price_triggered_delivery_orders**](docs/DeliveryApi.md#list_price_triggered_delivery_orders) | **GET** /delivery/{settle}/price_orders | List All Price-triggered Orders
201201
*DeliveryApi* | [**create_price_triggered_delivery_order**](docs/DeliveryApi.md#create_price_triggered_delivery_order) | **POST** /delivery/{settle}/price_orders | Create a price-triggered order
202-
*DeliveryApi* | [**cancel_price_triggered_delivery_order_list**](docs/DeliveryApi.md#cancel_price_triggered_delivery_order_list) | **DELETE** /delivery/{settle}/price_orders | Cancel all open orders
202+
*DeliveryApi* | [**cancel_price_triggered_delivery_order_list**](docs/DeliveryApi.md#cancel_price_triggered_delivery_order_list) | **DELETE** /delivery/{settle}/price_orders | Cancel All Price-triggered Orders
203203
*DeliveryApi* | [**get_price_triggered_delivery_order**](docs/DeliveryApi.md#get_price_triggered_delivery_order) | **GET** /delivery/{settle}/price_orders/{order_id} | Get a price-triggered order
204204
*DeliveryApi* | [**cancel_price_triggered_delivery_order**](docs/DeliveryApi.md#cancel_price_triggered_delivery_order) | **DELETE** /delivery/{settle}/price_orders/{order_id} | cancel a price-triggered order
205205
*EarnApi* | [**swap_eth2**](docs/EarnApi.md#swap_eth2) | **POST** /earn/staking/eth2/swap | ETH2 swap
@@ -257,9 +257,9 @@ Class | Method | HTTP request | Description
257257
*FuturesApi* | [**get_futures_fee**](docs/FuturesApi.md#get_futures_fee) | **GET** /futures/{settle}/fee | Query user trading fee rates
258258
*FuturesApi* | [**cancel_batch_future_orders**](docs/FuturesApi.md#cancel_batch_future_orders) | **POST** /futures/{settle}/batch_cancel_orders | Cancel a batch of orders with an ID list
259259
*FuturesApi* | [**amend_batch_future_orders**](docs/FuturesApi.md#amend_batch_future_orders) | **POST** /futures/{settle}/batch_amend_orders | Batch modify orders with specified IDs
260-
*FuturesApi* | [**list_price_triggered_orders**](docs/FuturesApi.md#list_price_triggered_orders) | **GET** /futures/{settle}/price_orders | List all auto orders
260+
*FuturesApi* | [**list_price_triggered_orders**](docs/FuturesApi.md#list_price_triggered_orders) | **GET** /futures/{settle}/price_orders | List All Price-triggered Orders
261261
*FuturesApi* | [**create_price_triggered_order**](docs/FuturesApi.md#create_price_triggered_order) | **POST** /futures/{settle}/price_orders | Create a price-triggered order
262-
*FuturesApi* | [**cancel_price_triggered_order_list**](docs/FuturesApi.md#cancel_price_triggered_order_list) | **DELETE** /futures/{settle}/price_orders | Cancel all open orders
262+
*FuturesApi* | [**cancel_price_triggered_order_list**](docs/FuturesApi.md#cancel_price_triggered_order_list) | **DELETE** /futures/{settle}/price_orders | Cancel All Price-triggered Orders
263263
*FuturesApi* | [**get_price_triggered_order**](docs/FuturesApi.md#get_price_triggered_order) | **GET** /futures/{settle}/price_orders/{order_id} | Get a price-triggered order
264264
*FuturesApi* | [**cancel_price_triggered_order**](docs/FuturesApi.md#cancel_price_triggered_order) | **DELETE** /futures/{settle}/price_orders/{order_id} | cancel a price-triggered order
265265
*MarginApi* | [**list_margin_accounts**](docs/MarginApi.md#list_margin_accounts) | **GET** /margin/accounts | Margin account list
@@ -359,7 +359,7 @@ Class | Method | HTTP request | Description
359359
*SpotApi* | [**get_spot_insurance_history**](docs/SpotApi.md#get_spot_insurance_history) | **GET** /spot/insurance_history | Query spot insurance fund historical data
360360
*SpotApi* | [**list_spot_price_triggered_orders**](docs/SpotApi.md#list_spot_price_triggered_orders) | **GET** /spot/price_orders | Retrieve running auto order list
361361
*SpotApi* | [**create_spot_price_triggered_order**](docs/SpotApi.md#create_spot_price_triggered_order) | **POST** /spot/price_orders | Create a price-triggered order
362-
*SpotApi* | [**cancel_spot_price_triggered_order_list**](docs/SpotApi.md#cancel_spot_price_triggered_order_list) | **DELETE** /spot/price_orders | Cancel all open orders
362+
*SpotApi* | [**cancel_spot_price_triggered_order_list**](docs/SpotApi.md#cancel_spot_price_triggered_order_list) | **DELETE** /spot/price_orders | Cancel All Price-triggered Orders
363363
*SpotApi* | [**get_spot_price_triggered_order**](docs/SpotApi.md#get_spot_price_triggered_order) | **GET** /spot/price_orders/{order_id} | Get a price-triggered order
364364
*SpotApi* | [**cancel_spot_price_triggered_order**](docs/SpotApi.md#cancel_spot_price_triggered_order) | **DELETE** /spot/price_orders/{order_id} | cancel a price-triggered order
365365
*WalletApi* | [**list_currency_chains**](docs/WalletApi.md#list_currency_chains) | **GET** /wallet/currency_chains | List chains supported for specified currency

docs/DeliveryApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Method | HTTP request | Description
2828
[**list_delivery_liquidates**](DeliveryApi.md#list_delivery_liquidates) | **GET** /delivery/{settle}/liquidates | List liquidation history
2929
[**list_delivery_settlements**](DeliveryApi.md#list_delivery_settlements) | **GET** /delivery/{settle}/settlements | List settlement history
3030
[**list_delivery_risk_limit_tiers**](DeliveryApi.md#list_delivery_risk_limit_tiers) | **GET** /delivery/{settle}/risk_limit_tiers | List risk limit tiers
31-
[**list_price_triggered_delivery_orders**](DeliveryApi.md#list_price_triggered_delivery_orders) | **GET** /delivery/{settle}/price_orders | List all auto orders
31+
[**list_price_triggered_delivery_orders**](DeliveryApi.md#list_price_triggered_delivery_orders) | **GET** /delivery/{settle}/price_orders | List All Price-triggered Orders
3232
[**create_price_triggered_delivery_order**](DeliveryApi.md#create_price_triggered_delivery_order) | **POST** /delivery/{settle}/price_orders | Create a price-triggered order
33-
[**cancel_price_triggered_delivery_order_list**](DeliveryApi.md#cancel_price_triggered_delivery_order_list) | **DELETE** /delivery/{settle}/price_orders | Cancel all open orders
33+
[**cancel_price_triggered_delivery_order_list**](DeliveryApi.md#cancel_price_triggered_delivery_order_list) | **DELETE** /delivery/{settle}/price_orders | Cancel All Price-triggered Orders
3434
[**get_price_triggered_delivery_order**](DeliveryApi.md#get_price_triggered_delivery_order) | **GET** /delivery/{settle}/price_orders/{order_id} | Get a price-triggered order
3535
[**cancel_price_triggered_delivery_order**](DeliveryApi.md#cancel_price_triggered_delivery_order) | **DELETE** /delivery/{settle}/price_orders/{order_id} | cancel a price-triggered order
3636

@@ -1700,7 +1700,7 @@ No authorization required
17001700
# **list_price_triggered_delivery_orders**
17011701
> list[FuturesPriceTriggeredOrder] list_price_triggered_delivery_orders(settle, status, contract=contract, limit=limit, offset=offset)
17021702
1703-
List all auto orders
1703+
List All Price-triggered Orders
17041704

17051705
### Example
17061706

@@ -1733,7 +1733,7 @@ limit = 100 # int | Maximum number of records to be returned in a single list (o
17331733
offset = 0 # int | List offset, starting from 0 (optional) (default to 0)
17341734

17351735
try:
1736-
# List all auto orders
1736+
# List All Price-triggered Orders
17371737
api_response = api_instance.list_price_triggered_delivery_orders(settle, status, contract=contract, limit=limit, offset=offset)
17381738
print(api_response)
17391739
except GateApiException as ex:
@@ -1844,7 +1844,7 @@ Name | Type | Description | Notes
18441844
# **cancel_price_triggered_delivery_order_list**
18451845
> list[FuturesPriceTriggeredOrder] cancel_price_triggered_delivery_order_list(settle, contract)
18461846
1847-
Cancel all open orders
1847+
Cancel All Price-triggered Orders
18481848

18491849
### Example
18501850

@@ -1874,7 +1874,7 @@ settle = 'usdt' # str | Settle currency
18741874
contract = 'BTC_USDT' # str | Futures contract
18751875

18761876
try:
1877-
# Cancel all open orders
1877+
# Cancel All Price-triggered Orders
18781878
api_response = api_instance.cancel_price_triggered_delivery_order_list(settle, contract)
18791879
print(api_response)
18801880
except GateApiException as ex:

docs/FuturesApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Method | HTTP request | Description
4646
[**get_futures_fee**](FuturesApi.md#get_futures_fee) | **GET** /futures/{settle}/fee | Query user trading fee rates
4747
[**cancel_batch_future_orders**](FuturesApi.md#cancel_batch_future_orders) | **POST** /futures/{settle}/batch_cancel_orders | Cancel a batch of orders with an ID list
4848
[**amend_batch_future_orders**](FuturesApi.md#amend_batch_future_orders) | **POST** /futures/{settle}/batch_amend_orders | Batch modify orders with specified IDs
49-
[**list_price_triggered_orders**](FuturesApi.md#list_price_triggered_orders) | **GET** /futures/{settle}/price_orders | List all auto orders
49+
[**list_price_triggered_orders**](FuturesApi.md#list_price_triggered_orders) | **GET** /futures/{settle}/price_orders | List All Price-triggered Orders
5050
[**create_price_triggered_order**](FuturesApi.md#create_price_triggered_order) | **POST** /futures/{settle}/price_orders | Create a price-triggered order
51-
[**cancel_price_triggered_order_list**](FuturesApi.md#cancel_price_triggered_order_list) | **DELETE** /futures/{settle}/price_orders | Cancel all open orders
51+
[**cancel_price_triggered_order_list**](FuturesApi.md#cancel_price_triggered_order_list) | **DELETE** /futures/{settle}/price_orders | Cancel All Price-triggered Orders
5252
[**get_price_triggered_order**](FuturesApi.md#get_price_triggered_order) | **GET** /futures/{settle}/price_orders/{order_id} | Get a price-triggered order
5353
[**cancel_price_triggered_order**](FuturesApi.md#cancel_price_triggered_order) | **DELETE** /futures/{settle}/price_orders/{order_id} | cancel a price-triggered order
5454

@@ -3027,7 +3027,7 @@ Name | Type | Description | Notes
30273027
# **list_price_triggered_orders**
30283028
> list[FuturesPriceTriggeredOrder] list_price_triggered_orders(settle, status, contract=contract, limit=limit, offset=offset)
30293029
3030-
List all auto orders
3030+
List All Price-triggered Orders
30313031

30323032
### Example
30333033

@@ -3060,7 +3060,7 @@ limit = 100 # int | Maximum number of records to be returned in a single list (o
30603060
offset = 0 # int | List offset, starting from 0 (optional) (default to 0)
30613061

30623062
try:
3063-
# List all auto orders
3063+
# List All Price-triggered Orders
30643064
api_response = api_instance.list_price_triggered_orders(settle, status, contract=contract, limit=limit, offset=offset)
30653065
print(api_response)
30663066
except GateApiException as ex:
@@ -3171,7 +3171,7 @@ Name | Type | Description | Notes
31713171
# **cancel_price_triggered_order_list**
31723172
> list[FuturesPriceTriggeredOrder] cancel_price_triggered_order_list(settle, contract=contract)
31733173
3174-
Cancel all open orders
3174+
Cancel All Price-triggered Orders
31753175

31763176
### Example
31773177

@@ -3201,7 +3201,7 @@ settle = 'usdt' # str | Settle currency
32013201
contract = 'BTC_USDT' # str | Futures contract, return related data only if specified (optional)
32023202

32033203
try:
3204-
# Cancel all open orders
3204+
# Cancel All Price-triggered Orders
32053205
api_response = api_instance.cancel_price_triggered_order_list(settle, contract=contract)
32063206
print(api_response)
32073207
except GateApiException as ex:

docs/SpotApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Method | HTTP request | Description
3333
[**get_spot_insurance_history**](SpotApi.md#get_spot_insurance_history) | **GET** /spot/insurance_history | Query spot insurance fund historical data
3434
[**list_spot_price_triggered_orders**](SpotApi.md#list_spot_price_triggered_orders) | **GET** /spot/price_orders | Retrieve running auto order list
3535
[**create_spot_price_triggered_order**](SpotApi.md#create_spot_price_triggered_order) | **POST** /spot/price_orders | Create a price-triggered order
36-
[**cancel_spot_price_triggered_order_list**](SpotApi.md#cancel_spot_price_triggered_order_list) | **DELETE** /spot/price_orders | Cancel all open orders
36+
[**cancel_spot_price_triggered_order_list**](SpotApi.md#cancel_spot_price_triggered_order_list) | **DELETE** /spot/price_orders | Cancel All Price-triggered Orders
3737
[**get_spot_price_triggered_order**](SpotApi.md#get_spot_price_triggered_order) | **GET** /spot/price_orders/{order_id} | Get a price-triggered order
3838
[**cancel_spot_price_triggered_order**](SpotApi.md#cancel_spot_price_triggered_order) | **DELETE** /spot/price_orders/{order_id} | cancel a price-triggered order
3939

@@ -2044,7 +2044,7 @@ Name | Type | Description | Notes
20442044
# **cancel_spot_price_triggered_order_list**
20452045
> list[SpotPriceTriggeredOrder] cancel_spot_price_triggered_order_list(market=market, account=account)
20462046
2047-
Cancel all open orders
2047+
Cancel All Price-triggered Orders
20482048

20492049
### Example
20502050

@@ -2074,7 +2074,7 @@ market = 'BTC_USDT' # str | Currency pair (optional)
20742074
account = 'account_example' # str | Trading account type. Portfolio margin account must set to `unified` (optional)
20752075

20762076
try:
2077-
# Cancel all open orders
2077+
# Cancel All Price-triggered Orders
20782078
api_response = api_instance.cancel_spot_price_triggered_order_list(market=market, account=account)
20792079
print(api_response)
20802080
except GateApiException as ex:

gate_api/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "6.94.0"
17+
__version__ = "6.94.2"
1818

1919
# import apis into sdk package
2020
from gate_api.api.earn_uni_api import EarnUniApi

gate_api/api/delivery_api.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,7 @@ def list_delivery_risk_limit_tiers_with_http_info(self, settle, **kwargs): # no
31353135
collection_formats=collection_formats)
31363136

31373137
def list_price_triggered_delivery_orders(self, settle, status, **kwargs): # noqa: E501
3138-
"""List all auto orders # noqa: E501
3138+
"""List All Price-triggered Orders # noqa: E501
31393139
31403140
This method makes a synchronous HTTP request by default. To make an
31413141
asynchronous HTTP request, please pass async_req=True
@@ -3163,7 +3163,7 @@ def list_price_triggered_delivery_orders(self, settle, status, **kwargs): # noq
31633163
return self.list_price_triggered_delivery_orders_with_http_info(settle, status, **kwargs) # noqa: E501
31643164

31653165
def list_price_triggered_delivery_orders_with_http_info(self, settle, status, **kwargs): # noqa: E501
3166-
"""List all auto orders # noqa: E501
3166+
"""List All Price-triggered Orders # noqa: E501
31673167
31683168
This method makes a synchronous HTTP request by default. To make an
31693169
asynchronous HTTP request, please pass async_req=True
@@ -3402,7 +3402,7 @@ def create_price_triggered_delivery_order_with_http_info(self, settle, futures_p
34023402
collection_formats=collection_formats)
34033403

34043404
def cancel_price_triggered_delivery_order_list(self, settle, contract, **kwargs): # noqa: E501
3405-
"""Cancel all open orders # noqa: E501
3405+
"""Cancel All Price-triggered Orders # noqa: E501
34063406
34073407
This method makes a synchronous HTTP request by default. To make an
34083408
asynchronous HTTP request, please pass async_req=True
@@ -3427,7 +3427,7 @@ def cancel_price_triggered_delivery_order_list(self, settle, contract, **kwargs)
34273427
return self.cancel_price_triggered_delivery_order_list_with_http_info(settle, contract, **kwargs) # noqa: E501
34283428

34293429
def cancel_price_triggered_delivery_order_list_with_http_info(self, settle, contract, **kwargs): # noqa: E501
3430-
"""Cancel all open orders # noqa: E501
3430+
"""Cancel All Price-triggered Orders # noqa: E501
34313431
34323432
This method makes a synchronous HTTP request by default. To make an
34333433
asynchronous HTTP request, please pass async_req=True

gate_api/api/futures_api.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -5634,7 +5634,7 @@ def amend_batch_future_orders_with_http_info(self, settle, batch_amend_order_req
56345634
collection_formats=collection_formats)
56355635

56365636
def list_price_triggered_orders(self, settle, status, **kwargs): # noqa: E501
5637-
"""List all auto orders # noqa: E501
5637+
"""List All Price-triggered Orders # noqa: E501
56385638
56395639
This method makes a synchronous HTTP request by default. To make an
56405640
asynchronous HTTP request, please pass async_req=True
@@ -5662,7 +5662,7 @@ def list_price_triggered_orders(self, settle, status, **kwargs): # noqa: E501
56625662
return self.list_price_triggered_orders_with_http_info(settle, status, **kwargs) # noqa: E501
56635663

56645664
def list_price_triggered_orders_with_http_info(self, settle, status, **kwargs): # noqa: E501
5665-
"""List all auto orders # noqa: E501
5665+
"""List All Price-triggered Orders # noqa: E501
56665666
56675667
This method makes a synchronous HTTP request by default. To make an
56685668
asynchronous HTTP request, please pass async_req=True
@@ -5901,7 +5901,7 @@ def create_price_triggered_order_with_http_info(self, settle, futures_price_trig
59015901
collection_formats=collection_formats)
59025902

59035903
def cancel_price_triggered_order_list(self, settle, **kwargs): # noqa: E501
5904-
"""Cancel all open orders # noqa: E501
5904+
"""Cancel All Price-triggered Orders # noqa: E501
59055905
59065906
This method makes a synchronous HTTP request by default. To make an
59075907
asynchronous HTTP request, please pass async_req=True
@@ -5926,7 +5926,7 @@ def cancel_price_triggered_order_list(self, settle, **kwargs): # noqa: E501
59265926
return self.cancel_price_triggered_order_list_with_http_info(settle, **kwargs) # noqa: E501
59275927

59285928
def cancel_price_triggered_order_list_with_http_info(self, settle, **kwargs): # noqa: E501
5929-
"""Cancel all open orders # noqa: E501
5929+
"""Cancel All Price-triggered Orders # noqa: E501
59305930
59315931
This method makes a synchronous HTTP request by default. To make an
59325932
asynchronous HTTP request, please pass async_req=True

gate_api/api/spot_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3681,7 +3681,7 @@ def create_spot_price_triggered_order_with_http_info(self, spot_price_triggered_
36813681
collection_formats=collection_formats)
36823682

36833683
def cancel_spot_price_triggered_order_list(self, **kwargs): # noqa: E501
3684-
"""Cancel all open orders # noqa: E501
3684+
"""Cancel All Price-triggered Orders # noqa: E501
36853685
36863686
This method makes a synchronous HTTP request by default. To make an
36873687
asynchronous HTTP request, please pass async_req=True
@@ -3706,7 +3706,7 @@ def cancel_spot_price_triggered_order_list(self, **kwargs): # noqa: E501
37063706
return self.cancel_spot_price_triggered_order_list_with_http_info(**kwargs) # noqa: E501
37073707

37083708
def cancel_spot_price_triggered_order_list_with_http_info(self, **kwargs): # noqa: E501
3709-
"""Cancel all open orders # noqa: E501
3709+
"""Cancel All Price-triggered Orders # noqa: E501
37103710
37113711
This method makes a synchronous HTTP request by default. To make an
37123712
asynchronous HTTP request, please pass async_req=True

gate_api/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
8383
self.default_headers[header_name] = header_value
8484
self.cookie = cookie
8585
# Set default User-Agent.
86-
self.user_agent = 'OpenAPI-Generator/6.94.0/python'
86+
self.user_agent = 'OpenAPI-Generator/6.94.2/python'
8787
self.client_side_validation = configuration.client_side_validation
8888

8989
def __enter__(self):

gate_api/configuration.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ def to_debug_report(self):
313313
return "Python SDK Debug Report:\n"\
314314
"OS: {env}\n"\
315315
"Python Version: {pyversion}\n"\
316-
"Version of the API: 4.94.0\n"\
317-
"SDK Package Version: 6.94.0".\
316+
"Version of the API: 4.94.2\n"\
317+
"SDK Package Version: 6.94.2".\
318318
format(env=sys.platform, pyversion=sys.version)
319319

320320
def get_host_settings(self):

0 commit comments

Comments
 (0)