gangtise-openapi-cli 0.27.0 → 0.28.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.
- package/README.md +70 -18
- package/dist/src/cli.js +32 -29
- package/dist/src/core/args.js +135 -19
- package/dist/src/core/asyncContent.js +32 -5
- package/dist/src/core/client.js +19 -10
- package/dist/src/core/errors.js +116 -18
- package/dist/src/core/indicatorMatrix.js +5 -1
- package/dist/src/core/transport.js +15 -0
- package/dist/src/version.js +1 -1
- package/gangtise-openapi/SKILL.md +77 -34
- package/gangtise-openapi/references/commands/ai.md +4 -4
- package/gangtise-openapi/references/commands/fundamental.md +1 -1
- package/gangtise-openapi/references/commands/indicator.md +1 -1
- package/gangtise-openapi/references/commands/insight.md +1 -0
- package/gangtise-openapi/references/commands/quote.md +1 -1
- package/gangtise-openapi/references/examples.md +1 -1
- package/package.json +1 -1
|
@@ -87,7 +87,7 @@ gangtise quote index-day-kline [--security <code>] [--start-date <YYYY-MM-DD>] [
|
|
|
87
87
|
gangtise quote minute-kline --security <code> [--start-time <datetime>] [--end-time <datetime>] [--limit <n>] [--field <name>]
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
- 仅支持 A 股,**必须传 `--security`**(否则返回
|
|
90
|
+
- 仅支持 A 股,**必须传 `--security`**(否则返回 `100003`,msg 为「securityCode不可为空」;2026-07-20 实测)
|
|
91
91
|
- `--start-time` / `--end-time`:`yyyy-MM-dd HH:mm:ss`(兼容 `yyyy-MM-dd` 自动补全)
|
|
92
92
|
- `--limit` 默认 6000,上限 10000
|
|
93
93
|
- 常用字段:`securityCode` `tradeTime` `open` `high` `low` `close` `change` `pctChange` `volume` `amount`
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
gangtise ai earnings-review-check --data-id xxx --format json
|
|
183
183
|
- 若 {status: "pending"} → 再等再 check(最多 3 次)
|
|
184
184
|
- 若 {date, content} → 取 content 呈现
|
|
185
|
-
- 若 410111
|
|
185
|
+
- 若 410111(新码 140002)→ 终态失败,**不要重提同一任务**(会再扣 50 积分且结果相同);改参数后再提交,或直接告知用户该期数据暂不可用
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
## 例 13:题材画像 + 成分股(先查 ID 再拉两接口)
|