Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 772 Bytes

hold_contract_list-未平仓合约.md

File metadata and controls

31 lines (26 loc) · 772 Bytes

接口地址:/api/hold_contract_list

接口说明:(post请求)未平仓合约

参数 填写类型 说明
api_key 必填 api_key
time 必填 时间戳
sign 必填 签名

返回值:

{
    "code":"0",
    "data":[
        {
            "volume":100, 未平仓数量
            "symbol":"E_BTCUSD",
            "side":"BUY", 方向
            "avgPrice":3724.4247791642265,
            "contractId":19, 合约ID
            "contractName":"BitCoin",
            "unrealisedAmount":"0.00125253598926", //未实现盈亏
            "realisedAmount":-0.2035634740245127, //已实现盈亏
            "quoteSymbol":"BTC"
        }
    ],
    "msg":""
}