Check Stock Position
Check Stock Position
Descriptionâ
This interface is used to query stock position information including account, symbol, holding quantity, available quantity, average cost price (calculated based on account settings) and currency.
HTTP Requestâ
- GET /api/v3/stockplus/asset/stock-position
- Permission: Trade (management, read only)
Request
curl "https://api.bitget.com/api/v3/stockplus/asset/stock-position?symbol=AAPL.US,MSTR.US" \
-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â
| Parameters | Type | Required | Description |
|---|---|---|---|
| symbol | List<String> | No | Symbol list, using ticker.region format, multiple separated by ,, e.g. AAPL.US,MSTR.US |
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": {
"channels": [
{
"accountChannel": "sg_bitget_uat",
"positions": [
{
"symbol": "AAPL.US",
"symbolName": "Apple Inc.",
"quantity": 100,
"availableQuantity": 80,
"currency": "USD",
"costPrice": 145.50,
"market": "US",
"initQuantity": 100
}
]
}
]
}
}
Response Parametersâ
| Parameters | Type | Description |
|---|---|---|
| channels | List<Object> | Account channel list |
| > accountChannel | String | Account channel |
| > positions | List<Object> | Position list |
| >> symbol | String | Symbol |
| >> symbolName | String | Stock name |
| >> quantity | Number | Holding quantity |
| >> availableQuantity | Number | Available quantity |
| >> currency | String | Currency |
| >> costPrice | Number | Cost price (based on client's average buy or diluted cost setting) |
| >> market | String | Market |
| >> initQuantity | Number | Initial holding before market open |