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
*FuturesApi* | [**update_position_margin**](docs/FuturesApi.md#update_position_margin) | **POST** /futures/{settle}/positions/{contract}/margin | Update position margin.
242
242
*FuturesApi* | [**update_position_leverage**](docs/FuturesApi.md#update_position_leverage) | **POST** /futures/{settle}/positions/{contract}/leverage | Update position leverage.
243
243
*FuturesApi* | [**update_position_cross_mode**](docs/FuturesApi.md#update_position_cross_mode) | **POST** /futures/{settle}/positions/cross_mode | Switch to the full position-by-store mode.
[**update_position_margin**](FuturesApi.md#update_position_margin) | **POST** /futures/{settle}/positions/{contract}/margin | Update position margin.
25
25
[**update_position_leverage**](FuturesApi.md#update_position_leverage) | **POST** /futures/{settle}/positions/{contract}/leverage | Update position leverage.
26
26
[**update_position_cross_mode**](FuturesApi.md#update_position_cross_mode) | **POST** /futures/{settle}/positions/cross_mode | Switch to the full position-by-store mode.
[**update_position_risk_limit**](FuturesApi.md#update_position_risk_limit) | **POST** /futures/{settle}/positions/{contract}/risk_limit | Update position risk limit.
28
29
[**set_dual_mode**](FuturesApi.md#set_dual_mode) | **POST** /futures/{settle}/dual_mode | Enable or disable dual mode.
29
30
[**get_dual_mode_position**](FuturesApi.md#get_dual_mode_position) | **GET** /futures/{settle}/dual_comp/positions/{contract} | Retrieve position detail in dual mode.
@@ -1404,6 +1405,75 @@ Name | Type | Description | Notes
1404
1405
1405
1406
[[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 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)
1476
+
1407
1477
# **update_position_risk_limit**
1408
1478
> Position update_position_risk_limit(settle, contract, risk_limit)
1409
1479
@@ -2664,7 +2734,7 @@ Name | Type | Description | Notes
2664
2734
[[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)
contract ='BTC_USDT'# str | Futures contract, return related data only if specified. (optional)
2697
2767
limit =100# int | Maximum number of records to be returned in a single list. (optional) (default to 100)
2768
+
offset =0# int | List offset, starting from 0. (optional) (default to 0)
2769
+
_from =1547706332# int | Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit) (optional)
2770
+
to =1547706332# int | Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp (optional)
2698
2771
at =0# int | Specify a liquidation timestamp. (optional) (default to 0)
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
@@ -2714,6 +2787,9 @@ Name | Type | Description | Notes
2714
2787
**settle** | **str**| Settle currency. |
2715
2788
**contract** | **str**| Futures contract, return related data only if specified. | [optional]
2716
2789
**limit** | **int**| Maximum number of records to be returned in a single list. | [optional][default to 100]
2790
+
**offset** | **int**| List offset, starting from 0. | [optional][default to 0]
2791
+
**_from** | **int**| Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit) | [optional]
2792
+
**to** | **int**| Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp | [optional]
2717
2793
**at** | **int**| Specify a liquidation timestamp. | [optional][default to 0]
2718
2794
2719
2795
### Return type
@@ -2737,7 +2813,7 @@ Name | Type | Description | Notes
2737
2813
[[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)
contract ='BTC_USDT'# str | Futures contract, return related data only if specified. (optional)
2770
2846
limit =100# int | Maximum number of records to be returned in a single list. (optional) (default to 100)
2847
+
offset =0# int | List offset, starting from 0. (optional) (default to 0)
2848
+
_from =1547706332# int | Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit) (optional)
2849
+
to =1547706332# int | Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp (optional)
2771
2850
at =0# int | Specify an auto-deleveraging timestamp. (optional) (default to 0)
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
@@ -2787,6 +2866,9 @@ Name | Type | Description | Notes
2787
2866
**settle** | **str**| Settle currency. |
2788
2867
**contract** | **str**| Futures contract, return related data only if specified. | [optional]
2789
2868
**limit** | **int**| Maximum number of records to be returned in a single list. | [optional][default to 100]
2869
+
**offset** | **int**| List offset, starting from 0. | [optional][default to 0]
2870
+
**_from** | **int**| Start timestamp Specify start time, time format is Unix timestamp. If not specified, it defaults to (the data start time of the time range actually returned by to and limit) | [optional]
2871
+
**to** | **int**| Termination Timestamp Specify the end time. If not specified, it defaults to the current time, and the time format is a Unix timestamp | [optional]
2790
2872
**at** | **int**| Specify an auto-deleveraging timestamp. | [optional][default to 0]
[[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