"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs: summarize November polish fixes
Haozhe Wu2ac20879389f
diff --git a/README.md b/README.mdindex aa6c0a41a..87b6607f5 100644--- a/README.md+++ b/README.md@@ -52,6 +52,16 @@> ⚠️ **Security warning:** The X account `VibeTrading_HKU`, Virtuals project `101845`, and token contract `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` are not official Vibe-Trading assets. We have never launched or endorsed any token or memecoin. Do not buy, connect a wallet, or sign anything. [Details](SECURITY.md#official-channels--impersonation).+- **2026-11-03** 🛠️ **Runtime integrity and localization follow-ups (unreleased)**: Preserve U+2028/U+2029 inside trace, audit-ledger and session-search JSONL records, keep ledger appends valid after such payloads, normalize underscored model labels, and preserve handoff summaries during layer-2 compaction. Also accept BOM-prefixed frontmatter and keep the welcome surface aligned in RTL locales. Add regression coverage.++- **2026-11-02** 🛠️ **Frontmatter, result safety and welcome polish (unreleased)**: Unquote quoted scalar metadata, fall back to a readable truncation when an oversized result cannot be encoded, and refine the welcome layout and featured cards. Add regression coverage.++- **2026-11-01** 🛠️ **Session timestamps, theme contrast and welcome interactions (unreleased)**: Stamp session updates in UTC, keep dark-mode primary buttons legible, and make side-panel examples clickable with clear category labels. Add regression coverage.++<details>+<summary>Earlier news</summary>++- **2026-10-31** 🛠️ **Welcome and ticker parsing polish (unreleased)**: Move the welcome surface to a warm paper palette and two-column layout, make featured examples and side-panel actions clearer, and stop trailing ticker letters from being interpreted as A-share or A/H constraints.- **2026-10-30** 🛠️ **Channel reliability and A-share sizing (unreleased)**: Voice notes reach the agent as attachments in Telegram, Feishu, Matrix and Weixin; STAR and Beijing backtests follow their board-specific minimum sizes and one-share increments. Add path-containment regressions. ([#2106](https://github.com/HKUDS/Vibe-Trading/pull/2106), [#2105](https://github.com/HKUDS/Vibe-Trading/pull/2105), [#2094](https://github.com/HKUDS/Vibe-Trading/pull/2094)). Follow-up: stream cancellation and retry/cache accounting, scoped background recovery, evidence-preserving research-goal edits, and Discord overflow fixes. A-share 5m paper steps now match bar by bar; saved accounts remain daily-only. Optional Parallel search is off by default. ([#2099](https://github.com/HKUDS/Vibe-Trading/pull/2099), [#2109](https://github.com/HKUDS/Vibe-Trading/pull/2109), [#2111](https://github.com/HKUDS/Vibe-Trading/pull/2111), [#2113](https://github.com/HKUDS/Vibe-Trading/pull/2113)).- **2026-10-29** 🛠️ **Research reuse and execution fixes (unreleased)**: Save versioned research artifacts and reuse manifest-checked prior backtests ([#2079](https://github.com/HKUDS/Vibe-Trading/pull/2079), [#2074](https://github.com/HKUDS/Vibe-Trading/pull/2074)).@@ -62,9 +72,6 @@- **2026-10-27** 🛠️ **Portfolio connections and research correctness (unreleased)**: Save connection-specific IBKR/Futu gateway addresses through Web or CLI, and use them for agent reads ([#1983](https://github.com/HKUDS/Vibe-Trading/pull/1983)). Robinhood portfolio reads support account selection, pagination and equity quotes; follow-up checks bind quotes to the requested symbol, select the newer regular/extended-hours trade and show its as-of time ([#2054](https://github.com/HKUDS/Vibe-Trading/pull/2054), [011a555ed](https://github.com/HKUDS/Vibe-Trading/commit/011a555ed)). Restore Qlib ROC/CORD formulas and enforce documented shadow-strategy entry bounds ([#2069](https://github.com/HKUDS/Vibe-Trading/pull/2069), [#2073](https://github.com/HKUDS/Vibe-Trading/pull/2073)). Preserve financial units and numeric evidence, keep currency declarations within their own object, reject non-finite/boolean financial inputs, and accept ordinary two-turn `claude-cli` structured finals ([#2072](https://github.com/HKUDS/Vibe-Trading/pull/2072), [#2053](https://github.com/HKUDS/Vibe-Trading/pull/2053), [#2064](https://github.com/HKUDS/Vibe-Trading/pull/2064)). These changes are on `main` for the next release.-<details>-<summary>Earlier news</summary>-- **2026-10-26** 🛠️ **Agent cancellation, grounding and market-correctness fixes (unreleased)**: Stopping a chat turn cancels in-flight Swarm runs and ignores late status events ([#2059](https://github.com/HKUDS/Vibe-Trading/pull/2059), [#2060](https://github.com/HKUDS/Vibe-Trading/pull/2060)). Restore trailing OLS definitions for Qlib BETA/RESI, admit eligible document figures to the evidence ledger, and recover from refused native `claude-cli` tool attempts ([#2062](https://github.com/HKUDS/Vibe-Trading/pull/2062), [#2058](https://github.com/HKUDS/Vibe-Trading/pull/2058), [#2048](https://github.com/HKUDS/Vibe-Trading/pull/2048)). Add field-level alpha-bench availability metadata; correct weight overflow, event-study rank scaling and attribution alignment ([#2057](https://github.com/HKUDS/Vibe-Trading/pull/2057), [#2046](https://github.com/HKUDS/Vibe-Trading/pull/2046), [#2000](https://github.com/HKUDS/Vibe-Trading/pull/2000), [#2044](https://github.com/HKUDS/Vibe-Trading/pull/2044)). Also fix Moonshot reasoning-effort routing, journal/options input validation, Stooq class-share symbols, screener decimal fields and ST board limits ([#2043](https://github.com/HKUDS/Vibe-Trading/pull/2043), [#2052](https://github.com/HKUDS/Vibe-Trading/pull/2052), [#2049](https://github.com/HKUDS/Vibe-Trading/pull/2049), [#2012](https://github.com/HKUDS/Vibe-Trading/pull/2012), [#1988](https://github.com/HKUDS/Vibe-Trading/pull/1988), [#1984](https://github.com/HKUDS/Vibe-Trading/pull/1984)). These changes are on `main` for the next release.- **2026-10-25** 🛠️ **Session, market-data and calculation fixes (unreleased)**: Deleting a session also removes its search entries, and chat titles update correctly when the first message includes attachments or Swarm instructions ([#1970](https://github.com/HKUDS/Vibe-Trading/pull/1970), [#1969](https://github.com/HKUDS/Vibe-Trading/pull/1969)). Fix prematurely truncated CCXT history, Nobitex daily dates and Tiingo class-share symbols ([#1999](https://github.com/HKUDS/Vibe-Trading/pull/1999), [#1989](https://github.com/HKUDS/Vibe-Trading/pull/1989), [#2010](https://github.com/HKUDS/Vibe-Trading/pull/2010)). Preserve small trade/chart prices, correct GTJA factor formulas and VWAP units, and reject ambiguous boolean flags before changing state ([fix](https://github.com/HKUDS/Vibe-Trading/commit/6dafa4cde)). These fixes are on `main` for the next release.diff --git a/README_zh.md b/README_zh.mdindex c30507704..a40b644fb 100644--- a/README_zh.md+++ b/README_zh.md@@ -52,6 +52,16 @@> ⚠️ **安全警告:** X 账号 `VibeTrading_HKU`、Virtuals 项目 `101845` 及代币合约 `0x640BDBF77b6447E8b7DB7894cED84BD1c40571f4` 均非 Vibe-Trading 官方。我们从未发行或背书任何代币或 meme 币。请勿购买、连接钱包或签名。[详细说明](SECURITY.md#official-channels--impersonation)。+- **2026-11-03** 🛠️ **运行完整性与本地化后续修复(尚未发版)**:trace、审计账本和会话搜索的 JSONL 保留 U+2028/U+2029,含这些字符的账本记录仍可继续追加;模型名称统一下划线写法;上下文第 2 层压缩保留 handoff 摘要。另支持带 BOM 的 frontmatter,并让欢迎页在 RTL 语言中保持阅读方向。补充回归测试。++- **2026-11-02** 🛠️ **frontmatter、结果安全与欢迎页润色(尚未发版)**:去除带引号的标量元数据外壳;超大结果无法编码时回退到可读截断;调整欢迎页布局和精选示例,并补充回归测试。++- **2026-11-01** 🛠️ **会话时间、主题对比度与欢迎页交互(尚未发版)**:会话更新统一记录 UTC 时间;深色模式主按钮保持可读;侧栏示例可点击并显示清晰的分类标签。补充回归测试。++<details>+<summary>更早的新闻</summary>++- **2026-10-31** 🛠️ **欢迎页与代码解析润色(尚未发版)**:欢迎页改用暖色纸感和双栏布局,精选示例与侧栏操作更清晰;避免把 ticker 末尾字母误读成 A 股或 A/H 约束。- **2026-10-30** 🛠️ **渠道可靠性与 A 股数量规则(尚未发版)**:Telegram、飞书、Matrix 和微信语音消息以附件形式送达 Agent;科创板与北交所回测遵循各自最低申报数量及一股递增规则,并补充路径边界回归测试。 ([#2106](https://github.com/HKUDS/Vibe-Trading/pull/2106), [#2105](https://github.com/HKUDS/Vibe-Trading/pull/2105), [#2094](https://github.com/HKUDS/Vibe-Trading/pull/2094)). 后续整合:修复流式取消、重试及缓存用量统计、后台任务恢复和 Discord 重复分段;研究目标可保留证据直接编辑。A 股五分钟纸面步骤逐 bar 撮合,持久账户仍仅支持日线;Parallel 搜索默认关闭。 ([#2099](https://github.com/HKUDS/Vibe-Trading/pull/2099), [#2109](https://github.com/HKUDS/Vibe-Trading/pull/2109), [#2111](https://github.com/HKUDS/Vibe-Trading/pull/2111), [#2113](https://github.com/HKUDS/Vibe-Trading/pull/2113)).- **2026-10-29** 🛠️ **研究复用与执行修复(尚未发版)**:保存带版本的研究资料,复用经 manifest 校验的历史回测产物([#2079](https://github.com/HKUDS/Vibe-Trading/pull/2079)、[#2074](https://github.com/HKUDS/Vibe-Trading/pull/2074))。@@ -62,9 +72,6 @@- **2026-10-27** 🛠️ **组合连接与研究正确性修复(尚未发版)**:通过网页或 CLI 保存各连接独立的 IBKR/富途网关地址,Agent 读取也使用该地址([#1983](https://github.com/HKUDS/Vibe-Trading/pull/1983))。Robinhood 组合读取支持账户选择、分页及股票报价;后续补修校验报价与请求代码一致,选择较新的常规/盘后成交并显示报价时间([#2054](https://github.com/HKUDS/Vibe-Trading/pull/2054),[011a555ed](https://github.com/HKUDS/Vibe-Trading/commit/011a555ed))。恢复 Qlib ROC/CORD 公式,严格执行影子策略声明的入场边界([#2069](https://github.com/HKUDS/Vibe-Trading/pull/2069), [#2073](https://github.com/HKUDS/Vibe-Trading/pull/2073))。保留金融单位与数字证据,将币种声明限制在所属对象内,拒绝非有限数和布尔型金融输入,并接受普通两轮 `claude-cli` 结构化最终回答([#2072](https://github.com/HKUDS/Vibe-Trading/pull/2072), [#2053](https://github.com/HKUDS/Vibe-Trading/pull/2053), [#2064](https://github.com/HKUDS/Vibe-Trading/pull/2064))。以上已进入 `main`,随下一版本发布。-<details>-<summary>更早的新闻</summary>-- **2026-10-26** 🛠️ **Agent 取消、数字核验与行情正确性修复(尚未发版)**:停止聊天时取消执行中的 Swarm,并忽略迟到的状态事件([#2059](https://github.com/HKUDS/Vibe-Trading/pull/2059), [#2060](https://github.com/HKUDS/Vibe-Trading/pull/2060))。恢复 Qlib BETA/RESI 的滚动 OLS 定义,允许符合条件的文档数字进入证据账本,并让 `claude-cli` 从原生工具调用被拒绝的情况中恢复([#2062](https://github.com/HKUDS/Vibe-Trading/pull/2062), [#2058](https://github.com/HKUDS/Vibe-Trading/pull/2058), [#2048](https://github.com/HKUDS/Vibe-Trading/pull/2048))。新增 alpha-bench 字段级数据可用性元信息,修复权重溢出、事件研究秩缩放和归因区间对齐([#2057](https://github.com/HKUDS/Vibe-Trading/pull/2057), [#2046](https://github.com/HKUDS/Vibe-Trading/pull/2046), [#2000](https://github.com/HKUDS/Vibe-Trading/pull/2000), [#2044](https://github.com/HKUDS/Vibe-Trading/pull/2044))。同时修复 Moonshot 推理强度路由、交易日志/期权输入校验、Stooq 分类股代码、筛选器小数字段及 ST 股票板块涨跌幅限制([#2043](https://github.com/HKUDS/Vibe-Trading/pull/2043), [#2052](https://github.com/HKUDS/Vibe-Trading/pull/2052), [#2049](https://github.com/HKUDS/Vibe-Trading/pull/2049), [#2012](https://github.com/HKUDS/Vibe-Trading/pull/2012), [#1988](https://github.com/HKUDS/Vibe-Trading/pull/1988), [#1984](https://github.com/HKUDS/Vibe-Trading/pull/1984))。以上已进入 `main`,随下一版本发布。- **2026-10-25** 🛠️ **会话、行情与计算修复(尚未发版)**:删除会话时同步清除搜索记录,首条消息带附件或 Swarm 指令时也能正确更新聊天标题([#1970](https://github.com/HKUDS/Vibe-Trading/pull/1970)、[#1969](https://github.com/HKUDS/Vibe-Trading/pull/1969))。修复 CCXT 历史行情提前截断、Nobitex 日线日期及 Tiingo 分类股代码映射([#1999](https://github.com/HKUDS/Vibe-Trading/pull/1999)、[#1989](https://github.com/HKUDS/Vibe-Trading/pull/1989)、[#2010](https://github.com/HKUDS/Vibe-Trading/pull/2010))。保留小额成交和图表价格精度,修正 GTJA 因子公式与 VWAP 单位,并在改变状态前拒绝含义不明的布尔参数([修复](https://github.com/HKUDS/Vibe-Trading/commit/6dafa4cde))。以上已进入 `main`,随下一版本发布。