Skip to content
Margin Call

Update Risk Monitoring Status

Updates the handling status of a real-time risk-control alert record.

Request parameters

  • Required: risk_monitoring_log_id (alert record ID), status (handling status), reason (handling reason)
  • Optional: comment
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

Sets the alert record to the specified status (e.g., followed up, handled) and records the reason.

Result

On success the alert record status is updated; subsequent state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/v1/risk_monitoring/update_status

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

risk_monitoring_log_idintegerrequired

Risk Monitoring Log ID. The alert record ID, taken from the selected record.

statusintegerrequired

Status. Alert status, an enumerated value.

Allowed values: 0 Pending, 1 Follow Up - Pending, 2 Completed - Deposit Fund, 3 Completed - Sell Stocks, 4 Contacted/ Notified, 5 Auto Ended/Completed (System), 6 Ended/Completed (User), 7 Auto Forcesold (Sytem) - Pending, 8 Auto Forcesold (Sytem) - Failed, 10 Exception, 11 Auto Forcesold (Sytem) - Time-out Error

Values
0
1
2
3
4
5
6
7
8
10
11
reasonintegerrequired

Reason. Handling reason, an enumerated value.

Allowed values: 0 Other, 1 Stock price movement, 2 IPO, 3 Financing interest, 4 Insufficient stock, 5 Insufficient cash for option exercise

Values
0
1
2
3
4
5
commentstring

Comment.

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