Skip to content

Commit 54fe05b

Browse files
committed
increase order book limit to 100
1 parent 295d1a9 commit 54fe05b

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ APIv4 provides spot, margin and futures trading operations. There are public API
33

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

6-
- API version: 4.17.0
7-
- Package version: 4.17.0
6+
- API version: 4.17.1
7+
- Package version: 4.17.1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1010

gate_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "4.17.0"
17+
__version__ = "4.17.1"
1818

1919
# import apis into sdk package
2020
from gate_api.api.delivery_api import DeliveryApi

gate_api/api/spot_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,10 @@ def list_order_book_with_http_info(self, currency_pair, **kwargs): # noqa: E501
404404
) # noqa: E501
405405

406406
if (
407-
self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 30
407+
self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 100
408408
): # noqa: E501
409409
raise ApiValueError(
410-
"Invalid value for parameter `limit` when calling `list_order_book`, must be a value less than or equal to `30`"
410+
"Invalid value for parameter `limit` when calling `list_order_book`, must be a value less than or equal to `100`"
411411
) # noqa: E501
412412
if (
413413
self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1

gate_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
8282
self.default_headers[header_name] = header_value
8383
self.cookie = cookie
8484
# Set default User-Agent.
85-
self.user_agent = 'OpenAPI-Generator/4.17.0/python'
85+
self.user_agent = 'OpenAPI-Generator/4.17.1/python'
8686
self.client_side_validation = configuration.client_side_validation
8787

8888
def __enter__(self):

gate_api/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ def to_debug_report(self):
316316
"Python SDK Debug Report:\n"
317317
"OS: {env}\n"
318318
"Python Version: {pyversion}\n"
319-
"Version of the API: 4.17.0\n"
320-
"SDK Package Version: 4.17.0".format(env=sys.platform, pyversion=sys.version)
319+
"Version of the API: 4.17.1\n"
320+
"SDK Package Version: 4.17.1".format(env=sys.platform, pyversion=sys.version)
321321
)
322322

323323
def get_host_settings(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from setuptools import setup, find_packages # noqa: H301
1414

1515
NAME = "gate-api"
16-
VERSION = "4.17.0"
16+
VERSION = "4.17.1"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

0 commit comments

Comments
 (0)