Skip to main content
Returns the authenticated trading account snapshot. The response distinguishes PAPER from LIVE mode and includes a staleness flag.

CLI

--currency accepts HKD or USD.

HTTP

Omit currency to use the account default.

Response

The JSON envelope contains code (string; "0" means success), message (string), data (TradingAccountData or null), request_id (string or null), and timestamp (integer Unix time in milliseconds). On success, data is TradingAccountData: is_stale: true means the snapshot may not reflect the latest broker state. Each cash_balances[] entry describes one currency’s own balance. Its amounts are in that entry’s currency and are never converted, so you cannot add them to account-level fields such as cash or to other entries. A null amount means the broker did not report that figure; it does not mean zero.