Skip to content
SBL Overview

Modify Short Sell Stock Holding Status

Pass parameters in the query string using application/x-www-form-urlencoded. This changes live short-position status.

Request parameters

  • Required: counter_id (Counter ID), status (Status), remark (Remark)
  • See each field for its format, allowed values, default behavior, and business meaning.

Result

On success, the endpoint completes the described business operation. See the 200 response schema for returned data.

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

Production: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz

Authorization

AuthorizationstringheaderRequired

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

Permission

margin_call.modify_short_sell_stock_holding_status

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

Request body application/json

counter_idstringrequired

Counter ID. A hidden field derived programmatically from the selected record; not editable by the user.

statusstringrequired

Status. Short-selling holding status to set. Only one value is supported; see the option definitions below.

0 · Normal1 · Close-out Warning2 · Position Closed

remarkstringrequired

Remark. This field is required.

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