Skip to content
Stock Haircut Management

Add Stock Haircut

Bulk-create stock Haircut configurations, setting the risk-control haircut for a batch of securities.

Request parameters

  • Required: data (list of Haircut entries).
  • See the field descriptions for the format, value range, and business meaning of each field.

Business notes

Each entry in data sets the Haircut for one security, used to compute that security's collateral value.

Risk warning

This operation adds risk-control haircut configurations and directly affects the collateral value and margin calculation of the affected securities. Confirm the entry list before calling.

Result

On success, the configurations are created; subsequent state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/report/haircut/add_stock_haircut

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_report.haircut_securities

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

Request body application/json

dataarray<object>
Child attributes
counter_idstringrequired

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

haircutstringrequired

1 - HairCut (%)

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

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