Skip to content
Fund Theme

Add Fund Theme

Create a new fund theme.

Request parameters

  • No strictly required parameters; see the optional fields below.
  • Common optional fields: name/name_locales (theme name and localizations), description/description_locales (theme description and localizations), order_weight (sort weight), state (enabled or not), items (funds in the theme).
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

A theme groups a set of funds for thematic display; items lists the theme's funds, order_weight controls the theme's ordering, and state controls whether it is enabled.

Returns

On success the fund theme is created; see the 200 response for the exact payload.

POSThttps://b-api.lbkrs.com/funds/admin/add-fund-cate

Authorization

AuthorizationstringheaderRequired

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

Permission

fund.fund_category

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

Request body application/json

namestring

Theme Name.

name_localesstring

Theme Name (Locales).

descriptionstring

Theme Description.

description_localesstring

Theme Description (Locales).

order_weightinteger

Order Weight.

stateboolean

Whether enabled/shown: true enables and shows it; false disables and hides it.

itemsarray<object>

Theme Fund Items.

Child attributes
time_intervalstring

Time Interval.

counter_idstring

Counter ID. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

order_weightinteger

Order Weight.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

This is a write operation; on success it returns no business data, and data is always an empty object {}.

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