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
*WalletApi* | [**list_deposits**](docs/WalletApi.md#list_deposits) | **GET** /wallet/deposits | Retrieve deposit records. Time range cannot exceed 30 days
156
+
*WalletApi* | [**list_withdrawals**](docs/WalletApi.md#list_withdrawals) | **GET** /wallet/withdrawals | Retrieve withdrawal records. Time range cannot exceed 30 days
154
157
*WalletApi* | [**transfer**](docs/WalletApi.md#transfer) | **POST** /wallet/transfers | Transfer between accounts
155
158
*WalletApi* | [**transfer_with_sub_account**](docs/WalletApi.md#transfer_with_sub_account) | **POST** /wallet/sub_account_transfers | Transfer between main and sub accounts
Copy file name to clipboardExpand all lines: docs/BatchOrder.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
**side** | **str** | Order side | [optional]
18
18
**amount** | **str** | Trade amount | [optional]
19
19
**price** | **str** | Order price | [optional]
20
-
**time_in_force** | **str** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only | [optional][default to 'gtc']
20
+
**time_in_force** | **str** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee | [optional][default to 'gtc']
21
21
**auto_borrow** | **bool** | Used in margin trading(i.e. `account` is `margin`) to allow automatic loan of insufficient part if balance is not enough. | [optional]
22
22
**left** | **str** | Amount left to fill | [optional]
23
23
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional]
**position_size** | **int** | Current total long position size | [optional]
33
33
**config_change_time** | **float** | Configuration's last changed time | [optional]
34
+
**in_delisting** | **bool** | Contract is delisting | [optional]
34
35
35
36
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[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/FuturesApi.md
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -447,7 +447,7 @@ Authentication with API key and secret is required
447
447
[[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)
print("Exception when calling FuturesApi->get_my_trades: %s\n"% e)
@@ -486,7 +488,9 @@ Name | Type | Description | Notes
486
488
**contract** | **str**| Futures contract, return related data only if specified | [optional]
487
489
**order** | **int**| Futures order ID, return related data only if specified | [optional]
488
490
**limit** | **int**| Maximum number of record returned in one list | [optional][default to 100]
491
+
**offset** | **int**| List offset, starting from 0 | [optional][default to 0]
489
492
**last_id** | **str**| Specify list staring point using the `id` of last record in previous list-query results | [optional]
493
+
**count_total** | **int**| Whether to return total number matched. Default to 0(no return) | [optional][default to 0]
490
494
491
495
### Return type
492
496
@@ -963,7 +967,7 @@ No authorization required
963
967
[[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 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/Order.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
**side** | **str** | Order side |
15
15
**amount** | **str** | Trade amount |
16
16
**price** | **str** | Order price |
17
-
**time_in_force** | **str** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only | [optional][default to 'gtc']
17
+
**time_in_force** | **str** | Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee | [optional][default to 'gtc']
18
18
**auto_borrow** | **bool** | Used in margin trading(i.e. `account` is `margin`) to allow automatic loan of insufficient part if balance is not enough. | [optional]
19
19
**left** | **str** | Amount left to fill | [optional]
20
20
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional]
**currency_pair** | **str** | Required if transfer from or to margin account |
10
+
**currency_pair** | **str** | Margin currency pair. Required if transfer from or to margin account | [optional]
11
+
**settle** | **str** | Futures settle currency. Required if `currency` is `POINT` | [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)
[**list_deposits**](WalletApi.md#list_deposits) | **GET** /wallet/deposits | Retrieve deposit records. Time range cannot exceed 30 days
9
+
[**list_withdrawals**](WalletApi.md#list_withdrawals) | **GET** /wallet/withdrawals | Retrieve withdrawal records. Time range cannot exceed 30 days
7
10
[**transfer**](WalletApi.md#transfer) | **POST** /wallet/transfers | Transfer between accounts
8
11
[**transfer_with_sub_account**](WalletApi.md#transfer_with_sub_account) | **POST** /wallet/sub_account_transfers | Transfer between main and sub accounts
Authentication with API key and secret is required
55
+
56
+
### HTTP request headers
57
+
58
+
-**Content-Type**: Not defined
59
+
-**Accept**: application/json
60
+
61
+
[[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)
**currency** | **str**| Filter by currency. Return all currency records if not specified | [optional]
100
+
**_from** | **int**| Time range beginning, default to 7 days before current time | [optional]
101
+
**to** | **int**| Time range ending, default to current time | [optional]
102
+
**limit** | **int**| Maximum number of record returned in one list | [optional][default to 100]
103
+
**offset** | **int**| List offset, starting from 0 | [optional][default to 0]
104
+
105
+
### Return type
106
+
107
+
[**list[LedgerRecord]**](LedgerRecord.md)
108
+
109
+
### Authorization
110
+
111
+
Authentication with API key and secret is required
112
+
113
+
### HTTP request headers
114
+
115
+
-**Content-Type**: Not defined
116
+
-**Accept**: application/json
117
+
118
+
[[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)
**currency** | **str**| Filter by currency. Return all currency records if not specified | [optional]
157
+
**_from** | **int**| Time range beginning, default to 7 days before current time | [optional]
158
+
**to** | **int**| Time range ending, default to current time | [optional]
159
+
**limit** | **int**| Maximum number of record returned in one list | [optional][default to 100]
160
+
**offset** | **int**| List offset, starting from 0 | [optional][default to 0]
161
+
162
+
### Return type
163
+
164
+
[**list[LedgerRecord]**](LedgerRecord.md)
165
+
166
+
### Authorization
167
+
168
+
Authentication with API key and secret is required
169
+
170
+
### HTTP request headers
171
+
172
+
-**Content-Type**: Not defined
173
+
-**Accept**: application/json
174
+
175
+
[[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)
176
+
11
177
# **transfer**
12
178
> transfer(transfer)
13
179
14
180
Transfer between accounts
15
181
16
-
Transfer between different accounts. Currently support transfers between the following: 1. spot - margin
182
+
Transfer between different accounts. Currently support transfers between the following: 1. spot - margin 2. spot - futures
0 commit comments