Skip to content
Test Task List

ELC Position Details

Query the customer holding snapshot in the concentration risk test (ELC), used to analyze the collateral and solvency of customers with concentrated positions.

Request parameters

  • Combine business filters through filters (see the filter field notes below) and use page, page_size, and orderBy for pagination and sorting.
  • Filter by customer (aaid) or stock (counter_id); filtering by test run (task_id) is not supported, and the endpoint returns the holding snapshot details.

Business notes

  • The data comes from the holding snapshot as of the concentration risk test run's date; each record represents one customer's position in a single stock.
  • A record carries the securities account, currency, stock code, position market value, loan amount, haircut ratio, and liquid assets.
  • Combined with the shortfall calculation, it assesses the collateral adequacy and solvency of concentrated-position customers under a stress scenario.

Returns

On success, returns the matching records with pagination. See the response definition for column meanings.

POSThttps://b-api.lbkrs.com/v1/datasets/risk_elc_holding_details

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

lb_hk_margin_call.risk_monitoring_stock_level_query

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

filtersobject

Filters

Child attributes
aaidstring

A/C No.

Pass the internal numeric ID of the customer's securities account (aaid), not the securities account number account_no (such as H00000000) or the customer ID member_id. One customer can have multiple aaid values.

counter_idstring

Stock Code. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

pageinteger

Page

page_sizeinteger

Page Size

orderByarray<object>

Order By

Responses

HTTP 200Paginated list result.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List

Child attributes
origin_idstring

Origin No

currencystring

Currency

counter_idstring

Stock Code

market_valuestring

Market Value (based CCY)

loan_amountstring

Loan Amount

haircutstring

Frr Ratio

liquid_assetstring

Liquid Assect

totalintegerrequired

Total

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs