获取杠杆设置
返回指定交易对的当前杠杆配置;当调用方在该交易对上没有仓位时,返回默认杠杆。
请求参数
| 名称 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| symbol | String | 是 | 要查询的交 易对(例如 BTC-PERP)。 |
响应内容
| 名称 | 类型 | 描述 |
|---|---|---|
| symbol | String | 交易对。 |
| leverage | Double | 仓位的有效杠杆倍数;当用户在此交易对上没有仓位时,为默认杠杆。 |
| marginMode | String | 保证金模式:CROSS 或 ISOLATED。 |
| positionMode | String | 仓位模式:ONE_WAY 或 HEDGE。当用户在此交易对上没有仓位时为 null。 |
| positionDirection | String | 对冲模式仓位的仓位方向(LONG 或 SHORT);否则为 null。 |
example
GET
https://api.btse.com/futures/api/v3/trade/leverageResponse (default)
[
{
"symbol": "BTC-PERP",
"leverage": 10,
"marginMode": "ISOLATED",
"positionMode": "ONE_WAY",
"positionDirection": null
}
]