Skip to content
Short Margin Ratio

Edit Short-Sell Margin Ratio (With Review)

Modify a short-sell stock's margin ratios and submit them for review.

Request parameters

  • Required: counter_id (security code), im_factor (initial margin ratio), mm_factor (maintenance margin ratio), fm_factor (forced-close margin ratio), mcm_factor (Margin Call ratio)
  • Optional: short_sell_status (short-sell status), short_sellable (whether short-selling is allowed), short_selling_close_qty (short-sell close quantity), short_selling_open_qty (short-sell open quantity), audit_frontend_resource (audit context)
  • See the field descriptions for the format, value range, and business meaning of each field.

Risk warning

This operation changes real short-sell margin ratios and carries very high risk. Confirm the security code and each margin ratio before calling.

Result

On success, the modification is submitted for review. The resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/risk/v1/short_sell_margin_ratio/edit_review

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

counter_idstringrequired

Security code. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

im_factorstringrequired

Initial margin ratio

mm_factorstringrequired

Maintenance margin ratio

fm_factorstringrequired

Force-liquidation margin ratio

mcm_factorstringrequired

Margin Call ratio

short_sell_statusnumber

Short-selling status

short_sellableboolean

Whether short-selling is allowed

short_selling_close_qtynumber

Securities-lending pool close quantity

short_selling_open_qtynumber

Securities-lending pool restore quantity

audit_frontend_resourceobject

audit_frontend_resource

Responses

HTTP 200OK
Standard response envelopecodemessagedata
dataobjectdata structure
ticket_idstring
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