You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*UnifiedApi* | [**get_user_leverage_currency_config**](docs/UnifiedApi.md#get_user_leverage_currency_config) | **GET** /unified/leverage/user_currency_config | The maximum and minimum leverage multiples that users can set for a currency type are:
152
+
*UnifiedApi* | [**get_user_leverage_currency_config**](docs/UnifiedApi.md#get_user_leverage_currency_config) | **GET** /unified/leverage/user_currency_config | Minimum currency leverage that can be set
153
153
*UnifiedApi* | [**get_user_leverage_currency_setting**](docs/UnifiedApi.md#get_user_leverage_currency_setting) | **GET** /unified/leverage/user_currency_setting | Get the user's currency leverage. If currency is not passed, query all currencies.
154
154
*UnifiedApi* | [**set_user_leverage_currency_setting**](docs/UnifiedApi.md#set_user_leverage_currency_setting) | **POST** /unified/leverage/user_currency_setting | Set the loan currency leverage
*RebateApi* | [**rebate_broker_commission_history**](docs/RebateApi.md#rebate_broker_commission_history) | **GET** /rebate/broker/commission_history | The broker obtains the user's commission rebate records
328
328
*RebateApi* | [**rebate_broker_transaction_history**](docs/RebateApi.md#rebate_broker_transaction_history) | **GET** /rebate/broker/transaction_history | The broker obtains the user's trading history
329
329
*RebateApi* | [**rebate_user_info**](docs/RebateApi.md#rebate_user_info) | **GET** /rebate/user/info | User retrieves rebate information
**tier** | **str** | Frequency limit level (For detailed frequency limit rules, see [Transaction ratio frequency limit](#成交比率限频)) | [optional]
6
+
**tier** | **str** | Frequency limit level (For detailed frequency limit rules, see [Transaction ratio frequency limit](#rate-limit-based-on-fill-ratio)) | [optional]
Copy file name to clipboardExpand all lines: docs/CurrencyPair.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
**trade_status** | **str** | How currency pair can be traded - untradable: cannot be bought or sold - buyable: can be bought - sellable: can be sold - tradable: can be bought or sold | [optional]
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[**rebate_broker_commission_history**](RebateApi.md#rebate_broker_commission_history) | **GET** /rebate/broker/commission_history | The broker obtains the user's commission rebate records
13
13
[**rebate_broker_transaction_history**](RebateApi.md#rebate_broker_transaction_history) | **GET** /rebate/broker/transaction_history | The broker obtains the user's trading history
14
14
[**rebate_user_info**](RebateApi.md#rebate_user_info) | **GET** /rebate/user/info | User retrieves rebate information
@@ -620,3 +621,72 @@ This endpoint does not need any parameter.
620
621
621
622
[[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)
622
623
624
+
# **user_sub_relation**
625
+
> UserSubRelation user_sub_relation(user_id_list)
626
+
627
+
User-subordinate relationship
628
+
629
+
Query whether the specified user is in the system
630
+
631
+
### Example
632
+
633
+
* Api Key Authentication (apiv4):
634
+
```python
635
+
from__future__import print_function
636
+
import gate_api
637
+
from gate_api.exceptions import ApiException, GateApiException
638
+
# Defining the host is optional and defaults to https://api.gateio.ws/api/v4
639
+
# See configuration.py for a list of all supported configuration parameters.
640
+
# The client must configure the authentication and authorization parameters
641
+
# in accordance with the API server security policy.
642
+
# Examples for each auth method are provided below, use the example that
643
+
# satisfies your auth use case.
644
+
645
+
# Configure APIv4 key authorization
646
+
configuration = gate_api.Configuration(
647
+
host="https://api.gateio.ws/api/v4",
648
+
key="YOU_API_KEY",
649
+
secret="YOUR_API_SECRET"
650
+
)
651
+
652
+
api_client = gate_api.ApiClient(configuration)
653
+
# Create an instance of the API class
654
+
api_instance = gate_api.RebateApi(api_client)
655
+
user_id_list ='1, 2, 3'# str | Query the user's ID list, split by,, if there are more than 100, take 100
**user_id_list** | **str**| Query the user's ID list, split by,, if there are more than 100, take 100 |
672
+
673
+
### Return type
674
+
675
+
[**UserSubRelation**](UserSubRelation.md)
676
+
677
+
### Authorization
678
+
679
+
[apiv4](../README.md#apiv4)
680
+
681
+
### HTTP request headers
682
+
683
+
-**Content-Type**: Not defined
684
+
-**Accept**: application/json
685
+
686
+
### HTTP response details
687
+
| Status code | Description | Response headers |
688
+
|-------------|-------------|------------------|
689
+
**200** | List retrieved | - |
690
+
691
+
[[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)
Copy file name to clipboardExpand all lines: docs/UidPushOrder.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
**create_time** | **int** | Creation time | [optional]
12
12
**status** | **str** | Withdrawal Status - CREATING: Creating - PENDING: Waiting for receiving(Please contact the other party to accept the transfer on the Gate official website) - CANCELLING: Cancelling - CANCELLED: Revoked - REFUSING: Rejection - REFUSED: Rejected - RECEIVING: Receiving - RECEIVED: Success | [optional]
**transaction_type** | **str** | Order Type | [optional]
14
15
15
16
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[**get_user_leverage_currency_config**](UnifiedApi.md#get_user_leverage_currency_config) | **GET** /unified/leverage/user_currency_config | The maximum and minimum leverage multiples that users can set for a currency type are:
21
+
[**get_user_leverage_currency_config**](UnifiedApi.md#get_user_leverage_currency_config) | **GET** /unified/leverage/user_currency_config | Minimum currency leverage that can be set
22
22
[**get_user_leverage_currency_setting**](UnifiedApi.md#get_user_leverage_currency_setting) | **GET** /unified/leverage/user_currency_setting | Get the user's currency leverage. If currency is not passed, query all currencies.
23
23
[**set_user_leverage_currency_setting**](UnifiedApi.md#set_user_leverage_currency_setting) | **POST** /unified/leverage/user_currency_setting | Set the loan currency leverage
24
24
[**get_history_loan_rate**](UnifiedApi.md#get_history_loan_rate) | **GET** /unified/history_loan_rate | get historical lending rates
Copy file name to clipboardExpand all lines: docs/UnifiedBalance.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
**total_freeze** | **str** | Total occupancy (discarded, to be offline field) | [optional]
13
13
**total_liab** | **str** | Total borrowing, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode | [optional]
14
14
**spot_in_use** | **str** | The amount of spot hedging is valid in the combined margin mode, and is 0 in other margin modes such as single currency and cross-currency margin modes | [optional]
15
-
**funding** | **str** | Yubibao financial management amount, effective when Yubibao financial management is turned on as a unified account margin switch | [optional]
15
+
**funding** | **str** | Uniloan financial management amount, effective when Uniloan financial management is turned on as a unified account margin switch | [optional]
16
16
**funding_version** | **str** | Funding version | [optional]
17
17
**cross_balance** | **str** | Full margin balance is valid in single currency margin mode, and is 0 in other modes such as cross currency margin/combined margin mode | [optional]
18
18
**iso_balance** | **str** | Isolated margin balance is valid in single-currency margin mode and is 0 in other modes such as cross-currency margin/combined margin mode | [optional]
Copy file name to clipboardExpand all lines: docs/UnifiedLeverageConfig.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
**debit** | **str** | Current liabilities | [optional]
10
10
**available_margin** | **str** | Available Margin | [optional]
11
11
**borrowable** | **str** | The current leverage you can choose is | [optional]
12
-
**except_leverage_borrowable** | **str** | The maximum amount of margin that can be borrowed and the maximum amount of Yubibao that can be borrowed, whichever is smaller | [optional]
12
+
**except_leverage_borrowable** | **str** | The maximum amount of margin that can be borrowed and the maximum amount of Uniloan that can be borrowed, whichever is smaller | [optional]
13
13
14
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments