Skip to content
Symbol Information

Edit Stock Info

Edit an instrument's closing price and basic information.

Request parameters

  • Required: id (instrument ID), code (code)
  • Optional: name, name_cn, name_hk, name_en, isin, ipo_date (listing date), ipo_price (issue price), status, lot_size (board lot), stamp_duty_exemption (stamp duty exemption), close_price (closing price), close_price_suspend (closing price while suspended), settle_price (settlement price), turnover (turnover)
  • See each field's description for format, value range, and business meaning.

Business notes

Instrument basic info and closing price feed clearing and valuation calculations; ensure the data is accurate.

Risk warning

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

Result

On success, the operation completes; the resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/clearing/edit_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

idnumberrequired

Symbol ID associated with this request.

codestringrequired

This field is required.

namestring
name_cnstring
name_zhstring

Simplified-Chinese name; the console sends it with the same value as name_cn.

name_hkstring
name_enstring
isinstring
ipo_datenumber
ipo_pricestring
statusstring

Target state to set through this request.

lot_sizenumber
stamp_duty_exemptionnumber
close_pricenumber

Closing price of the instrument.

close_price_suspendnumber

Closing price used while the instrument is suspended.

settle_pricenumber

Settlement price of the instrument.

turnovernumber

Turnover of the instrument.

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