Repository navigation
docs(cli): add CLI v0.30.0 release notes - #1285
Merged
Merged
Conversation
|
|
||
| ### [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 |
Contributor
There was a problem hiding this comment.
🚫 [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 |
|
|
||
| - **行情命令不再建立 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`,现在能返回完整的行权价链 |
Contributor
There was a problem hiding this comment.
🚫 [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`,现在能返回完整的行权价链 |
|
|
||
| ### [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 |
Contributor
There was a problem hiding this comment.
🚫 [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 |
|
|
||
| - **行情命令不再建立 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`,現在能返回完整的行權價鏈 |
Contributor
There was a problem hiding this comment.
🚫 [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`,現在能返回完整的行權價鏈 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the CLI v0.30.0 release notes to
docs/{en,zh-CN,zh-HK}/docs/cli/release-notes.mdx.v0.30.0 includes:
longbridge servestill use the WebSocket (longbridge-terminal#333, Feat/lb #334).trace_id, replacingWebSocket error (status=7, code=…).option chain <SYMBOL> --date <DATE>returned404000in v0.29.0.longbridge aichat TUI follows the terminal's light or dark theme (longbridge-terminal#330).🤖 Generated with Claude Code