@dshtrading/kit-global 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: global-risk-checklist
3
+ description: 全球品种交易风控检查清单:开仓前逐项核对杠杆与保证金、隔夜利息与强平、休市跳空(每日 05:00-06:00 与周末)、数据行情波动(非农/FOMC/OPEC)、美元计价与汇率回吐,覆盖现货贵金属/原油/外汇/全球指数。
4
+ ---
5
+
1
6
  # 全球品种交易风控检查清单(global-risk-checklist)
2
7
 
3
8
  适用范围:全球市场品种——现货贵金属(XAUUSD 等)、能源(WTI/USOIL)、外汇主流货币对、
@@ -1,3 +1,7 @@
1
+ ---
2
+ name: indicator-authoring
3
+ description: 自定义技术指标创作指南:根据用户自然语言需求生成符合契约的指标代码(TD9/SuperTrend/OBV+MA等),并通过 indicator_author 工具验证与落库。
4
+ ---
1
5
  # 指标创作指南(Indicator Authoring Guide)
2
6
 
3
7
  当用户在会话列中用自然语言提出编写或添加技术指标的需求时(例如:"帮我写一个 TD9 指标"、"帮我写一个 SuperTrend 指标"、"给 OBV 加一个 34 天均线"),请遵循本指南生成符合 `@dshtrading/indicators` 契约规范的 JavaScript 纯函数代码,并调用 `indicator_author` 工具进行沙箱校验与落库。
@@ -41,6 +41,7 @@ description: 财经观点沉淀与知识库策展指南:基于 Content Insight
41
41
  - `title`:卡片主题(精炼概括核心逻辑,如「高股息资产在低利率环境下的防御逻辑」);
42
42
  - `summary`:合并 2-4 条核心论点的一句话概述(图谱 hover 提示文案);
43
43
  - `source`:`type`(bilibili / wechat / manual)、`url`、`author`、`publishedAt`;
44
+ - `author` **只写主体名**(B站 UP 名 / 公众号名 / 机构名),平台、角色(转播/提炼/核查)、发言人名单、备注一律写进卡片正文——同一主体的不同平台写法由 `packages/knowledge/src/authors.ts` 的别名表在入库时自动归一,命中时 `knowledge_ingest` 回报会回显「作者已归一:旧 → 规范名」。注意别名表是**精确匹配**:未登记的写法不会告警、只会安静地多出作者下拉的一行——入库前请先比对规范名册(工作区 `reports/knowledge_taxonomy.md` §作者字段规范),发现新写法时登记 `AUTHOR_ALIASES` 并补 `test/authors.test.ts` 用例,不要手改 `cards.json`;
44
45
  - `credibility`:`high` / `medium` / `low`;
45
46
  - `coreClaims`:核心论点列表(保留原作者的推理链条,避免断章取义);
46
47
  - `factCheck`:`{ verified: [...], discrepancies: [...], unverifiable: [...] }`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dshtrading/kit-global",
3
3
  "description": "Global instruments toolkit plugin for dsh-trading: global risk checklist skill provider (leverage/swap/overnight-gap/event-driven-volatility/USD-denomination for spot metals, oil, FX and global indices); runs as a global-trader preset row (session-scoped)",
4
- "version": "0.4.1",
4
+ "version": "0.6.0",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "./lib/index.d.ts",
@@ -18,12 +18,12 @@
18
18
  ],
19
19
  "license": "PolyForm-Noncommercial-1.0.0",
20
20
  "dependencies": {
21
- "@dshtrading/api": "0.4.1"
21
+ "@dshtrading/api": "0.6.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@deepseek-ai/cordis": ">=4.0.0",
25
- "@deepseek-ai/dsh-skill": ">=0.1.5-rc.1",
26
- "@deepseek-ai/dsh-tools": ">=0.1.5-rc.1",
25
+ "@deepseek-ai/dsh-skill": ">=0.2.0-rc.2",
26
+ "@deepseek-ai/dsh-tools": ">=0.2.0-rc.2",
27
27
  "@deepseek-ai/schemastery": ">=3.18.0"
28
28
  },
29
29
  "devDependencies": {