简介
通过 Naver Finance API 获取 KRX 及海外股票实时行情,支持盘后 Nextrade 交易数据,适合投资者快速查询股价与汇率。
原始描述
Fetch text-based real-time stock prices (KRX, Overseas) using Naver Finance.
通过你的 Agent 添加
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: naver-stock description: Fetch text-based real-time stock prices (KRX, Overseas) using Naver Finance. metadata: {"clawdbot":{"emoji":"📈","os":["mac","linux","windows"],"requires":{"bins":["node"]}}}
Naver Stock
Fetch real-time stock prices for domestic (KRX) and overseas markets using Naver Finance.
Usage
Run the bundled script with a stock name or code.
node index.cjs "삼성전자"
node index.cjs "AAPL"
Output Format
Returns a JSON object with price details.
{
"name": "삼성전자",
"code": "005930",
"price": 160500,
"change": -200,
"changePercent": -0.12,
"nxtPrice": 160800,
"nxtChange": 100,
"nxtChangePercent": 0.06,
"currency": "KRW"
}
Field Descriptions
name: Stock name.code: Stock symbol/code.price: Current price in regular market.change: Price change in regular market.changePercent: Percentage change in regular market.nxtPrice: Current price in Nextrade (NXT) Alternative Trading System.nxtChange: Price change in Nextrade.nxtChangePercent: Percentage change in Nextrade.currency: Currency code (e.g., KRW, USD).
About Nextrade (NXT)
Nextrade is an Alternative Trading System (ATS) in Korea that offers extended trading hours.
- Pre-market: 08:00 ~ 08:50
- After-market: 15:30 ~ 20:00 (Can be traded until 8 PM)
- Note: Prices in Nextrade (
nxtPrice) may differ from the regular KRX market price, providing off-hours trading opportunities.
Examples
Domestic Stock
node index.cjs 005930
Overseas Stock
node index.cjs "Tesla"
Exchange Rate
node index.cjs "USD"
node index.cjs "엔"
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。