https://api.lbkrs.com/v3/portfolio/detailParameters
account_channelstringqueryRequiredAccount channel. Use the account_channel of the current account
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get account asset overview” operation.codemessagedatadataobjectdata structureAccount channel
Account-level funds and risk metrics
Child attributes
Account number
Base currency of the account channel. max_purchase, initial_margin, maintenance_margin, margin_within_day, and credit_limit are in this currency
Maximum withdrawable amount
Maximum buying power
Margin financing limit
Initial margin requirement
Maintenance margin requirement
Margin call amount
Intraday risk control value
Forced liquidation indicator. YES means the account has triggered forced liquidation risk and the risk status is dangerous; NO means it has not
YESNO
Stock profit and loss from today's executions, excluding unrealized profit and loss on holdings
Cash by currency
Child attributes
Currency code, such as HKD or USD
Cash balance
Settled cash
Withdrawable cash
Withdrawable cash excluding money market funds
Amount held by pending buy orders
Amount withheld for IPO subscriptions
Unsettled amount
Margin financing interest
Opening cash balance, which is the balance at the end of the previous trading day
Fund holdings and in-transit amounts by currency
Child attributes
Currency code, such as HKD or USD
Holding value
Amount of purchases pending confirmation
Number of purchases pending confirmation
Amount of sales pending credit
Number of sales pending credit
Bond holdings and in-transit amounts by currency
Child attributes
Currency code, such as HKD or USD
Holding value
Amount of purchases pending confirmation
Number of purchases pending confirmation
Amount of sales pending credit
Number of sales pending credit
Other asset holdings and in-transit amounts by currency
Child attributes
Currency code, such as HKD or USD
Holding value
Amount of purchases pending confirmation
Number of purchases pending confirmation
Amount of sales pending credit
Number of sales pending credit
Stock holdings
Child attributes
Stock holdings
Child attributes
Security ID (counter_id), such as ST/HK/700
Security name
Market code, such as HK or US
Holding currency
Holding quantity. It may be returned as a number; parse it as a numeric value
Sellable quantity. It may be returned as a number; parse it as a numeric value
Average purchase cost
Diluted cost
Previous close
Last price
Price used to calculate market value
Profit and loss from today's executions, excluding unrealized profit and loss on holdings
Holding profit and loss based on average purchase cost
Holding profit and loss ratio based on average purchase cost
Holding profit and loss based on diluted cost
Holding profit and loss ratio based on diluted cost
Profit and loss from today's executions when US pre-market and post-market prices are included. Use it only when that asset setting is on and the security is in the pre-market or clearing session
Security trading status code as a string. Values follow TradeStatus
Crypto holdings
Child attributes
Crypto holdings
Child attributes
Security ID (counter_id), such as ST/HK/700
Security name
Market code, such as HK or US
Holding currency
Holding quantity. It may be returned as a number; parse it as a numeric value
Sellable quantity. It may be returned as a number; parse it as a numeric value
Average purchase cost
Diluted cost
Previous close
Last price
Price used to calculate market value
Profit and loss from today's executions, excluding unrealized profit and loss on holdings
Holding profit and loss based on average purchase cost
Holding profit and loss ratio based on average purchase cost
Holding profit and loss based on diluted cost
Holding profit and loss ratio based on diluted cost
Profit and loss from today's executions when US pre-market and post-market prices are included. Use it only when that asset setting is on and the security is in the pre-market or clearing session
Security trading status code as a string. Values follow TradeStatus
US option holdings
Child attributes
US option holdings
Child attributes
Security ID (counter_id), such as ST/HK/700
Security name
Market code, such as HK or US
Holding currency
Holding quantity. It may be returned as a number; parse it as a numeric value
Sellable quantity. It may be returned as a number; parse it as a numeric value
Average purchase cost
Diluted cost
Previous close
Last price
Profit and loss from today's executions, excluding unrealized profit and loss on holdings
Holding profit and loss based on average purchase cost
Holding profit and loss ratio based on average purchase cost
Holding profit and loss based on diluted cost
Holding profit and loss ratio based on diluted cost
Security trading status code as a string. Values follow TradeStatus
Contract multiplier
Strike price
Expiration date
Underlying stock code
Money market fund for idle cash
Child attributes
Status of the money market fund feature for idle cash:
0- Off1- On2- Turning on3- Turning off
0123
Money market fund holdings
Child attributes
Currency code, such as HKD or USD
Money market fund name
Holding amount. One currency may be split into multiple records; sum them when you show the balance of that currency
Yesterday's return
Return over the last 7 days
Cumulative return
Latest return
Date of the latest return