Skip to content
Longport Whale
Short Margin Ratio

Upload Short Sell Margin Ratio

Triggered after selecting and uploading a CSV file in the "Batch Import" drawer on the Short Margin Ratio page, batch-importing short-selling margin ratios. Involves real margin-ratio changes.

POSThttps://b-api.longbridge.xyz/risk/v1/short_sell_margin_ratio/upload_v2

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

s3_keystringrequired

Uploaded File S3 Key. The key returned after the CSV/Excel template file is uploaded to object storage, then passed to this interface to trigger batch parsing and import.

Responses

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

No nested fields

Whale Docs