技能 taiwan-stock
📦

taiwan-stock

内容修订 r1 安全 ⚙️ 外部命令🌐 网络访问📁 文件系统访问

Check Taiwan Stock Closing Prices

Taiwan market data uses different endpoints, date formats, and update schedules. This skill guides closing-price queries and percentage rankings using public TWSE and TPEX APIs.

支持: Claude Codex Code(CC)
🥉 77 青铜

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "taiwan-stock" from https://skillstore.io/skills/tahodev-taiwan-stock.md and its manifest at https://skillstore.io/api/skills/tahodev-taiwan-stock/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

Agent 可读资源

当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。

测试它

正在使用“taiwan-stock”。 Explain how you calculate the daily percentage gain.

预期结果:

Illustrative calculation, not a live quote: close 110, change +10, previous close 100, daily gain 10%. Invalid previous closes are excluded.

正在使用“taiwan-stock”。 Convert the API trading date 1150911.

预期结果:

Trading date: 2026-09-11. ROC year 115 plus 1911 gives Gregorian year 2026.

正在使用“taiwan-stock”。 The index request returns no matching data for a weekend. What should the report say?

预期结果:

No matching trading data was returned for the requested date. Check the preceding trading day and label any result with its actual trading date.

安全审计

安全
v1 • 2026/10/13 打开版本化报告

Thirty-three alerts are false positives involving Markdown backticks, readable multilingual text, public HTTPS endpoints, and JSON reads. Four download commands use predictable shared temporary paths, creating conditional file collision and symlink overwrite risks. No evidence found of credential theft, malicious payload execution, or prompt injection.

1
已扫描文件
83
分析行数
4
复核项
0
已忽略误报
能力复核项 (4)

这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。

中
Temp directory access
curl -sm 30 'https://openapi.twse.com.tw/v1/exchangeReport/STOCK_DAY_ALL' -o /tmp/twse.json
curl writes to predictable /tmp/twse.json without exclusive creation. A pre-existing writable symlink can redirect the write, and concurrent runs can overwrite data.
中
Temp directory access
curl -sm 30 'https://www.tpex.org.tw/openapi/v1/tpex_mainboard_daily_close_quotes' -o /tmp/tpex.json
curl writes to predictable /tmp/tpex.json without exclusive creation. A pre-existing writable symlink can redirect the write, and concurrent runs can overwrite data.
中
Temp directory access
curl -sm 30 'https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=json&date=20260901&stockNo=23
curl writes to predictable /tmp/stock.json without exclusive creation. A pre-existing writable symlink can redirect the write, and simultaneous stock queries share one file.
中
Temp directory access
curl -sm 30 'https://www.twse.com.tw/exchangeReport/MI_INDEX?response=json&date=20260911&type=ALLBUT
curl writes to predictable /tmp/mi.json without exclusive creation. A pre-existing writable symlink can redirect the write, and concurrent date queries can overwrite data.
审计者: codex
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

https://skillstore.io/skills/tahodev-taiwan-stock/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/tahodev-taiwan-stock/security.svg)](https://skillstore.io/skills/tahodev-taiwan-stock?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/tahodev-taiwan-stock?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/tahodev-taiwan-stock/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/tahodev-taiwan-stock.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学术引用 (APA · BibTeX · CFF)

APA 引用

tahodev. (2026). taiwan-stock security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/tahodev-taiwan-stock/audits/1

BibTeX 引用

@techreport{tahodev-tahodev-taiwan-stock-2026, author = {tahodev}, title = {taiwan-stock security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/tahodev-taiwan-stock/audits/1}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "taiwan-stock security audit report (audit version 1)" version: "unspecified" type: report authors: - name: "tahodev" date-released: "2026-10-13" url: "https://skillstore.io/skills/tahodev-taiwan-stock/audits/1" identifiers: - type: other value: "skillstore:tahodev-taiwan-stock:audit:1" description: "Skillstore immutable audit report identifier"

Skillstore 评分

评分依据 证据置信度: 中
55
架构
85
可维护性
87
内容
65
社区
83
规范符合性

你能构建什么

Review a Personal Watchlist

Check closing prices and daily changes for selected Taiwan stocks while confirming each response's trading date.

Prepare a Market Recap

Collect TWSE index levels and TPEX closing quotes for a dated market summary.

Compare Monthly Trading Records

Retrieve one listed stock's daily records for a chosen month and compare closing prices and trading activity.

试试这些提示

Check One Closing Price
Show the latest available closing price, daily change, and trading volume for TWSE stock 2330. Include the trading date and source.
Compare Two Markets
Check the latest available closing quotes for TWSE stock 2330 and TPEX stock 6488. Report each trading date and any date mismatch.
Review Monthly Records
Retrieve TWSE stock 2330's daily records for September 2026. Summarize closing prices and trading volumes, and convert ROC dates to Gregorian dates.
Rank Gains With Validation
Rank the latest available TWSE top ten percentage gainers. Exclude invalid prices and nonpositive previous closes. Include the trading date and explain feed delays.

最佳实践

  • Include the source and actual trading date in every result, especially when endpoints report different dates.
  • Validate JSON responses and convert numeric strings before calculations; exclude missing prices and invalid previous closes.
  • Use private temporary storage, update example dates, and report source failures without inventing values.

避免

  • Treating daily closing statistics as live intraday quotes or guaranteed current prices.
  • Ranking percentage gains by absolute price change or calculating with invalid previous closes.
  • Reusing stale files after failed requests or running fixed temporary-file examples with elevated privileges.

常见问题

Do I need an API key or login?
No. The documented TWSE and TPEX endpoints provide public data without API keys or login.
Does this skill provide real-time prices?
No. It uses daily closing statistics and does not provide live intraday quotes.
Which tools are required?
Use Claude, Codex, or Claude Code with network and shell access. The examples require curl and jq.
Can I request a different month?
Yes. Set STOCK_DAY's date parameter to a day in the requested month and stockNo to the listed stock's identifier.
Why can different endpoints show different dates?
The skill documents delays in STOCK_DAY_ALL compared with other endpoints. Check returned dates rather than assuming every source is current.
What happens when data is unavailable?
For non-trading days, check the preceding trading day. For blocked or invalid responses, retry the documented alternative host and report persistent failures.

开发者详情

作者

tahodev

许可证

MIT

Skillstore 修订

r1

版本提示

作者未声明版本。

引用

2aab20a3878daa05021884e089a7dd7739e08581

维护新鲜度

2026/10/13

使用量

0 次下载 · 0 次浏览

文件结构

📄 SKILL.md

tahodev 的更多技能

查看全部
查看全部