Skip to content

Commit 14a5dbb

Browse files
author
gate
committed
update to v7.2.45
1 parent 4f3a5b4 commit 14a5dbb

83 files changed

Lines changed: 3242 additions & 3046 deletions

File tree

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: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
44

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

7-
- API version: v4.106.44
8-
- Package version: 7.2.44
7+
- API version: v4.106.45
8+
- Package version: 7.2.45
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
1111

@@ -611,9 +611,9 @@ Class | Method | HTTP request | Description
611611
- [CrossexClosePositionRequest](docs/CrossexClosePositionRequest.md)
612612
- [CrossexCoinDiscountRate](docs/CrossexCoinDiscountRate.md)
613613
- [CrossexConvertOrderRequest](docs/CrossexConvertOrderRequest.md)
614+
- [CrossexConvertOrderResponse](docs/CrossexConvertOrderResponse.md)
614615
- [CrossexConvertQuoteRequest](docs/CrossexConvertQuoteRequest.md)
615616
- [CrossexConvertQuoteResponse](docs/CrossexConvertQuoteResponse.md)
616-
- [CrossexFee](docs/CrossexFee.md)
617617
- [CrossexHistoricalMarginPosition](docs/CrossexHistoricalMarginPosition.md)
618618
- [CrossexHistoricalPosition](docs/CrossexHistoricalPosition.md)
619619
- [CrossexInterestRate](docs/CrossexInterestRate.md)
@@ -743,14 +743,20 @@ Class | Method | HTTP request | Description
743743
- [InlineResponse200](docs/InlineResponse200.md)
744744
- [InlineResponse2001](docs/InlineResponse2001.md)
745745
- [InlineResponse20010](docs/InlineResponse20010.md)
746+
- [InlineResponse20010Data](docs/InlineResponse20010Data.md)
747+
- [InlineResponse20010DataList](docs/InlineResponse20010DataList.md)
748+
- [InlineResponse20010DataLive](docs/InlineResponse20010DataLive.md)
749+
- [InlineResponse20010DataLiveHost](docs/InlineResponse20010DataLiveHost.md)
750+
- [InlineResponse20010DataVideo](docs/InlineResponse20010DataVideo.md)
746751
- [InlineResponse20011](docs/InlineResponse20011.md)
747-
- [InlineResponse20011Data](docs/InlineResponse20011Data.md)
748752
- [InlineResponse20012](docs/InlineResponse20012.md)
749753
- [InlineResponse20012Data](docs/InlineResponse20012Data.md)
750-
- [InlineResponse20012DataList](docs/InlineResponse20012DataList.md)
751754
- [InlineResponse20013](docs/InlineResponse20013.md)
752755
- [InlineResponse20013Data](docs/InlineResponse20013Data.md)
753756
- [InlineResponse20013DataList](docs/InlineResponse20013DataList.md)
757+
- [InlineResponse20014](docs/InlineResponse20014.md)
758+
- [InlineResponse20014Data](docs/InlineResponse20014Data.md)
759+
- [InlineResponse20014DataList](docs/InlineResponse20014DataList.md)
754760
- [InlineResponse2001Data](docs/InlineResponse2001Data.md)
755761
- [InlineResponse2002](docs/InlineResponse2002.md)
756762
- [InlineResponse2002Data](docs/InlineResponse2002Data.md)
@@ -760,22 +766,17 @@ Class | Method | HTTP request | Description
760766
- [InlineResponse2005](docs/InlineResponse2005.md)
761767
- [InlineResponse2005Data](docs/InlineResponse2005Data.md)
762768
- [InlineResponse2006](docs/InlineResponse2006.md)
763-
- [InlineResponse2006Data](docs/InlineResponse2006Data.md)
764-
- [InlineResponse2006DataHelpUrl](docs/InlineResponse2006DataHelpUrl.md)
765-
- [InlineResponse2006DataJumpUrl](docs/InlineResponse2006DataJumpUrl.md)
766-
- [InlineResponse2006DataList](docs/InlineResponse2006DataList.md)
767-
- [InlineResponse2006DataProgressConfig](docs/InlineResponse2006DataProgressConfig.md)
768769
- [InlineResponse2007](docs/InlineResponse2007.md)
769770
- [InlineResponse2007Data](docs/InlineResponse2007Data.md)
771+
- [InlineResponse2007DataHelpUrl](docs/InlineResponse2007DataHelpUrl.md)
772+
- [InlineResponse2007DataJumpUrl](docs/InlineResponse2007DataJumpUrl.md)
773+
- [InlineResponse2007DataList](docs/InlineResponse2007DataList.md)
774+
- [InlineResponse2007DataProgressConfig](docs/InlineResponse2007DataProgressConfig.md)
770775
- [InlineResponse2008](docs/InlineResponse2008.md)
771776
- [InlineResponse2008Data](docs/InlineResponse2008Data.md)
772-
- [InlineResponse2008DataItems](docs/InlineResponse2008DataItems.md)
773777
- [InlineResponse2009](docs/InlineResponse2009.md)
774778
- [InlineResponse2009Data](docs/InlineResponse2009Data.md)
775-
- [InlineResponse2009DataList](docs/InlineResponse2009DataList.md)
776-
- [InlineResponse2009DataLive](docs/InlineResponse2009DataLive.md)
777-
- [InlineResponse2009DataLiveHost](docs/InlineResponse2009DataLiveHost.md)
778-
- [InlineResponse2009DataVideo](docs/InlineResponse2009DataVideo.md)
779+
- [InlineResponse2009DataItems](docs/InlineResponse2009DataItems.md)
779780
- [InlineResponse200Data](docs/InlineResponse200Data.md)
780781
- [InlineResponse400](docs/InlineResponse400.md)
781782
- [InsuranceRecord](docs/InsuranceRecord.md)

