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
*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
203
203
*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
**delivery_time** | **int** | Settlement time | [optional]
22
+
**text** | **str** | Custom order information | [optional]
22
23
23
24
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[**list_dual_investment_plans**](EarnApi.md#list_dual_investment_plans) | **GET** /earn/dual/investment_plan | Dual Investment product list
9
10
[**list_dual_orders**](EarnApi.md#list_dual_orders) | **GET** /earn/dual/orders | Dual Investment order list
10
11
[**place_dual_order**](EarnApi.md#place_dual_order) | **POST** /earn/dual/orders | Place Dual Investment order
@@ -79,8 +80,73 @@ void (empty response body)
79
80
80
81
[[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)
81
82
83
+
# **rate_list_eth2**
84
+
> list[Eth2RateList] rate_list_eth2()
85
+
86
+
ETH2 historical rate of return query
87
+
88
+
Check the ETH earnings rate record for the last 31 days
89
+
90
+
### Example
91
+
92
+
* Api Key Authentication (apiv4):
93
+
```python
94
+
from__future__import print_function
95
+
import gate_api
96
+
from gate_api.exceptions import ApiException, GateApiException
97
+
# Defining the host is optional and defaults to https://api.gateio.ws/api/v4
98
+
# See configuration.py for a list of all supported configuration parameters.
99
+
# The client must configure the authentication and authorization parameters
100
+
# in accordance with the API server security policy.
101
+
# Examples for each auth method are provided below, use the example that
102
+
# satisfies your auth use case.
103
+
104
+
# Configure APIv4 key authorization
105
+
configuration = gate_api.Configuration(
106
+
host="https://api.gateio.ws/api/v4",
107
+
key="YOU_API_KEY",
108
+
secret="YOUR_API_SECRET"
109
+
)
110
+
111
+
api_client = gate_api.ApiClient(configuration)
112
+
# Create an instance of the API class
113
+
api_instance = gate_api.EarnApi(api_client)
114
+
115
+
try:
116
+
# ETH2 historical rate of return query
117
+
api_response = api_instance.rate_list_eth2()
118
+
print(api_response)
119
+
except GateApiException as ex:
120
+
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
121
+
except ApiException as e:
122
+
print("Exception when calling EarnApi->rate_list_eth2: %s\n"% e)
123
+
```
124
+
125
+
### Parameters
126
+
This endpoint does not need any parameter.
127
+
128
+
### Return type
129
+
130
+
[**list[Eth2RateList]**](Eth2RateList.md)
131
+
132
+
### Authorization
133
+
134
+
[apiv4](../README.md#apiv4)
135
+
136
+
### HTTP request headers
137
+
138
+
-**Content-Type**: Not defined
139
+
-**Accept**: application/json
140
+
141
+
### HTTP response details
142
+
| Status code | Description | Response headers |
143
+
|-------------|-------------|------------------|
144
+
**200** | Successful | - |
145
+
146
+
[[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)
**plan_id** | **int**| Financial project id | [optional]
115
185
116
186
### Return type
117
187
@@ -134,7 +204,7 @@ No authorization required
134
204
[[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)
**date_time** | **int** | Date and Time Stamp | [optional]
7
+
**date** | **str** | Date | [optional]
8
+
**rate** | **str** | percentage | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**chain** | **str** | Name of the chain used in withdrawals |
16
16
17
17
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/PlaceDualInvestmentOrder.md
+1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
**copies** | **str** | The number of copies is mutually exclusive with the amount field and will be deprecated soon. It is recommended to use the amount parameter. | [optional]
9
9
**is_max** | **int** | Whether to purchase at the maximum. Mutually exclusive with the amount field. Will be deprecated soon. It is recommended to use the amount parameter. | [optional]
10
10
**amount** | **str** | Subscription amount, mutually exclusive with the copies field |
11
+
**text** | **str** | User defined information. If not empty, must follow the rules below: 1. prefixed with `t-` 2. no longer than 28 bytes without `t-` prefix 3. can only include 0-9, A-Z, a-z, underscore(_), hyphen(-) or dot(.) | [optional]
11
12
12
13
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Currency has two forms: 1. Only currency name, e.g., BTC, USDT 2. `<currency>_<chain>`, e.g., `HT_ETH` The latter one occurs when one currency has multiple chains. Currency detail contains a `chain` field whatever the form is. To retrieve all chains of one currency, you can use use all the details which has the name of the currency or name starting with `<currency>_`.
46
+
When a currency corresponds to multiple chains, you can query the information of multiple chains through the `chains` field, such as the charging and recharge status, identification, etc. of the chain.
Copy file name to clipboardExpand all lines: docs/UnifiedBalance.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
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]
19
19
**im** | **str** | Full-position initial margin is valid in single-currency margin mode and is 0 in other modes such as cross-currency margin/combined margin mode | [optional]
20
-
**mm** | **str** | Full-position maintenance margin rate is valid in single-currency margin mode and is 0 in other modes such as cross-currency margin/combined margin mode | [optional]
20
+
**mm** | **str** | The full position maintains margin, which is valid in the singlecurrency margin mode, and other cross-currency margin combination margin mode is 0. | [optional]
21
21
**imr** | **str** | Full-position initial margin rate is valid in single-currency margin mode and is 0 in other modes such as cross-currency margin/combined margin mode | [optional]
22
22
**mmr** | **str** | Full-position maintenance margin rate is valid in single-currency margin mode and is 0 in other modes such as cross-currency margin/combined margin mode | [optional]
23
23
**margin_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]
**memo** | **str** | Additional remarks with regards to the withdrawal | [optional]
16
-
**status** | **str** | Transaction status - DONE: Completed (block_number > 0 is considered to be truly completed) - CANCEL: Canceled - REQUEST: Requesting - MANUAL: Pending manual review - BCODE: Recharge code operation - EXTPEND: Sent awaiting confirmation - FAIL: Failure on the chain awaiting confirmation - INVALID: Invalid order - VERIFY: Verifying - PROCES: Processing - PEND: Processing - DMOVE: pending manual review - SPLITPEND: cny withdrawal is greater than 50,000, orders will be split automatically | [optional][readonly]
16
+
**status** | **str** | Transaction status - DONE: Completed (block_number > 0 is considered to be truly completed) - CANCEL: Canceled - REQUEST: Requesting - MANUAL: Pending manual review - BCODE: Recharge code operation - EXTPEND: Sent awaiting confirmation - FAIL: Failure on the chain awaiting confirmation - INVALID: Invalid order - VERIFY: Verifying - PROCES: Processing - PEND: Processing - DMOVE: pending manual review | [optional][readonly]
17
17
**chain** | **str** | Name of the chain used in withdrawals |
18
18
19
19
[[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