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
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]
[[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)
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]
Copy file name to clipboardExpand all lines: gate_api/models/batch_order.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -522,7 +522,7 @@ def price(self, price):
522
522
deftime_in_force(self):
523
523
"""Gets the time_in_force of this BatchOrder. # noqa: E501
524
524
525
-
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only # noqa: E501
525
+
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee # noqa: E501
526
526
527
527
:return: The time_in_force of this BatchOrder. # noqa: E501
528
528
:rtype: str
@@ -533,7 +533,7 @@ def time_in_force(self):
533
533
deftime_in_force(self, time_in_force):
534
534
"""Sets the time_in_force of this BatchOrder.
535
535
536
-
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only # noqa: E501
536
+
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee # noqa: E501
537
537
538
538
:param time_in_force: The time_in_force of this BatchOrder. # noqa: E501
Copy file name to clipboardExpand all lines: gate_api/models/order.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -442,7 +442,7 @@ def price(self, price):
442
442
deftime_in_force(self):
443
443
"""Gets the time_in_force of this Order. # noqa: E501
444
444
445
-
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only # noqa: E501
445
+
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee # noqa: E501
446
446
447
447
:return: The time_in_force of this Order. # noqa: E501
448
448
:rtype: str
@@ -453,7 +453,7 @@ def time_in_force(self):
453
453
deftime_in_force(self, time_in_force):
454
454
"""Sets the time_in_force of this Order.
455
455
456
-
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, reduce only # noqa: E501
456
+
Time in force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only - poc: PendingOrCancelled, makes a post-only order that always enjoys a maker fee # noqa: E501
457
457
458
458
:param time_in_force: The time_in_force of this Order. # noqa: E501
0 commit comments