Skip to main content

Get CFD Current Positions

Get CFD Current Positions

Description​

This endpoint is used to query real-time position information on a CFD account.

HTTP Request​

  • GET /api/v3/cfd/trade/current-positions
  • Rate limit: 10/sec/UID
  • Permission: UTA trade (read-only)
Request
curl "https://api.bitget.com/api/v3/cfd/trade/current-positions?symbol=XAUUSD" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

Request Parameters​

ParametersTypeRequiredDescription
symbolStringNoTrading pair name
If not provided, current positions for all trading pairs are returned
subUidStringNoSub-account UID
Used by a master account to query a sub-account's position list
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": [
{
"positionId": "111111111111111111",
"symbol": "XAUUSD",
"orderType": "limit",
"side": "buy",
"qty": "1",
"openPrice": "2610.00",
"takeProfit": "2650.00",
"stopLoss": "2600.00",
"interest": "0",
"unrealizedPnl": "10.5",
"totalProfit": "10.5"
}
]
}

Response Parameters​

ParametersTypeDescription
positionIdStringPosition ID
symbolStringTrading pair name
orderTypeStringOrder type
limit: Limit order
market: Market order
sideStringTrade side
buy: Buy
sell: Sell
qtyStringOrder quantity
openPriceStringOpening price
takeProfitStringTake-profit price
stopLossStringStop-loss price
interestStringOvernight interest
unrealizedPnlStringUnrealized profit and loss
totalProfitStringTotal profit
Total profit = Overnight interest + Unrealized profit and loss

How was your Reading Experience with us?

★
★
★
★
â˜