Skip to content
Short Selling Configure

Get Security Lending Config

Reads the current security-lending configuration (rates and settlement prices) for a market. Use it to prefill the Set Security Lending Config form (POST /clearing/security_lending_set_config).

Request parameters

  • Required: market (Market)

Result

Returns the market's rate_configs (rate configuration list) and price_configs (settlement-price configuration list); either may be an empty array.

POSThttps://b-api.longbridge.xyz/clearing/security_lending_get_config

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

marketstringrequired

The market whose configuration is queried. This field is required.

Responses

HTTP 200On success, returns the market's security-lending rate and settlement-price configuration.
Standard response envelopecodemessagedata
dataobjectdata structure
rate_configsarray<object>
Child attributes
originstring
rate_ratiostring
rate_deltastring
cutoff_methodinteger
cutoff_digitsinteger
min_ratestring
price_configsarray<object>
Child attributes
currencystring
transfer_ratestring
cutoff_methodinteger
cutoff_digitsinteger
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