https://b-api.longbridge.xyz/v1/whaleapi/asset/stock_infoAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Parameters
account_nostringRequiredAccount Information
currencystringOptionalCurrency
Responses
HTTP 200Fields are taken from the real responses definition for this operation in the published Whale OpenAPI spec (whale-openapi/Whale-openapi.json).codemessagedatadataobjectdata structureposition list. position list
Child attributes
security underlying. security underlying
market. market
currency. currency
total position quantity. total position quantity
avaiable position quantity. avaiable position quantity
Latest price. Latest price
Yesterday's close. Yesterday's close
average cost price. average cost price
diluted cost price. diluted cost price
init quantity. init quantity
【废弃字段】t-1 profit and loss information
Child attributes
currency. currency
amount. amount
buy amount. buy amount
sell amount. sell amount
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields