Skip to content
Stock

Account Stock Transaction History

Returns the stock-holding change flow records for a securities account.

Request parameters

  • Required: account_no (securities account)
  • Optional: stock_flows_direction (change direction), symbol (stock symbol), market (market), start_time, end_time, page, size
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

Filter by symbol, market, change direction, and time range. Combined with the pagination parameters, it returns the matching stock-flow list; each record includes the flow name, changed share quantity, flow time, and business code.

Returns

On success, returns the stock-flow list with pagination info. See the response definition for field meanings.

POSThttps://b-api.lbkrs.com/v1/whaleapi/asset/stock_flows

Authorization

AuthorizationstringheaderRequired

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

Permission

account_balance_change.stock

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

account_nostringrequired

Account NO Eg:L6VQEU00121996. Account NO Eg:L6VQEU00121996

account_no is the securities account number (such as L6VQEU00121996). It differs from the customer ID member_id and the internal securities account ID aaid.

stock_flows_directionnumber

Transaction Direction. Transaction Direction

symbolstring

Stock Information. Stock Information

marketstring

Market. Market

start_timenumber

Start Time. Start Time

end_timenumber

End Time. End Time

pagenumber

Page. Page

sizenumber

he Number Of Items Per Page. he Number Of Items Per Page

Responses

HTTP 200Successful response
Standard response envelopecodemessagedata
dataobjectdata structure
financial_flows_listarray<object>required

Stock Transaction List. Stock Transaction List

Child attributes
flow_namestringrequired

Transaction Name. Transaction Name

quantitystringrequired

Change Quantity. Change Quantity

marketstringrequired

Market. Market

symbolstringrequired

Stock Information. Stock Information

bussiness_timestringrequired

Business Time. Business Time

descriptionstringrequired

Remark. Remark

directionnumberrequired

Transaction Direction. Transaction Direction

serial_numstringrequired

Serial Number. Serial Number

bussiness_codestringrequired

Business Code. Business Code

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs