Skip to main content

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​

ParametersTypeRequiredDescription
symbolList<String>NoSymbol 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​

ParametersTypeDescription
channelsList<Object>Account channel list
> accountChannelStringAccount channel
> positionsList<Object>Position list
>> symbolStringSymbol
>> symbolNameStringStock name
>> quantityNumberHolding quantity
>> availableQuantityNumberAvailable quantity
>> currencyStringCurrency
>> costPriceNumberCost price (based on client's average buy or diluted cost setting)
>> marketStringMarket
>> initQuantityNumberInitial holding before market open

How was your Reading Experience with us?

★
★
★
★
â˜