Skip to content
Longport Whale
Adjustment

Create Manual Settlement Adjustment

The "New" form at the top of the 8 tabs (Cash / Stock / Fund / Option / Bond / OTC Other / Crypto / OTC Derivatives) of the Manual Adjustment page shares this interface, distinguishing asset types by security_type. Involves real fund/position adjustments.

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

operation_typestringrequired

Operation Type. Options: SAVE = Save only; COMMIT = Submit for approval

SAVECOMMIT

security_typestringrequired

Security Type. Options: CASH = Cash; STOCK = Stock; FUND = Fund; OPTION = Option; BOND = Bond; OTC = OTC

CASHSTOCKFUNDOPTIONBONDOTC

biz_codestringrequired

Biz Code. E.g. platform fee PLATF; taken from a ref-select.

directionstringrequired

Direction. Options: CREDIT = Credit; DEBIT = Debit

CREDITDEBIT

position_sidestring

Position Side. Required when the asset type is option; LONG/SHORT.

counter_idstring

Counter ID

incurred_amountstring

Incurred Amount

currencystring

Currency. Required when the asset type is cash.

remarkstring

Remark

aaidstringrequired

A/C No

incurred_quantitystring

Incurred Quantity

cost_amountstring

Cost Amount. Interdependent with cost_currency — either pass both or neither.

cost_currencystring

Cost Currency

marketstring

Market

idstring

Ticket ID. Sent when editing a saved draft.

inner_remarkstring

Inner Remark

Responses

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

No nested fields

Whale Docs