Skip to content
Longport Whale
Auto Forceselling Switch

Modify Risk Monitoring Config

The inline enable/disable toggle on a row of the Auto Forceselling Switch list, which modifies the risk-control alert (automatic forced-liquidation) configuration. It affects the real master switch for automatic forced liquidation, so operate with caution.

POSThttps://b-api.longbridge.xyz/v1/risk_monitoring/modify_risk_monitoring_cfgs_v2

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

trade_typestringrequired

Trade Type. Taken from the raw enum value of the transaction type in the list row; values come from the dynamic enum source of the corresponding list template; not fixed.

force_typestringrequired

Force Type. The raw enum value of the forced-liquidation type taken from the list row; the values come from the dynamic enum source of the corresponding list template and are not fixed.

is_enablebooleanrequired

Is Enable. Send true when clicking "On", false when clicking "Off".

audit_frontend_resourceobject

Audit Frontend Resource. An audit-trail field that records the complete record of the operated row along with $action=edit before submission, for display in the approval ticket.

Responses

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

No nested fields

Whale Docs