Skip to main content

How to use dsh-stock-market

Fixes the bug where your account can't lose money while you code.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

Fixes the bug where your account can't lose money while you code.

— source: plugins.ai_summary

Install & verify

dsh plugin --profile web add github:AnacondaKC/dsh-stock-market

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • 右侧“行情”侧栏:顶部信息区展示上证指数、恒生指数、纳斯达克、韩国综合、日经指数、布伦特原油和纽约金主连的最新价与涨跌,支持横向滚动;侧栏支持收起、拖拽或键盘调整宽度及会话级状态保存。
  • A 股行情快照:上证指数、深证成指、创业板指和科创综指来自腾讯实时行情,5 秒刷新;两市成交额与上一交易日同期比较,财经资讯来自东方财富。
  • 数据接口设置:展示全部免费数据源和已接入的固定接口目录,无需配置凭据。
  • 会话级股票工具开关:输入框工具行可启用或关闭全部股票工具,状态随会话日志持久化。
  • stock_quote:实时证券行情快照。

— source: plugin_wiki.readme_en (fallback readme_raw)

Compatibility

  • DSH: 0.0.1-rc.5+(依赖 cordis rc.4、dsh-tools/dsh-settings/dsh-client-* rc.5)
  • Node: >=22.19.0

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule