gangtise-openapi-cli 0.13.0 → 0.13.1

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.
package/README.md CHANGED
@@ -129,11 +129,12 @@ gangtise-openapi/
129
129
  └── references/
130
130
  ├── commands/ # 按命令组拆分的详细参数文档(agent 按需 Read)
131
131
  │ ├── ai.md # AI 能力命令(one-pager / earnings-review / viewpoint-debate 等)
132
- │ ├── fundamental.md # 财务数据命令(三大报表 / 估值 / 盈利预测 / 股东)
132
+ │ ├── alternative.md # 行业指标数据库(EDB search / EDB data)
133
+ │ ├── fundamental.md # 财务数据命令(A股/港股三大报表 / 估值 / 盈利预测 / 股东)
133
134
  │ ├── insight.md # 投研内容命令(研报 / 观点 / 纪要 / 公告 / 外资)
134
135
  │ ├── quote.md # 行情命令(A股/港股/指数 K 线)
135
136
  │ ├── reference-and-lookup.md # GTS Code 搜索与枚举速查
136
- │ └── vault.md # 云盘/录音/会议/群消息
137
+ │ └── vault.md # 云盘/录音/会议/群消息/股票池
137
138
  ├── examples.md # 典型场景的端到端示例
138
139
  ├── fields.md # K线/财务字段中英文对照速查表
139
140
  ├── lookup-ids.md # 常用 ID 速查表(行业/券商/机构/公告分类等)
@@ -189,8 +190,9 @@ cp -r gangtise-openapi ~/.hermes/skills/gangtise-openapi
189
190
  | **Quote** | `day-kline` / `day-kline-hk` | A股/港股日K线 |
190
191
  | | `index-day-kline` | 沪深京指数日K线 |
191
192
  | | `minute-kline` | A股分钟K线 |
192
- | **Fundamental** | `income-statement` / `balance-sheet` / `cash-flow` | 三大财务报表(累计) |
193
- | | `income-statement-quarterly` / `cash-flow-quarterly` | 利润表/现金流量表(单季度) |
193
+ | **Fundamental** | `income-statement` / `balance-sheet` / `cash-flow` | A股三大财务报表(累计) |
194
+ | | `income-statement-quarterly` / `cash-flow-quarterly` | A股利润表/现金流量表(单季度) |
195
+ | | `income-statement-hk` / `balance-sheet-hk` / `cash-flow-hk` | 港股三大财务报表(中国会计准则) |
194
196
  | | `main-business` | 主营构成(按地区/产品拆分) |
195
197
  | | `valuation-analysis` | 估值分析 |
196
198
  | | `earning-forecast` | 盈利预测(一致预期) |
@@ -212,6 +214,9 @@ cp -r gangtise-openapi ~/.hermes/skills/gangtise-openapi
212
214
  | | `record-list` / `record-download` | 录音速记列表与下载 |
213
215
  | | `my-conference-list` / `my-conference-download` | 我的会议列表与下载 |
214
216
  | | `wechat-message-list` / `wechat-chatroom-list` | 群消息列表与群ID查询 |
217
+ | | `stock-pool-list` / `stock-pool-stocks` | 自选股股票池列表与证券明细 |
218
+ | **Alternative** | `edb-search` | 行业指标搜索(按关键词匹配,返回 indicatorId 等元信息) |
219
+ | | `edb-data` | 行业指标时序数据(批量拉取,最多10个指标) |
215
220
  | **Raw** | `call` | 原始接口调用(可访问任意 endpoint) |
216
221
 
217
222
  ## 命令概览
@@ -223,6 +228,7 @@ cp -r gangtise-openapi ~/.hermes/skills/gangtise-openapi
223
228
  - `gangtise fundamental ...`
224
229
  - `gangtise ai ...`
225
230
  - `gangtise vault ...`
231
+ - `gangtise alternative ...`
226
232
  - `gangtise reference ...`
227
233
  - `gangtise raw call ...`
228
234
 
@@ -413,6 +419,14 @@ gangtise fundamental cash-flow-quarterly --security-code 600519.SH --fiscal-year
413
419
  gangtise fundamental top-holders --security-code 600519.SH --holder-type top10 --fiscal-year 2025 --format json
414
420
  # 前十大流通股东(按日期范围)
415
421
  gangtise fundamental top-holders --security-code 600519.SH --holder-type top10Float --start-date 2025-01-01 --end-date 2025-12-31 --period q3 --format json
