适用于查询用户仓位模式
请求URL
GET https://cloud-api.wooxpro.com/contract/private/get-position-mode
请求限制
参见 速率限制详细请求参数
无请求
响应详情
响应
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
适用于查询用户仓位模式
GET https://cloud-api.wooxpro.com/contract/private/get-position-mode
请求
curl
-H 'X-API-KEY:{{AccessKey}}'
-H 'X-API-TIMESTAMP:{{currentTime}}'
-H 'X-API-SIGN:{{SIGN}}'
https://cloud-api.wooxpro.com/contract/private/get-position-mode
响应
{
"code": 1000,
"trace": "0cc6f4c4-8b8c-4253-8e90-8d3195aa109c",
"message": "Ok",
"data": {
"position_mode":"one_way_mode"
}
}
| 字段 | 类型 | 描述 |
|---|---|---|
| position_mode | String | 持仓模式 - hedge_mode=双向持仓- one_way_mode=单向持仓 |