杠杆外汇
仓位列表
你当前的杠杆持仓及其实时盈亏,或已结束的仓位,从新到旧。
curl --request GET \
--url "https://reirex.com/api/v1/margin/positions" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"positions": [
{
"reference": "LP-7K2M4QX3P9",
"symbol": "EURUSD",
"side": "long",
"units": "10000.00",
"leverage": 20,
"entryPrice": "1.17447",
"margin": "500.00",
"stopLoss": "1.16500",
"takeProfit": "1.18500",
"status": "open",
"closePrice": null,
"pnl": null,
"result": null,
"financing": "0.00",
"fees": "10.00",
"closeReason": null,
"openedAt": "2026-10-14T16:14:15.412Z",
"closedAt": null,
"live": {
"price": "1.17441",
"pnl": "-0.51",
"marginLevel": "0.9990",
"liquidationPrice": "1.14530",
"notional": "10000.00",
"financingPerNight": "0.83"
},
"currency": "EUR"
}
],
"marketOpen": true,
"opensAt": null,
"next": null
}持仓中的仓位带有 live:现在平仓的价格、盈亏、保证金水平以及强平价格。
查询参数
statusstring默认值:openopen表示持仓中的仓位,closed表示已结束的仓位。可选值
openclosedlimitinteger默认值:50每页仓位数。
1 至 100
beforestring上一页返回的
next游标。
响应
positionsobject[]仓位,从新到旧。
marketOpenboolean外汇市场当前是否开放。
opensAtstring | null下次开市时间;开市期间为
null。nextstring | null下一页的游标,最后一页为
null。

