Skip to content
Longport Whale
Freeze Assets

Check Available Quantity

After entering the instrument/position direction in the Freeze Assets form, validates the freezable quantity (shared by stock/fund/cash freezes); this is the same validation interface as the Asset Transfer – Stock Transfer page (see check_available_quantity.json under Internal Transfer / Stock Transfer).

POSThttps://b-api.longbridge.xyz/v1/dawn/check_available_quantity

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

security_typestringrequired

Security Type. Options: CASH = Cash; STOCK = Stock; FUND = Fund

CASHSTOCKFUND

aaidstringrequired

A/C No

counter_idstring

Counter ID

directionstringrequired

Direction. Always sends DEBIT (deduction) in the freeze scenario.. Options: DEBIT = Debit; CREDIT = Credit

DEBITCREDIT

biz_typestringrequired

Biz Type. Fixed to ASSET in the freeze scenario.

account_typesarray<string>

Account Types. Only STOCK freezes pass [SETTLEMENT, BUSINESS].

position_sidestring

Position Side. Required only for STOCK freezes; taken from position_side_list_query.

Responses

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

Available Quantity. Used by the front end as a placeholder hint; not a strictly validated form field.

alert_messagestring

Alert Message. When non-empty, the front end displays it as a validation-prompt message (e.g. a warning that the available quantity is exceeded).

is_allowboolean

Is Allowed. When false, the front end marks the validation state as error (validateStatus=error), preventing the user from submitting.

Whale Docs