Skip to content
Configuration

MMF Operation

Perform actions such as bring-online, take-offline, or remove on a Cash Plus (MMF) security.

Request parameters

  • Required: counter_id (fund code), action (action type), audit_frontend_resource (audit reporting context).
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

action specifies the operation (e.g. bring-online, take-offline, remove) to perform on the MMF security identified by counter_id.

Risk warning

This operation changes the online status of an MMF security and affects its availability to customers. Confirm the security and action type before calling.

Returns

On success the selected action is completed; see the 200 response for the exact payload.

POSThttps://b-api.lbkrs.com/portfolio/funds/mmf/operation

Authorization

AuthorizationstringheaderRequired

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

Permission

cash_plus.mmf_fund

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

Request body application/json

counter_idstringrequired

Fund Counter ID. The corresponding fund's counter_id, from the fund-search selection result. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

actionstringrequired

Action. The "Add" operation is also mapped to 1 (Online).

Allowed values: 0 Offline, 1 Online, 9 Remove

Values
0
Offline
1
Online
9
Remove
audit_frontend_resourceobjectrequired

Audit Context. Contains a $behavior field recording the action name of this operation (e.g. unpublish/publish/remove/add), used only for audit tracing; not a business parameter.

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