Loading...
Loading...
Account statements (daily / monthly) via Longbridge Securities — list available statements and export sections (equity holdings, cash transactions, fees, etc.) as CSV or markdown for accounting, tax filing, or audit. Also covers bank cards linked to the account, withdrawal history, and deposit history. Requires longbridge login with Trade scope. Read-only — no order placement here. Triggers: "对账单", "月结单", "日结单", "账单导出", "税务报表", "报税资料", "导出持仓", "导出交易记录", "银行卡", "出金记录", "入金记录", "充值记录", "對賬單", "月結單", "日結單", "賬單導出", "稅務報表", "報稅資料", "銀行卡", "出金記錄", "入金記錄", "account statement", "monthly statement", "daily statement", "export statement", "tax report", "bank cards", "withdrawal history", "deposit history", "1099", "year-end statement".
npx skill4agent add longbridge/skills longbridge-statementResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.Privacy: statements contain account-level holdings, cash flow, and fees. Only return details in direct conversation.
statementstatement --type dailystatement --type monthlystatement export --file-key <KEY> --section <SECTION>bank-cardswithdrawalsdepositslongbridge-orderslongbridge-positionsRunandlongbridge statement --helpif unsure of current flags / supported sections.longbridge statement export --help
| CLI command | Returns |
|---|---|
| List of available statements (alias for |
| List of recent daily statements (default 30) |
| List of recent monthly statements (default 12) |
| Same as the bare command |
| Export one statement section as CSV / markdown |
| Flag | Default | Notes |
|---|---|---|
| | |
| 30 days ago | |
| 30 (daily) / 12 (monthly) | Number of records |
longbridge statement --type ... --format jsonfile-keylongbridge statement export --file-key <KEY> --section <SECTION>unauthorizedlongbridge auth logout && longbridge auth login# List last 30 daily statements
longbridge statement --format json
# List last 12 monthly statements
longbridge statement --type monthly --format json
# Custom date window
longbridge statement --type daily --start-date 2026-01-01 --limit 90 --format json
# Export the equity-holdings section of one statement
longbridge statement export --file-key <KEY> --section equity_holdings --format json
# Bank cards linked to the account
longbridge bank-cards --format json
# Withdrawal history (paginated)
longbridge withdrawals --format json
longbridge withdrawals --page 2 --count 50 --format json
# Deposit history (with filters)
longbridge deposits --format json
longbridge deposits --states 1 --currencies HKD,USD --format json # credited, HKD+USD onlyAvailablevalues vary by statement type and account. Run--sectionfor the canonical list before guessing.longbridge statement export --help
listfile-keyexport| Situation | LLM response |
|---|---|
Shell | Fall back to MCP if configured; otherwise tell the user to install longbridge-terminal. |
stderr contains | Tell the user to run |
stderr | Re-run the |
| Empty list | "No statements available in the requested window — try widening |
| Other stderr | Surface verbatim — never silently retry. |
| CLI subcommand | MCP tool |
|---|---|
| |
| |
| |
| |
| |
| User asks | Route to |
|---|---|
| Live holdings / cash balance | |
| Today / historical orders / fills | |
| Account-level P&L analysis | |
| Multi-currency conversion for the statement | |
longbridge-statement/
└── SKILL.md # prompt-only, no scripts/