Skip to content
Longport Whale
Global Limit

Set Global Limit Status

Triggered by clicking the inline "Enable/Disable" action in the Global Limit list. It affects the live activation state of global trading limits and is high-risk.

POSThttps://b-api.longbridge.xyz/risk_limit/v1/global/reverse

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

codestringrequired

Limit config code. Taken from the current row's record.code, identifying which global-limit configuration this is.

enablebooleanrequired

Enable flag. true = enable, false = disable; clicking the "Enable" action sends !(record.enable_val === 'true') (usually true), and clicking "Disable" sends the opposite (usually false).

audit_frontend_resourceobject

Frontend audit log metadata. Not a business parameter; used only for backend audit records. $action: 'add' (enable) | 'delete' (disable); $behavior: an audit action description (i18n key audit_enable_global_limit/audit_disable_global_limit).

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs