Skip to main content
Returns the broker’s cash ledger for the authenticated account: trade settlements, fees, FX, deposits, and withdrawals. Use it to trace how each currency’s cash balance changed. Each row keeps the broker’s native currency and a signed amount. Amounts are never converted to another currency.

Supported channels

On an unsupported channel, the request fails with cash_flows_unsupported (HTTP 501). It never returns an empty list for an unsupported channel. An empty items list means the channel is supported and had no cash movements in the requested range.

CLI

--start and --end are dates in YYYY-MM-DD format, interpreted as Hong Kong calendar days and inclusive. Without dates, the command returns the last 7 days. --currency filters by the row’s native currency code. --limit must be an integer from 1 to 100 and defaults to 50. --cursor is the opaque pagination cursor.

HTTP

The API key needs the trade:read scope. All query parameters are optional: The range can cover at most 90 days. When you page without explicit dates, the default range moves at midnight Hong Kong time and older cursors become invalid. Pass explicit dates when you page through results.

Response

The JSON envelope contains code (string; "0" means success), message (string), data (CashFlowsData or null), request_id (string or null), and timestamp (integer Unix time in milliseconds). data is CashFlowsData on success: Each items[] entry contains: null means the broker does not provide the value. Never read null as zero or as settled. This endpoint reports cash movements, not balances. For the account’s cash balances, use Get account assets.

Errors