Skip to content

feat(chart): customizable moving averages and intraday chart improvements - #39

Closed
T0n0T wants to merge 3 commits into
Leaderxin:masterfrom
T0n0T:feat/customizable-moving-average
Closed

T0n0T wants to merge 3 commits into
Leaderxin:masterfrom
T0n0T:feat/customizable-moving-average

Conversation

@T0n0T

@T0n0T T0n0T commented Nov 12, 2026

Copy link
Copy Markdown

变更内容

  • 分时图补齐均价线、成交量副图与自适应纵轴。
  • 支持在设置中自定义均线周期,并保存配置、动态计算和显示均线。
  • 将 Tauri updater 配置为使用 T0n0T fork 的签名公钥与 release endpoint。

当前分支以分时图优化提交为基础,该提交尚未进入 master,所以本 PR 也包含这部分改动。

验证

  • npm test:225 项通过
  • npm run build:通过
  • cargo check --manifest-path src-tauri/Cargo.toml:通过
  • cargo test --manifest-path src-tauri/Cargo.toml:118 项通过

Leaderxin and others added 3 commits November 10, 2026 10:41
- 均价线:前端按成交量累计 VWAP(后端 avg_price 实际填的是 bar 开盘价),
  颜色与 K 线 MA10 一致;读数并入蜡烛 tooltip 同一行(放在成交量后面)。
- 成交量副图:独立 pane,calcParams 为空只画量柱;高度与 K 线共用 paneSize,
  VOL 外观配置提取到 useChartCore,两张图不再各写一份。
- 纵轴:由强制对称改为自适应区间,单边行情不再压在上/下半区;0% 两侧各留 1%。
- 价格线随涨跌变色(含渐变填充),主题/配色切换时重设 canvas 样式与指标实例样式。
- 修复:空分时响应清空上一只标的的 bar/昨收;applyTheme 不再把价格线打回默认蓝;
  resize 时按缓存跳过重复 setPaneOptions。
@T0n0T

T0n0T commented Nov 12, 2026

Copy link
Copy Markdown
Author

误开到上游仓库;改为提交到自己的 master。

@T0n0T T0n0T closed this Nov 12, 2026
@T0n0T
T0n0T deleted the feat/customizable-moving-average branch November 12, 2026 01:45
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.

2 participants