Trade
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-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.
Request
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | array | Optional | Fund code, in `ISIN` format, E.g:`HK0000676327` <a href="https://en.wikipedia.org/wiki/International_Securities_Identification_Number">ISIN explain</a> |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
list | object[] | Optional | stock holding information |
└ account_channel | string | Required | account type |
└ fund_info | object[] | Optional | Fund Details |
└ ∟ symbol | string | Required | Fund ISIN code |
└ ∟ current_net_asset_value | string | Required | current Equity |
└ ∟ net_asset_value_day | string | Required | current Equity time |
└ ∟ symbol_name | string | Required | Fund name |
└ ∟ currency | string | Required | Currency |
└ ∟ cost_net_asset_value | string | Required | Net Cost |
└ ∟ holding_units | string | Optional | Number 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.