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
**refu** | **int** | Reference user ID | [optional][readonly]
29
+
**auto_size** | **str** | Set side to close dual-mode position. `close_long` closes the long side; while `close_short` the short one. Note `size` also needs to be set to 0 | [optional]
29
30
30
31
[[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 | [optional]
15
15
16
16
[[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/SpotApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -795,7 +795,7 @@ Name | Type | Description | Notes
795
795
796
796
List orders
797
797
798
-
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported.
798
+
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported. Time range parameters are handled as order finish time.
799
799
800
800
### Example
801
801
@@ -1235,7 +1235,7 @@ Name | Type | Description | Notes
1235
1235
1236
1236
List personal trading history
1237
1237
1238
-
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range
1238
+
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range Time range parameters are handled as order finish time.
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported. # noqa: E501
1342
+
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported. Time range parameters are handled as order finish time. # noqa: E501
1343
1343
This method makes a synchronous HTTP request by default. To make an
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported. # noqa: E501
1374
+
Spot and margin orders are returned by default. If cross margin orders are needed, `account` must be set to `cross_margin` When `status` is `open`, i.e., listing open orders, only pagination parameters `page` and `limit` are supported and `limit` cannot be larger than 100. Query by `side` and time range parameters `from` and `to` are not supported. When `status` is `finished`, i.e., listing finished orders, pagination parameters, time range parameters `from` and `to`, and `side` parameters are all supported. Time range parameters are handled as order finish time. # noqa: E501
1375
1375
This method makes a synchronous HTTP request by default. To make an
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range # noqa: E501
2069
+
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range Time range parameters are handled as order finish time. # noqa: E501
2070
2070
This method makes a synchronous HTTP request by default. To make an
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range # noqa: E501
2100
+
Spot and margin trades are queried by default. If cross margin trades are needed, `account` must be set to `cross_margin` You can also set `from` and(or) `to` to query by time range Time range parameters are handled as order finish time. # noqa: E501
2101
2101
This method makes a synchronous HTTP request by default. To make an
"""FuturesOrder - a model defined in OpenAPI"""# noqa: E501
113
116
iflocal_vars_configurationisNone:
114
117
local_vars_configuration=Configuration()
@@ -136,6 +139,7 @@ def __init__(
136
139
self._tkfr=None
137
140
self._mkfr=None
138
141
self._refu=None
142
+
self._auto_size=None
139
143
self.discriminator=None
140
144
141
145
ifidisnotNone:
@@ -180,6 +184,8 @@ def __init__(
180
184
self.mkfr=mkfr
181
185
ifrefuisnotNone:
182
186
self.refu=refu
187
+
ifauto_sizeisnotNone:
188
+
self.auto_size=auto_size
183
189
184
190
@property
185
191
defid(self):
@@ -717,6 +723,36 @@ def refu(self, refu):
717
723
718
724
self._refu=refu
719
725
726
+
@property
727
+
defauto_size(self):
728
+
"""Gets the auto_size of this FuturesOrder. # noqa: E501
729
+
730
+
Set side to close dual-mode position. `close_long` closes the long side; while `close_short` the short one. Note `size` also needs to be set to 0 # noqa: E501
731
+
732
+
:return: The auto_size of this FuturesOrder. # noqa: E501
733
+
:rtype: str
734
+
"""
735
+
returnself._auto_size
736
+
737
+
@auto_size.setter
738
+
defauto_size(self, auto_size):
739
+
"""Sets the auto_size of this FuturesOrder.
740
+
741
+
Set side to close dual-mode position. `close_long` closes the long side; while `close_short` the short one. Note `size` also needs to be set to 0 # noqa: E501
742
+
743
+
:param auto_size: The auto_size of this FuturesOrder. # noqa: E501
0 commit comments