Skip to content

docs(cli): add CLI v0.30.0 release notes - #1285

Merged
hogan-yuan merged 2 commits into
mainfrom
docs/cli-v0.30.0-release-notes
Oct 12, 2026
Merged

hogan-yuan merged 2 commits into
mainfrom
docs/cli-v0.30.0-release-notes

Conversation

@hogan-yuan

Copy link
Copy Markdown
Member

Add the CLI v0.30.0 release notes to docs/{en,zh-CN,zh-HK}/docs/cli/release-notes.mdx.

v0.30.0 includes:

  • One-shot quote commands use the HTTP REST quote API instead of opening a WebSocket. Output is unchanged; the TUI and longbridge serve still use the WebSocket (longbridge-terminal#333, Feat/lb #334).
  • API errors show the business code and a trace_id, replacing WebSocket error (status=7, code=…).
  • Fix: option chain <SYMBOL> --date <DATE> returned 404000 in v0.29.0.
  • The longbridge ai chat TUI follows the terminal's light or dark theme (longbridge-terminal#330).

🤖 Generated with Claude Code

Comment thread docs/zh-CN/docs/cli/release-notes.mdx Outdated

### [v0.30.0](https://github.com/longbridge/longbridge-terminal/releases/tag/v0.30.0)

- **行情命令不再建立 WebSocket 连接** — 以下一次性行情命令改走 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下单预览中的行情查询。省去了 WebSocket 握手,启动更快,输出保持不变。TUI 和 `longbridge serve` 仍使用 WebSocket

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [AutoCorrect Lint] <AutoCorrect> reported by reviewdog 🐶

Suggested change
- **行情命令不再建立 WebSocket 连接** — 以下一次性行情命令改走 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下单预览中的行情查询。省去了 WebSocket 握手,启动更快,输出保持不变。TUI 和 `longbridge serve` 仍使用 WebSocket
- **行情命令不再建��— 以下一次性行情命令改走 HTTP REST 行情接口:TP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下单预览中的行情查询。省去了 WebSocket 握手,启动更快,输出保持不变。TUI 和 `longbridge serve` 仍使用 WebSocket

Comment thread docs/zh-CN/docs/cli/release-notes.mdx Outdated

- **行情命令不再建立 WebSocket 连接** — 以下一次性行情命令改走 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下单预览中的行情查询。省去了 WebSocket 握手,启动更快,输出保持不变。TUI 和 `longbridge serve` 仍使用 WebSocket
- **API 报错显示业务码和 trace id** — 例如 `Error: API error (code 301604): no quote access`,下一行是 `trace_id: …`。以前的格式是 `WebSocket error (status=7, code=…)`,如果脚本解析了这段文字,需要相应调整
- **修复:`option chain <SYMBOL> --date <DATE>` 报错** — v0.29.0 返回 `404000 api not found`,现在能返回完整的行权价链

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [AutoCorrect Lint] <AutoCorrect> reported by reviewdog 🐶

Suggested change
- **修复:`option chain <SYMBOL> --date <DATE>` 报错** — v0.29.0 返回 `404000 api not found`,现在能返回完整的行权价链
- **修复:`option chain <SYMBOL> --date <DATE>` 报错** — v0.29.0 返回 `404000 api not found`,现在能返回完整的行权价链

Comment thread docs/zh-HK/docs/cli/release-notes.mdx Outdated

### [v0.30.0](https://github.com/longbridge/longbridge-terminal/releases/tag/v0.30.0)

- **行情命令不再建立 WebSocket 連接** — 以下一次性行情命令改用 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下單預覽中的行情查詢。省去了 WebSocket 握手,啟動更快,輸出保持不變。TUI 和 `longbridge serve` 仍使用 WebSocket

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [AutoCorrect Lint] <AutoCorrect> reported by reviewdog 🐶

Suggested change
- **行情命令不再建立 WebSocket 連接** — 以下一次性行情命令改用 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下單預覽中的行情查詢。省去了 WebSocket 握手,啟動更快,輸出保持不變。TUI 和 `longbridge serve` 仍使用 WebSocket
- **行情命令不再建��— 以下一次性行情命令改用 HTTP REST 行情接口:TP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下單預覽中的行情查詢。省去了 WebSocket 握手,啟動更快,輸出保持不變。TUI 和 `longbridge serve` 仍使用 WebSocket

Comment thread docs/zh-HK/docs/cli/release-notes.mdx Outdated

- **行情命令不再建立 WebSocket 連接** — 以下一次性行情命令改用 HTTP REST 行情接口:`quote`、`depth`、`brokers`、`trades`、`intraday`、`kline`、`static`、`calc-index`、`capital`、`participants`、`trading`、`warrant`、`option`,以及 `portfolio`、`sharelist` 和下單預覽中的行情查詢。省去了 WebSocket 握手,啟動更快,輸出保持不變。TUI 和 `longbridge serve` 仍使用 WebSocket
- **API 報錯顯示業務碼和 trace id** — 例如 `Error: API error (code 301604): no quote access`,下一行是 `trace_id: …`。以前的格式是 `WebSocket error (status=7, code=…)`,如果腳本解析了這段文字,需要相應調整
- **修復:`option chain <SYMBOL> --date <DATE>` 報錯** — v0.29.0 返回 `404000 api not found`,現在能返回完整的行權價鏈

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [AutoCorrect Lint] <AutoCorrect> reported by reviewdog 🐶

Suggested change
- **修復:`option chain <SYMBOL> --date <DATE>` 報錯** — v0.29.0 返回 `404000 api not found`,現在能返回完整的行權價鏈
- **修復:`option chain <SYMBOL> --date <DATE>` 報錯** — v0.29.0 返回 `404000 api not found`,現在能返回完整的行權價鏈

@hogan-yuan
hogan-yuan merged commit 16e9a89 into main Oct 12, 2026
2 checks passed
@hogan-yuan
hogan-yuan deleted the docs/cli-v0.30.0-release-notes branch October 12, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant