反手开仓
HTTP请求
- POST
/api/v1/private/position/reverse
接口权限要求: 交易下单
请求参数
| 参数名 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| symbol | string | true | 合约名 |
| positionId | long | true | 仓位id |
| vol | decimal | true | 数量 |
返回参数
公共参数,success: true成功,false失败
响应
{
"success": true,
"code": 0
}
HTTP请求
/api/v1/private/position/reverse接口权限要求: 交易下单
请求参数
| 参数名 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| symbol | string | true | 合约名 |
| positionId | long | true | 仓位id |
| vol | decimal | true | 数量 |
返回参数
公共参数,success: true成功,false失败
响应
{
"success": true,
"code": 0
}