Skip to content
Longport Whale
Adjustment

Batch Adjustment Import File Analysis

Shared endpoint across seven tabs of Manual Adjustment (Cash/Stock/Fund/Option/Bond/OTC Other/Cryptocurrency) — the OTC Derivatives tab does not use it (its batch import calls async_batch_adjust directly after upload, with no preview step). After the file is uploaded in the "Batch import" dialog, this endpoint is called first to parse/pre-validate the file content and show it to the user for confirmation, before the "Async batch manual adjustment (async_batch_adjust)" is formally submitted.

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

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