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
settle ='btc'# str | Settle currency (default to 'btc')
249
-
contract ='BTC_USD'# str | Futures contract
249
+
contract ='BTC_USDT'# str | Futures contract
250
250
limit =100# int | Maximum number of records returned in one list (optional) (default to 100)
251
251
last_id ='12345'# str | Specify list staring point using the id of last record in previous list-query results This parameter is deprecated. Use `from` and `to` instead to limit time range (optional)
252
252
_from =1546905600# int | Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items. If items between `from` and `to` are more than `limit`, only `limit` number will be returned. (optional)
settle ='btc'# str | Settle currency (default to 'btc')
319
-
contract ='BTC_USD'# str | Futures contract
319
+
contract ='BTC_USDT'# str | Futures contract
320
320
_from =1546905600# int | Start time of candlesticks, formatted in Unix timestamp in seconds. Default to`to - 100 * interval` if not specified (optional)
321
321
to =1546935600# int | End time of candlesticks, formatted in Unix timestamp in seconds. Default to current time (optional)
322
322
limit =100# int | Maximum recent data points returned. `limit` is conflicted with `from` and `to`. If either `from` or `to` is specified, request will be rejected. (optional) (default to 100)
**dual_mode** | **str** | Position mode, including: - `single`: dual mode is not enabled- `dual_long`: long position in dual mode- `dual_short`: short position in dual mode | [optional]
28
+
**mode** | **str** | Position mode, including: - `single`: dual mode is not enabled- `dual_long`: long position in dual mode- `dual_short`: short position in dual mode | [optional]
29
29
30
30
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
"""Gets the dual_mode of this Position. # noqa: E501
668
+
defmode(self):
669
+
"""Gets the mode of this Position. # noqa: E501
670
670
671
671
Position mode, including: - `single`: dual mode is not enabled- `dual_long`: long position in dual mode- `dual_short`: short position in dual mode # noqa: E501
672
672
673
-
:return: The dual_mode of this Position. # noqa: E501
673
+
:return: The mode of this Position. # noqa: E501
674
674
:rtype: str
675
675
"""
676
-
returnself._dual_mode
676
+
returnself._mode
677
677
678
-
@dual_mode.setter
679
-
defdual_mode(self, dual_mode):
680
-
"""Sets the dual_mode of this Position.
678
+
@mode.setter
679
+
defmode(self, mode):
680
+
"""Sets the mode of this Position.
681
681
682
682
Position mode, including: - `single`: dual mode is not enabled- `dual_long`: long position in dual mode- `dual_short`: short position in dual mode # noqa: E501
683
683
684
-
:param dual_mode: The dual_mode of this Position. # noqa: E501
684
+
:param mode: The mode of this Position. # noqa: E501
0 commit comments