422
+
423
+ # 港股三大报表(中国会计准则,--security-code 用港股代码)
424
+ gangtise fundamental income-statement-hk --security-code 09992.HK --fiscal-year 2025 --period annual --field netProfit --field basicEPS
425
+ gangtise fundamental income-statement-hk --security-code 09992.HK --fiscal-year 2023 --fiscal-year 2024 --fiscal-year 2025 --period annual --field netProfit
426
+ gangtise fundamental balance-sheet-hk --security-code 09992.HK --fiscal-year 2025 --period h1 --field totalCurrAssets --field totalNonCurrAssets --field totalCurrLiab --field totalNonCurrLiab
427
+ gangtise fundamental cash-flow-hk --security-code 09992.HK --fiscal-year 2025 --period annual --field netOpCashFlows --field netInvCashFlows --field netFinCashFlows
428
+ # 最新一期完整港股利润表
429
+ gangtise fundamental income-statement-hk --security-code 09992.HK --format json
416
430
  ```
417
431
 
418
432
  ### AI
@@ -431,8 +445,11 @@ gangtise ai hot-topic --start-date 2026-03-22 --end-date 2026-03-27 --category m
431
445
  # 不传 --category 默认查全部类型(早报+午报+盘中快报+晚报),--with-related-securities 和 --with-close-reading 默认开启,可用 --no-with-related-securities / --no-with-close-reading 关闭
432
446
  gangtise ai hot-topic --start-date 2026-04-15 --end-date 2026-04-17
433
447
  gangtise ai research-outline --security-code 600519.SH
434
- # 管理层讨论-财报
448
+ # 管理层讨论-财报(三个细分维度)
435
449
  gangtise ai management-discuss-announcement --report-date 2025-06-30 --security-code 000001.SZ --dimension businessOperation
450
+ gangtise ai management-discuss-announcement --report-date 2025-12-31 --security-code 000001.SZ --dimension financialPerformance
451
+ # 传入 all 返回完整管理层讨论内容(内容较长,谨慎使用)
452
+ gangtise ai management-discuss-announcement --report-date 2025-12-31 --security-code 000001.SZ --dimension all
436
453
  # 管理层讨论-业绩会
437
454
  gangtise ai management-discuss-earnings-call --report-date 2025-06-30 --security-code 000001.SZ --dimension financialPerformance
438
455
  # 观点PK(异步,返回 dataId)
@@ -466,6 +483,39 @@ gangtise vault my-conference-download --conference-id 43319 --content-type asr
466
483
  # 群消息:先按群名称查群ID,再按群ID查消息
467
484
  gangtise vault wechat-chatroom-list --room-name "AI学习群,投研分享群" --size 50
468
485
  gangtise vault wechat-message-list --keyword AI应用 --wechat-group-id ueKEGyhdjFGkjyebh --category text --category url --tag roadShow --tag meetingSummary --size 50
486
+ # 按证券代码过滤群消息
487
+ gangtise vault wechat-message-list --security 000001.SZ --security 300750.SZ --size 50
488
+
489
+ # 自选股股票池
490
+ gangtise vault stock-pool-list
491
+ # 查询指定股票池中的证券
492
+ gangtise vault stock-pool-stocks --pool-id 808477293
493
+ # 查询所有股票池中的全量证券(默认行为)
494
+ gangtise vault stock-pool-stocks
495
+ ```
496
+
497
+ ### Alternative(行业指标数据库 EDB)
498
+
499
+ ```bash
500
+ # Step 1:按关键词搜索指标,获取 indicatorId
501
+ gangtise alternative edb-search --keyword 空调 --limit 50 --format table
502
+ gangtise alternative edb-search --keyword "海尔销量"
503
+
504
+ # Step 2:按 indicatorId 拉取时间序列数据(最多10个指标)
505
+ gangtise alternative edb-data \
506
+ --indicator-id S14001618 \
507
+ --indicator-id S14001620 \
508
+ --start-date 2024-01-01 \
509
+ --end-date 2024-12-31 \
510
+ --format table
511
+
512
+ # 导出为 CSV
513
+ gangtise alternative edb-data \
514
+ --indicator-id S14001618 \
515
+ --start-date 2023-01-01 \
516
+ --end-date 2024-12-31 \
517
+ --format csv \
518
+ --output ./indicator.csv
469
519
  ```
470
520
 
471
521
  ### Raw
@@ -1,2 +1,2 @@
1
1
  // Auto-generated — DO NOT EDIT
2
- export const CLI_VERSION = "0.13.0";
2
+ export const CLI_VERSION = "0.13.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gangtise-openapi-cli",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "CLI for Gangtise OpenAPI",
5
5
  "license": "MIT",
6
6
  "repository": {