Longbridge Terminal -ohjelmasta on luettelossa 11 versiota, ensimmäinen 22. toukokuuta 2026 ja uusin 0.31.1. Jokainen versio linkittää julkaisijan omiin asennustiedostoihin.
| Versio | Päivämäärä | Koko | Tiedostot |
|---|---|---|---|
| 0.31.1Uusin | 4. marraskuuta 2026 | — | 64-bittinen ZIP Muutosloki## v0.31.1
• **Unknown symbols are errors, with a fix you can use.** `quote`, `static` and `calc-index` now exit non-zero when a symbol does not resolve. Symbols that do resolve are still printed on stdout. Every suggestion is checked before it is shown, so the CLI never recommends a spelling that is just as empty:
• `DJI.US` → Did you mean ".DJI.US"?
• `BRK-B.US` → Did you mean "BRK.B.US"?
• `tesla.US` → no security matches; use the ticker symbol (e.g. TSLA.US), not the company name.
• `TSLA.US` with no quote access → the symbol exists but returned no data; check `longbridge auth status`.
If a script relied on exit 0 with an empty or partial result, check the exit status or stderr instead, and don't discard stdout on a non-zero exit (#340).
• **`depth`, `brokers`, `trades`, `intraday`, `kline` and `kline history`** add the same suggestion under the server's `invalid symbol` error.
• **Symbols are case-insensitive.** `tsla.us` works everywhere a symbol is accepted.
• **`403308` says what to grant.** When a command needs a permission your login did not include (e.g. "Account & Positions" for `portfolio`, "Watchlist" for `watchlist`), the error names it and tells you to run `longbridge auth login` and tick it on the consent screen.
• **`--format json` errors are JSON**, including "not logged in". stderr carries `{"error":{"code", "message", "trace_id", "hints", "symbols"}}`. Each `symbols` entry has a stable `status` (`no_data`, `suggest`, `unknown`, `unchecked`), so scripts don't need to parse the message. Usage errors (unknown flag) are still clap's text, exit code 2.
**Full changelog**:https://github.com/longbridge/longbridge-terminal/compare/v0.31.0...v0.31.1 |
| 0.30.0 | 12. lokakuuta 2026 | — | 64-bittinen ZIP Muutosloki## v0.30.0
• **Quote commands no longer open a WebSocket.** One-shot quote commands now use the HTTP REST quote API:`quote`, `depth`, `brokers`, `trades`, `intraday`, `kline`, `static`, `calc-index`, `capital`, `participants`, `trading`, `warrant`, `option`, `portfolio`, plus the quote lookups in `sharelist` and order previews. Output is unchanged. Commands start faster because no WebSocket handshake is needed. The TUI and `longbridge serve` still use the WebSocket.
• **API errors now show the business code and a trace id**, for example `Error:API error (code 301604): no quote access` followed by `trace_id: …`. The previous form was `WebSocket error (status=7, code=…)`. If a script parses these messages, update it.
• **`option chain <SYMBOL> --date <DATE>` works again.** In v0.29.0 it failed with `404000 api not found`.
• The chat TUI adapts its colors to the terminal's light or dark theme (#330).
**Full changelog**:https://github.com/longbridge/longbridge-terminal/compare/v0.29.0...v0.30.0 |
| 0.29.0 | 8. lokakuuta 2026 | — | 64-bittinen ZIP Muutosloki## v0.29.0
• **New `fund` command group.** `longbridge fund` brings the mutual-fund channel to the terminal:catalog & market data, your holdings, and order management. Funds are addressed by `counter_id` (e.g. `UT/FD/HK0000384492`), not a stock symbol; `submit-order` / `cancel-order` prompt unless `--yes`.
**Full changelog**:https://github.com/longbridge/longbridge-terminal/compare/v0.28.7...v0.29.0 |
| 0.28.7 | 16. syyskuuta 2026 | — | 64-bittinen ZIP Muutosloki## What's changed
• **Option `theta` is no longer divided by 252** — the API now returns a per-day `theta` value (the server divides the raw annualized value by 365), so the CLI stopped applying its own `/252` and displays the value as returned (#315). |
| 0.28.6 | 11. syyskuuta 2026 | — | 64-bittinen ZIP Muutosloki## What's changed
• **`statement export` now exports legacy statements and reports download failures** — earlier (pre-migration) statements are no longer silently skipped; they're fetched and included, and any per-file download failure is surfaced instead of being swallowed (#324).
• **`order executions` JSON carries the full execution record, and `--history` paginates over the v3 `execution/all` endpoint** — JSON output now includes `order_id`, `trade_id`, `symbol`, `side`, `price`, `quantity`, `trade_done_at`. With `--history`, fills are filtered by execution time and paginated to completion (no longer capped at 1000) (#321).
• **Standardized data-center region wording in command and flag help** — help text consistently says "AP accounts" / "US accounts" (#318). |
| 0.28.5 | 7. syyskuuta 2026 | — | 64-bittinen ZIP Muutosloki## What's changed
• **CLI authentication is now OAuth-only.** `longbridge` authenticates through `longbridge auth login` and no longer reads the `LONGBRIDGE_APP_KEY` / `LONGBRIDGE_APP_SECRET` / `LONGBRIDGE_ACCESS_TOKEN` environment variables. A stray credential in the environment — including the legacy `LONGPORT_` prefix or a `.env` file — used to silently switch the auth mode and make `longbridge ai` loop the login prompt. This is now fixed (longbridge/developers#1247).
• ⚠️ **Breaking:** if you ran the CLI headless (CI, no browser) with env-var API-key credentials, run `longbridge auth login` once. The token is persisted and refreshed automatically afterwards.
• **Exit quietly on a closed output pipe** — no more broken-pipe error when output is truncated by `head` and similar (#316).
• **Fix Shift+Tab reverse-cycling of K-line sampling periods** (#314). |
| 0.28.4 | 28. elokuuta 2026 | — | 64-bittinen ZIP |
| 0.28.2 | 21. elokuuta 2026 | — | 64-bittinen ZIP Muutosloki## What's Changed
• cli:Re-attach to an agent run when its SSE stream drops by @huacnlee in https://github.com/longbridge/longbridge-terminal/pull/307
**Full Changelog**:https://github.com/longbridge/longbridge-terminal/compare/v0.28.1...v0.28.2 |
| 0.27.1 | 14. elokuuta 2026 | — | 64-bittinen ZIP Muutosloki## What's Changed
• fix(acp):use OAuth authentication only by @huacnlee in https://github.com/longbridge/longbridge-terminal/pull/288
• fix(acp):preserve sessions before OAuth login by @huacnlee in https://github.com/longbridge/longbridge-terminal/pull/289
• fix(acp):detect OAuth login without restart by @huacnlee in https://github.com/longbridge/longbridge-terminal/pull/290
• feat(agent):drive ACP sessions off /v1/ai/chats; add chats commands by @hogan-yuan in https://github.com/longbridge/longbridge-terminal/pull/286
• `acp`:Serve sessions from the account's chats by @huacnlee in https://github.com/longbridge/longbridge-terminal/pull/291
**Full Changelog**:https://github.com/longbridge/longbridge-terminal/compare/v0.27.0...v0.27.1 |
| 0.24.0 | 26. kesäkuuta 2026 | — | 64-bittinen ZIP MuutoslokiWhat's New
New Command: macrodata
Query macroeconomic indicators and historical data.
List all indicators:
longbridge macrodata
longbridge macrodata --country US
longbridge macrodata --keyword CPI --country US
Query historical data:
longbridge macrodata 61744
longbridge macrodata 61744 --start 2024-01-01 --limit 12 --format json
Options:
- --country — filter by country: HK / CN / US / EU / JP / SG
- --keyword — server-side keyword search
- --start / --end — date range filter (YYYY-MM-DD)
- --limit / --page — pagination (default 20/page)
- --lang — language for names and descriptions (zh-CN / en)
- --format json — structured output for AI agents and scripting
Covers 441 indicators across 6 markets with importance ranking (1–3). |
| 0.22.1 | 22. toukokuuta 2026 | — | 64-bittinen ZIP |