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
Copy file name to clipboardExpand all lines: docs/BatchOrder.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
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
19
19
**amount** | **str** | Trade amount | [optional]
20
20
**price** | **str** | Order price | [optional]
21
21
**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']
22
-
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders | [optional]
22
+
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders. Set to -1 to hide the amount totally | [optional]
23
23
**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]
24
24
**left** | **str** | Amount left to fill | [optional][readonly]
25
25
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional][readonly]
Copy file name to clipboardExpand all lines: docs/DeliveryApi.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ No authorization required
153
153
[[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)
interval ='0'# str | Order depth. 0 means no aggregation is applied. default to 0 (optional) (default to '0')
180
180
limit =10# int | Maximum number of order depth data in asks or bids (optional) (default to 10)
181
+
with_id =False# bool | Whether order book update ID would be returned. This ID increments by 1 on every order book update (optional) (default to False)
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
@@ -197,6 +198,7 @@ Name | Type | Description | Notes
197
198
**contract** | **str**| Futures contract |
198
199
**interval** | **str**| Order depth. 0 means no aggregation is applied. default to 0 | [optional][default to '0']
199
200
**limit** | **int**| Maximum number of order depth data in asks or bids | [optional][default to 10]
201
+
**with_id** | **bool**| Whether order book update ID would be returned. This ID increments by 1 on every order book update | [optional][default to False]
Copy file name to clipboardExpand all lines: docs/FuturesApi.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ No authorization required
160
160
[[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)
interval ='0'# str | Order depth. 0 means no aggregation is applied. default to 0 (optional) (default to '0')
187
187
limit =10# int | Maximum number of order depth data in asks or bids (optional) (default to 10)
188
+
with_id =False# bool | Whether order book update ID would be returned. This ID increments by 1 on every order book update (optional) (default to False)
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
@@ -204,6 +205,7 @@ Name | Type | Description | Notes
204
205
**contract** | **str**| Futures contract |
205
206
**interval** | **str**| Order depth. 0 means no aggregation is applied. default to 0 | [optional][default to '0']
206
207
**limit** | **int**| Maximum number of order depth data in asks or bids | [optional][default to 10]
208
+
**with_id** | **bool**| Whether order book update ID would be returned. This ID increments by 1 on every order book update | [optional][default to False]
207
209
208
210
### Return type
209
211
@@ -1968,7 +1970,7 @@ Name | Type | Description | Notes
1968
1970
[[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/Order.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
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
16
16
**amount** | **str** | Trade amount |
17
17
**price** | **str** | Order price |
18
18
**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']
19
-
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders | [optional]
19
+
**iceberg** | **str** | Amount to display for the iceberg order. Null or 0 for normal orders. Set to -1 to hide the amount totally | [optional]
20
20
**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]
21
21
**left** | **str** | Amount left to fill | [optional][readonly]
22
22
**fill_price** | **str** | Total filled in quote currency. Deprecated in favor of `filled_total` | [optional][readonly]
[[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