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
**position_size** | **int** | Current total long position size | [optional]
33
+
**config_change_time** | **float** | Configuration's last changed time | [optional]
33
34
34
35
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**balance** | **str** | Balance after change | [optional]
9
+
**type** | **str** | Changing Type - dnw: Deposit & Withdraw - pnl: Profit & Loss by reducing position - fee: Trading fee - refr: Referrer rebate - fund: Funding | [optional]
10
+
**text** | **str** | Comment | [optional]
11
+
12
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
@@ -174,6 +177,51 @@ Authentication with API key and secret is required
174
177
175
178
[[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)
[[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)
@@ -278,6 +326,110 @@ Authentication with API key and secret is required
278
326
279
327
[[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)
Authentication with API key and secret is required
370
+
371
+
### HTTP request headers
372
+
373
+
-**Content-Type**: Not defined
374
+
-**Accept**: application/json
375
+
376
+
[[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)
Authentication with API key and secret is required
425
+
426
+
### HTTP request headers
427
+
428
+
-**Content-Type**: Not defined
429
+
-**Accept**: application/json
430
+
431
+
[[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)
**create_time** | **float** | Order creation time | [optional]
8
9
**finish_time** | **float** | Order finished time. Not returned if order is open | [optional]
9
-
**finish_as** | **str** | how the order is finished. - filled: all filled - cancelled: manually cancelled - liquidated: cancelled because of liquidation - ioc: time in force is `IOC`, finish immediately - auto_deleveraged: finished by ADL - reduce_only: cancelled because of increasing position while `reduce-only` set | [optional]
10
+
**finish_as** | **str** | How the order is finished. - filled: all filled - cancelled: manually cancelled - liquidated: cancelled because of liquidation - ioc: time in force is `IOC`, finish immediately - auto_deleveraged: finished by ADL - reduce_only: cancelled because of increasing position while `reduce-only` set | [optional]
10
11
**status** | **str** | Order status - `open`: waiting to be traded - `finished`: finished | [optional]
11
12
**contract** | **str** | Futures contract |
12
13
**size** | **int** | Order size. Specify positive number to make a bid, and negative number to ask | [optional]
@@ -21,6 +22,9 @@ Name | Type | Description | Notes
21
22
**left** | **int** | Size left to be traded | [optional]
22
23
**fill_price** | **str** | Fill price of the order | [optional]
23
24
**text** | **str** | How order is created - web: from web - api: from API - app: from mobile phones - auto_deleveraging: from ADL - liquidation: from liquidation - insurance: from insurance | [optional]
25
+
**tkfr** | **str** | Taker fee | [optional]
26
+
**mkfr** | **str** | Maker fee | [optional]
27
+
**refu** | **str** | Reference user ID | [optional]
24
28
25
29
[[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: gate_api/__init__.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@
7
7
8
8
APIv4 futures provides all sorts of futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. # noqa: E501
0 commit comments