Trade

Fund Positions

GEThttps://openapi.longbridge.com/v1/asset/fund

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

Longbridge HK / SG accounts only

This API is available to Longbridge HK / SG accounts only.

The API is used to obtain fund position information including account, fund code, holding share, cost net worth, current net worth, and currency.

>_ CLI
longbridge fund-positions

Request

Query parameters

NameTypeRequiredDescription
symbolarrayOptionalFund code, in `ISIN` format, E.g:`HK0000676327` <a href="https://en.wikipedia.org/wiki/International_Securities_Identification_Number">ISIN explain</a>

Response

Response properties

NameTypeRequiredDescription
listobject[]Optionalstock holding information
└ account_channelstringRequiredaccount type
└ fund_infoobject[]OptionalFund Details
└ ∟ symbolstringRequiredFund ISIN code
└ ∟ current_net_asset_valuestringRequiredcurrent Equity
└ ∟ net_asset_value_daystringRequiredcurrent Equity time
└ ∟ symbol_namestringRequiredFund name
└ ∟ currencystringRequiredCurrency
└ ∟ cost_net_asset_valuestringRequiredNet Cost
└ ∟ holding_unitsstringOptionalNumber of fund units held.

Response JSON example

{
  "code": 0,
  "data": {
    "list": [
      {
        "account_channel": "lb",
        "fund_info": [
          {
            "symbol": "HK0000447943",
            "symbol_name": "GAOTENG EMERGING MARKETS PLUS  LONG/SHORT FIXED INCOME ALPHA FUND",
            "currency": "USD",
            "holding_units": "5.000",
            "current_net_asset_value": "0",
            "cost_net_asset_value": "0.00",
            "net_asset_value_day": "1649865600"
          }
        ]
      }
    ]
  }
}

Error code

See the Error Codes page for the full list of error codes.