Skip to content
Exception Entry Mgmt

Move Ledger Date by Biz Codes

Batch-move transactions under a given old ledger date to a new ledger date, matched by business code.

Request parameters

  • Required: biz_codes (business code list), old_ledger_date (source ledger date, format YYYYMMDD), new_ledger_date (target ledger date, format YYYYMMDD), asset_type (transaction type)
  • See each field's description for format, value range, and business meaning.

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/move_ledger_date_by_biz_codes

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_clearing.clear_account_balance_changeslb_hk_clearing.clear_equity_holding_change

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

Request body application/json

biz_codesarray<string>required

List of business codes for the records to migrate. This field is required.

old_ledger_dateintegerrequired

Source ledger date in YYYYMMDD format. This field is required.

new_ledger_dateintegerrequired

Target ledger date in YYYYMMDD format. This field is required.

asset_typeintegerrequired

Record type. This field is required.

Allowed values: 1 Balance, 2 Equity

Values
1
Balance
2
Equity

Responses

HTTP 200The request was processed successfully. The business result is returned in data as a string.
Standard response envelopecodemessagedata
datastringdata structure

Operation result string.

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