Skip to content
Corp Action Management

Stock Leg Execution (corporate action)

Stock execution: runs the stock leg (TM stock leg) position changes for the given announcement; on success the announcement stage becomes 14 (stock execution succeeded).

Request parameters

  • Required: ann_id (announcement ID).
  • See the field descriptions for the format, allowed values, and business meaning of each field.

Business notes

This triggers real position changes and is high-risk. Prerequisites:

  • The announcement is registered (for example via register_announcements) and has client holdings; otherwise the call returns 99005.
  • The announcement's CCASS payment date (effective_date) must equal the current ledger date; otherwise the call returns 90507, or 90107 when the date is empty.

Risk warning

This operation may change real funds, positions, or trade status. Confirm the target announcement and parameters before calling.

Result

On success the stock execution completes and the announcement stage becomes 14 (stock execution succeeded); see the 200 response for the returned data.

POSThttps://b-api.lbkrs.com/v1/portfolio/corpaction/tm/stock_exec

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_corporate.corporate_query

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

Request body application/json

ann_idstringrequired

Announcement ID associated with this request.

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