Skip to content
Symbol Information

Sync Stock Info

Synchronize the basic information of a single instrument from a data source.

Request parameters

  • Required: source (data source), counter_id (instrument code)
  • See each field description for format, value range, and business meaning.

Business notes

Fetches and refreshes the basic information of the instrument identified by counter_id from the source specified by source.

Result

On success the instrument information is synchronized; refer to the 200 response for the resulting state and returned data.

POSThttps://b-api.lbkrs.com/clearing/sync_stock_info

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_clearing.clearing_busin_step_edit

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

Request body application/json

sourceintegerrequired

Data source to sync from. The request field name is source. This field is required.

Allowed values: 1 Public library (non-option), 2 Public library (option), 4 Fund. The admin console does not allow 3 (private library) here; update private instruments in the private library instead.

Values
1
Public library (non-option)
2
Public library (option)
4
Fund
counter_idstringrequired

Instrument code to sync. This field is required.

When source is 1, pass a counter ID in the format {type}/{market}/{code}, such as ST/US/AAPL. When source is 2, pass internal counter IDs; separate multiple values with commas.

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