Skip to content
Account Transfers

Query Transferable Stocks

Returns the stocks in the source account that can move to the destination account, with the transferable number of shares. The stock transfer page lists them after the Client selects both accounts. The entered number of shares must be a positive integer no greater than quantity. When trading_unit is greater than 0, it must also be a multiple of trading_unit.

If the total available cash of the source account is negative, which you can check with total_available_cash from GET /v1/rms_gateway/get_account_all_single_currency_withdraw, the account has a debit balance. Ask the Client to repay it before transferring stocks. The server makes the final decision on whether the transfer is allowed.

When calling through WhaleCore requestService(), set requiresTradeToken to true.

GEThttps://api.lbkrs.com/v1/app/risk_event_api/query_stock_transfer_holding

Parameters

from_aaidintegerqueryRequired

aaid of the source account

to_aaidintegerqueryRequired

aaid of the destination account

is_enable_dynamic_calculate_modebooleanqueryRequired

Whether to enable dynamic calculation mode. The Broker App always sends true

Responses

HTTP 200The request succeeded. The response body contains the result of the “Query Transferable Stocks” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>

Transferable stocks

Child attributes
counter_idstring

Security ID in the format <type>/<market>/<code>, such as ST/HK/700. Send it when submitting the stock transfer

codestring

Stock code

marketstring

Market, such as HK or US

name_localsstring

Stock name in the current language

quantitystring

Maximum number of shares that can be transferred

trading_unitstring

Shares per lot. When greater than 0, the transfer quantity must be a multiple of it

Whale Docs