以合约XBTUSD为例
请求地址:
https://www.bitmex.com/api/v1/position?filter=%7B%22symbol%22%3A%20%22%22%7D&columns=%5B%22currentQty%22%2C%22openOrderBuyQty%22%2C%22openOrderSellQty%22%2C%22openOrderBuyCost%22%2C%22openOrderSellCost%22%2C%22avgCostPrice%22%5D
请求方式:get
返回值:
currentQty:当前持仓数量
openOrderBuyQty:当前未成交买单数量
openOrderBuyCost:当前未成交买单平均价
openOrderSellQty:当前未成交卖单数量
openOrderSellCost:当前未成交卖单平均价