docs/BatchOrder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Name | Type | Description | Notes
4040
**rebated_fee_currency** | **str** | Rebated fee currency unit | [optional] [readonly]
4141
**stp_id** | **int** | Orders between users in the same `stp_id` group are not allowed to be self-traded 1. If the `stp_id` of two orders being matched is non-zero and equal, they will not be executed. Instead, the corresponding strategy will be executed based on the `stp_act` of the taker. 2. `stp_id` returns `0` by default for orders that have not been set for `STP group` | [optional] [readonly]
4242
**stp_act** | **str** | Self-Trading Prevention Action. Users can use this field to set self-trade prevetion strategies 1. After users join the `STP Group`, he can pass `stp_act` to limit the user's self-trade prevetion strategy. If `stp_act` is not passed, the default is `cn` strategy。 2. When the user does not join the `STP group`, an error will be returned when passing the `stp_act` parameter。 3. If the user did not use 'stp_act' when placing the order, 'stp_act' will return '-' - cn: Cancel newest, Cancel new orders and keep old ones - co: Cancel oldest, new ones - cb: Cancel both, Both old and new orders will be cancelled | [optional]
43-
**finish_as** | **str** | 订单结束方式,包括: - open: 等待处理 - filled: 完全成交 - cancelled: 用户撤销 - liquidate_cancelled: 爆仓撤销 - small: 订单数量太小 - depth_not_enough: 深度不足导致撤单 - trader_not_enough: 对手方不足导致撤单 - ioc: 未立即成交,因为 tif 设置为 poc/rvt/rat/rpi表示只想成为maker, 经检查会成为taker被拒绝 - poc: 未满足挂单策略,因为 tif 设置为 poc - fok: 未立即完全成交,因为 tif 设置为 fok - stp: 订单发生自成交限制而被撤销 - price_protect_cancelled: 价格保护导致撤单 - unknown: 未知 | [optional] [readonly]
43+
**finish_as** | **str** | 订单结束方式,包括: - open: 等待处理 - filled: 完全成交 - cancelled: 用户撤销 - liquidate_cancelled: 爆仓撤销 - small: 订单数量太小 - depth_not_enough: 深度不足导致撤单 - trader_not_enough: 对手方不足导致撤单 - ioc: 未立即成交,因为 tif 设置为 ioc - poc: 未满足挂单策略,因为 tif 设置为 poc/rvt/rat/rpi表示只想成为maker, 经检查会成为taker被拒绝 - fok: 未立即完全成交,因为 tif 设置为 fok - stp: 订单发生自成交限制而被撤销 - price_protect_cancelled: 价格保护导致撤单 - unknown: 未知 | [optional] [readonly]
4444
**slippage** | **str** | Maximum supported slippage ratio for Spot Market Order Placement, calculated based on the latest market price at the time of order placement as the benchmark (Example: 0.03 means 3%) | [optional]
4545

4646
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/CouponApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010

1111
# **list_user_coupons**
12-
> InlineResponse2006 list_user_coupons(expired=expired, limit=limit, last_id=last_id, expire_time=expire_time, order_by=order_by, type=type, is_task_coupon=is_task_coupon)
12+
> InlineResponse2007 list_user_coupons(expired=expired, limit=limit, last_id=last_id, expire_time=expire_time, order_by=order_by, type=type, is_task_coupon=is_task_coupon)
1313
1414
Coupon Center list
1515

@@ -71,7 +71,7 @@ Name | Type | Description | Notes
7171

7272
### Return type
7373

74-
[**InlineResponse2006**](InlineResponse2006.md)
74+
[**InlineResponse2007**](InlineResponse2007.md)
7575

7676
### Authorization
7777

@@ -90,7 +90,7 @@ Name | Type | Description | Notes
9090
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
9191

9292
# **get_user_coupon_detail**
93-
> InlineResponse2007 get_user_coupon_detail(coupon_type, detail_id, is_task_coupon=is_task_coupon)
93+
> InlineResponse2008 get_user_coupon_detail(coupon_type, detail_id, is_task_coupon=is_task_coupon)
9494
9595
Coupon Center details
9696

@@ -144,7 +144,7 @@ Name | Type | Description | Notes
144144

145145
### Return type
146146

