Skip to content
Longport Whale
Stock Transfer

Omnibus Stock Transfer

The endpoint called when submitting the "New position transfer" form on the Stock Transfer page. It causes real position changes.

POSThttps://b-api.longbridge.xyz/v1/risk_gateway/omnibus_stock_transfer

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

from_aaidstringrequired

From A/C

to_aaidstringrequired

To A/C

counter_idstringrequired

Counter ID. The instrument counter identifier chosen via useCounterChange, in the form symbol/market/... .

transfer_amountstringrequired

Transfer Quantity. Computed by summing the amounts of the holding-detail rows; must not exceed the available quantity validated by check_available_quantity.

op_userstringrequired

Operator

operation_typestringrequired

Operation Type

Responses

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

No nested fields

Whale Docs