Skip to content
Different Dimensions Limit

Multiple Dimensions Apply Trade Limit

Batch-applies the effective state of a set of multi-dimension trading limits, using is_apply to enable or disable the target records.

Request parameters

  • Required: list (multi-dimension limit record list), is_apply (whether to take effect)
  • Optional: audit_frontend_resource (caller-provided audit context)
  • See the field notes for each field's format, value range, and business meaning.

Business notes

Each entry in list identifies an existing limit configuration. This endpoint only toggles the effective state in bulk; it does not change the limits' thresholds.

If the backend is slow, the gateway may return 504 after 5 seconds while the request is still running; re-query the list to confirm the effective state before retrying.

Risk warning

This operation changes the effective state of live trading limits and directly affects whether subsequent trades pass risk checks. Verify the target record list and the is_apply value before calling.

Result

On success, the bulk effective-state change is completed; the resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/risk_limit/v1/multiple/apply

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

listarray<object>required

Multi-dimension limit record list. The batch-selected (or single) limit records. Each element is an object (not a string) built from the limit list row: counter_id (counter ID), aaid (account AAID; the row's aaid_val, falling back to aaid), code (instrument code), trader (trader account; the row's trader_val), trader_name (trader name; the row's trader), client_group (client group ID; the row's client_group_val), client_group_name (client group name; the row's client_group), stock_group (securities group ID; the row's stock_group_id_val).

Child attributes
counter_idstring

Counter ID

aaidstring

Account AAID

codestring

Instrument code

traderstring

Trader account

trader_namestring

Trader name

client_groupstring

Client group ID

client_group_namestring

Client group name

stock_groupstring

Securities group ID

is_applybooleanrequired

Is Apply. true = batch activate (apply to enable limits), false = batch deactivate (revoke/disable limits).

Values
true
Batch Activate
false
Batch Deactivate
audit_frontend_resourceobject

Audit Context. Audit information, containing the operation type ($action: add/delete) and the behavior description ($behavior).

Responses

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

On success data is 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