147-
[**InlineResponse2007**](InlineResponse2007.md)
147+
[**InlineResponse2008**](InlineResponse2008.md)
148148

149149
### Authorization
150150

docs/CrossExApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ Name | Type | Description | Notes
713713
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
714714

715715
# **create_crossex_convert_order**
716-
> object create_crossex_convert_order(crossex_convert_order_request=crossex_convert_order_request)
716+
> CrossexConvertOrderResponse create_crossex_convert_order(crossex_convert_order_request=crossex_convert_order_request)
717717
718718
Flash Swap Transaction
719719

@@ -763,7 +763,7 @@ Name | Type | Description | Notes
763763

764764
### Return type
765765

766-
**object**
766+
[**CrossexConvertOrderResponse**](CrossexConvertOrderResponse.md)
767767

768768
### Authorization
769769

@@ -1336,7 +1336,7 @@ Name | Type | Description | Notes
13361336
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
13371337

13381338
# **get_crossex_fee**
1339-
> CrossexFee get_crossex_fee()
1339+
> list[InlineResponse2006] get_crossex_fee()
13401340
13411341
Query User Fee Rates
13421342

@@ -1382,7 +1382,7 @@ This endpoint does not need any parameter.
13821382

13831383
### Return type
13841384

1385-
[**CrossexFee**](CrossexFee.md)
1385+
[**list[InlineResponse2006]**](InlineResponse2006.md)
13861386

13871387
### Authorization
13881388

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CrossexConvertOrderResponse
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**order_id** | **str** | Order ID |
7+
**text** | **str** | Order ID (cannot be customized) |
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/CrossexFee.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/CrossexMarginInterestRecord.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**liability_coin** | **str** | Debt Currency |
1212
**interest** | **str** | Interest |
1313
**interest_rate** | **str** | interest rate |
14-
**interest_type** | **str** | Interest deduction type (`PERIODIC_POSITION`: periodic position interest; `PERIODIC_OPEN_ORDER`: periodic open-order interest; `IMMEDIATE_OPEN_ORDER`: interest charged on order opening) |
14+
**interest_type** | **str** | Interest deduction type (`PERIODIC_POSITION` hourly interest on position, `PERIODIC_OPEN_ORDER` hourly interest on open orders, `IMMEDIATE_OPEN_ORDER` interest charged on order placement, `PERIODIC_ISOLATED` hourly interest on debt) |
1515
**create_time** | **str** | Created time |
1616
**exchange_type** | **str** | Exchange |
1717

docs/DefaultApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010

1111

1212
# **get_my_activity_entry**
13-
> InlineResponse20011 get_my_activity_entry()
13+
> InlineResponse20012 get_my_activity_entry()
1414
1515
My activity entry
1616

@@ -56,7 +56,7 @@ This endpoint does not need any parameter.
5656

5757
### Return type
5858

59-
[**InlineResponse20011**](InlineResponse20011.md)
59+
[**InlineResponse20012**](InlineResponse20012.md)
6060

6161
### Authorization
6262

@@ -75,7 +75,7 @@ This endpoint does not need any parameter.
7575
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7676

7777
# **list_activities**
78-
> InlineResponse20012 list_activities(recommend_type=recommend_type, type_ids=type_ids, keywords=keywords, page=page, page_size=page_size, sort_by=sort_by)
78+
> InlineResponse20013 list_activities(recommend_type=recommend_type, type_ids=type_ids, keywords=keywords, page=page, page_size=page_size, sort_by=sort_by)
7979
8080
Recommended activity list
8181

@@ -135,7 +135,7 @@ Name | Type | Description | Notes
135135

136136
### Return type
137137

138-
[**InlineResponse20012**](InlineResponse20012.md)
138+
[**InlineResponse20013**](InlineResponse20013.md)
139139

140140
### Authorization
141141

@@ -154,7 +154,7 @@ Name | Type | Description | Notes
154154
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
155155

156156
# **list_activity_types**
157-
> InlineResponse20013 list_activity_types()
157+
> InlineResponse20014 list_activity_types()
158158
159159
Activity type list
160160

@@ -191,7 +191,7 @@ This endpoint does not need any parameter.
191191

192192
### Return type
193193

194-
[**InlineResponse20013**](InlineResponse20013.md)
194+
[**InlineResponse20014**](InlineResponse20014.md)
195195

196196
### Authorization
197197

docs/InlineResponse20010.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**success** | **bool** | Whether redemption was successful | [optional]
6+
**code** | **int** | Status code, 200 = success | [optional]
7+
**label** | **str** | Status label | [optional]
8+
**message** | **str** | Status message | [optional]
9+
**request_id** | **str** | Request ID | [optional]
10+
**data** | [**InlineResponse20010Data**](InlineResponse20010Data.md) | | [optional]
711

812
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
913

docs/InlineResponse20010Data.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# InlineResponse20010Data
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**list** | [**list[InlineResponse20010DataList]**](InlineResponse20010DataList.md) | Live stream/replay list | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

0 commit comments

Comments
 (0)