Skip to content
Longport Whale
Adjustment

Async Batch Manual Adjustment (Import)

Shared endpoint of the top "Batch import" button across the eight tabs of Manual Adjustment (Cash/Stock/Fund/Option/Bond/OTC Other/Cryptocurrency/OTC Derivatives); after uploading a file it submits an async batch-adjustment task. The seven non-derivative tabs first call "Batch-import file analysis (async_batch_adjust_file_analysis)" to preview the parsing result, while the OTC Derivatives tab submits directly with no file-analysis preview.

POSThttps://b-api.longbridge.xyz/v1/risk_event/async_batch_adjust

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

file_infosarray<string>required

File Info List

security_typestringrequired

Security Type

Responses

HTTP 200Returns business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
batch_nostring

Batch No. The front end then polls the batch-status template corresponding to the data_porter/query template_id to check progress (e.g. manual adjustment uses settlement_adjust_batch); out of scope for this document.

Whale Docs