[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77W5FE811H2Y7GRK82PK8R1":3,"skill-same:01M77W5FE811H2Y7GRK82PK8R1":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77W5FE811H2Y7GRK82PK8R1","tencent-finance",null,"腾讯财经实时行情接口，查询A股、港股、美股、期货、外汇、ETF的实时行情数据。触发关键词：查股价、查行情、查指数、腾讯接口、股票报价、实时行情","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftencent-finance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tencent-finance\ndescription: 腾讯财经实时行情接口，查询A股、港股、美股、期货、外汇、ETF的实时行情数据。触发关键词：查股价、查行情、查指数、腾讯接口、股票报价、实时行情\n---\n\n# 腾讯财经行情接口（Tencent Finance API）\n\n## 接口信息\n\n**Base URL：** `https:\u002F\u002Fqt.gtimg.cn\u002Fq=代码`\n\n**特点：**\n- 毫秒级响应，无需注册，即插即用\n- 支持 A股、港股、美股、期货、外汇、ETF\n- 查询频率建议间隔 100ms 以上，避免封 IP\n\n---\n\n## 代码规则\n\n### A 股\n\n| 前缀 | 市场 | 示例 |\n|------|------|------|\n| `sh` | 上交所 | `sh000001`（上证指数）、`sh600519`（茅台） |\n| `sz` | 深交所 | `sz399001`（深证成指）、`sz000858`（五粮液） |\n\n### 港 股\n\n| 前缀 | 市场 | 示例 |\n|------|------|------|\n| `hk` | 港交所 | `hkHSI`（恒生指数）、`hkHSTECH`（恒生科技） |\n| `hk` | 港交所个股 | `hk00700`（腾讯）、`hk09988`（阿里） |\n\n### 美 股（指数）\n\n| 代码 | 名称 |\n|------|------|\n| `usNDX` | 纳斯达克 100 |\n| `usSPX` | 标普 500 |\n| `usDJI` | 道琼斯 |\n\n### 大宗商品\n\n| 代码 | 名称 |\n|------|------|\n| `hf_GC` | 黄金（COMEX） |\n| `hf_CL` | WTI 原油 |\n| `hf_SI` | 白银 |\n\n### 外汇\n\n| 代码 | 名称 |\n|------|------|\n| `fx_usr` | 美元\u002F人民币（USD\u002FCNY） |\n\n---\n\n## 数据字段说明\n\n返回字段以 `~` 分隔，关键字段索引：\n\n| 索引 | 含义 |\n|------|------|\n| `[3]` | 当前价格 |\n| `[4]` | 昨收价格 |\n| `[5]` | 今开价格 |\n| `[31]` | 涨跌额 |\n| `[32]` | 涨跌幅（%） |\n| `[33]` | 最高价 |\n| `[34]` | 最低价 |\n| `[36]` | 成交量（手） |\n| `[37]` | 成交额（万元） |\n| `[38]` | 换手率（%） |\n| `[39]` | 市盈率（PE） |\n| `[43]` | 振幅（%） |\n| `[44]` | 流通市值 |\n| `[45]` | 总市值 |\n\n---\n\n## 使用方式\n\n### 直接在脚本中调用\n\n```python\nimport requests\n\ndef get_quote(code):\n    url = f\"https:\u002F\u002Fqt.gtimg.cn\u002Fq={code}\"\n    resp = requests.get(url, timeout=10)\n    data = resp.text\n    # 解析 v_xxx=\"51~名称~代码~价格~...\"\n    parts = data.split('=\"')[1].strip().strip('\";')\n    fields = parts.split('~')\n    return {\n        \"name\": fields[1],\n        \"code\": fields[2],\n        \"price\": fields[3],\n        \"yesterday_close\": fields[4],\n        \"open\": fields[5],\n        \"change\": fields[31],\n        \"change_pct\": fields[32],\n        \"high\": fields[33],\n        \"low\": fields[34],\n        \"volume\": fields[36],\n        \"turnover\": fields[37],\n        \"turnover_rate\": fields[38],\n        \"pe\": fields[39],\n        \"amplitude\": fields[43],\n    }\n\n# 示例\nquote = get_quote(\"sh000001\")\nprint(f\"{quote['name']}: {quote['price']} ({quote['change_pct']}%)\")\n```\n\n### 多只股票同时查询\n\n```python\ndef get_quotes(codes):\n    # codes: list，如 [\"sh000001\", \"sz399001\", \"hkHSI\"]\n    url = \"https:\u002F\u002Fqt.gtimg.cn\u002Fq=\" + \",\".join(codes)\n    resp = requests.get(url, timeout=10)\n    results = []\n    for line in resp.text.strip().split('\\n'):\n        if '=\"v_' in line:\n            parts = line.split('=\"')[1].strip().strip('\";')\n            fields = parts.split('~')\n            results.append({\n                \"name\": fields[1],\n                \"code\": fields[2],\n                \"price\": fields[3],\n                \"change\": fields[31],\n                \"change_pct\": fields[32],\n                \"high\": fields[33],\n                \"low\": fields[34],\n            })\n    return results\n\n# 同时查询多只\nquotes = get_quotes([\"sh000001\", \"sz399001\", \"hkHSI\", \"hkHSTECH\", \"sh560860\"])\nfor q in quotes:\n    print(f\"{q['name']}: {q['price']} ({q['change_pct']}%)\")\n```\n\n---\n\n## 常用代码速查\n\n### A 股指数\n\n| 名称 | 代码 |\n|------|------|\n| 上证指数 | `sh000001` |\n| 深证成指 | `sz399001` |\n| 创业板指 | `sz399006` |\n| 沪深300 | `sh000300` |\n| 科创50 | `sh000688` |\n| 北证50 | `sz899050` |\n\n### A 股个股\n\n| 名称 | 代码 |\n|------|------|\n| 贵州茅台 | `sh600519` |\n| 宁德时代 | `sz300750` |\n| 比亚迪 | `sz002594` |\n| 招商银行 | `sh600036` |\n| 中国平安 | `sh601318` |\n| 工业有色ETF | `sh560860` |\n\n### 港股\n\n| 名称 | 代码 |\n|------|------|\n| 恒生指数 | `hkHSI` |\n| 恒生科技 | `hkHSTECH` |\n| 腾讯控股 | `hk00700` |\n| 阿里巴巴 | `hk09988` |\n| 美团 | `hk03690` |\n| 小米集团 | `hk01810` |\n| 京东集团 | `hk09618` |\n| 快手 | `hk01024` |\n\n### ETF\n\n| 名称 | 代码 |\n|------|------|\n| 工业有色ETF | `sh560860` |\n| 沪深300ETF | `sh510300` |\n| 恒生ETF | `sh159920` |\n\n---\n\n## 定时任务中的用法\n\n在 cron 任务中调用腾讯接口获取行情数据：\n\n```python\nimport requests\n\ncodes = [\"sh000001\", \"sz399001\", \"hkHSI\", \"hkHSTECH\"]\nurl = \"https:\u002F\u002Fqt.gtimg.cn\u002Fq=\" + \",\".join(codes)\nresp = requests.get(url, timeout=10)\n# 解析并输出\n```\n\n---\n\n## 注意事项\n\n1. **查询频率**：建议每次调用间隔 100ms 以上，高频调用可能被封 IP\n2. **数据用途**：仅供参考，不构成投资建议\n3. **接口稳定**：腾讯接口稳定性和速度均优于国内大多数免费 API\n4. **字段缺失**：部分股票（如港股一些股票）字段可能不全，返回空字符串时跳过即可\n5. **时区**：港股交易时间 9:30-16:00 香港时间（A 股 9:30-15:00 北京时间）\n","# 腾讯财经行情接口（Tencent Finance API）\n\n## 接口信息\n\n**Base URL：** `https:\u002F\u002Fqt.gtimg.cn\u002Fq=代码`\n\n**特点：**\n- 毫秒级响应，无需注册，即插即用\n- 支持 A股、港股、美股、期货、外汇、ETF\n- 查询频率建议间隔 100ms 以上，避免封 IP\n\n---\n\n## 代码规则\n\n### A 股\n\n| 前缀 | 市场 | 示例 |\n|------|------|------|\n| `sh` | 上交所 | `sh000001`（上证指数）、`sh600519`（茅台） |\n| `sz` | 深交所 | `sz399001`（深证成指）、`sz000858`（五粮液） |\n\n### 港 股\n\n| 前缀 | 市场 | 示例 |\n|------|------|------|\n| `hk` | 港交所 | `hkHSI`（恒生指数）、`hkHSTECH`（恒生科技） |\n| `hk` | 港交所个股 | `hk00700`（腾讯）、`hk09988`（阿里） |\n\n### 美 股（指数）\n\n| 代码 | 名称 |\n|------|------|\n| `usNDX` | 纳斯达克 100 |\n| `usSPX` | 标普 500 |\n| `usDJI` | 道琼斯 |\n\n### 大宗商品\n\n| 代码 | 名称 |\n|------|------|\n| `hf_GC` | 黄金（COMEX） |\n| `hf_CL` | WTI 原油 |\n| `hf_SI` | 白银 |\n\n### 外汇\n\n| 代码 | 名称 |\n|------|------|\n| `fx_usr` | 美元\u002F人民币（USD\u002FCNY） |\n\n---\n\n## 数据字段说明\n\n返回字段以 `~` 分隔，关键字段索引：\n\n| 索引 | 含义 |\n|------|------|\n| `[3]` | 当前价格 |\n| `[4]` | 昨收价格 |\n| `[5]` | 今开价格 |\n| `[31]` | 涨跌额 |\n| `[32]` | 涨跌幅（%） |\n| `[33]` | 最高价 |\n| `[34]` | 最低价 |\n| `[36]` | 成交量（手） |\n| `[37]` | 成交额（万元） |\n| `[38]` | 换手率（%） |\n| `[39]` | 市盈率（PE） |\n| `[43]` | 振幅（%） |\n| `[44]` | 流通市值 |\n| `[45]` | 总市值 |\n\n---\n\n## 使用方式\n\n### 直接在脚本中调用\n\n```python\nimport requests\n\ndef get_quote(code):\n    url = f\"https:\u002F\u002Fqt.gtimg.cn\u002Fq={code}\"\n    resp = requests.get(url, timeout=10)\n    data = resp.text\n    # 解析 v_xxx=\"51~名称~代码~价格~...\"\n    parts = data.split('=\"')[1].strip().strip('\";')\n    fields = parts.split('~')\n    return {\n        \"name\": fields[1],\n        \"code\": fields[2],\n        \"price\": fields[3],\n        \"yesterday_close\": fields[4],\n        \"open\": fields[5],\n        \"change\": fields[31],\n        \"change_pct\": fields[32],\n        \"high\": fields[33],\n        \"low\": fields[34],\n        \"volume\": fields[36],\n        \"turnover\": fields[37],\n        \"turnover_rate\": fields[38],\n        \"pe\": fields[39],\n        \"amplitude\": fields[43],\n    }\n\n# 示例\nquote = get_quote(\"sh000001\")\nprint(f\"{quote['name']}: {quote['price']} ({quote['change_pct']}%)\")\n```\n\n### 多只股票同时查询\n\n```python\ndef get_quotes(codes):\n    # codes: list，如 [\"sh000001\", \"sz399001\", \"hkHSI\"]\n    url = \"https:\u002F\u002Fqt.gtimg.cn\u002Fq=\" + \",\".join(codes)\n    resp = requests.get(url, timeout=10)\n    results = []\n    for line in resp.text.strip().split('\\n'):\n        if '=\"v_' in line:\n            parts = line.split('=\"')[1].strip().strip('\";')\n            fields = parts.split('~')\n            results.append({\n                \"name\": fields[1],\n                \"code\": fields[2],\n                \"price\": fields[3],\n                \"change\": fields[31],\n                \"change_pct\": fields[32],\n                \"high\": fields[33],\n                \"low\": fields[34],\n            })\n    return results\n\n# 同时查询多只\nquotes = get_quotes([\"sh000001\", \"sz399001\", \"hkHSI\", \"hkHSTECH\", \"sh560860\"])\nfor q in quotes:\n    print(f\"{q['name']}: {q['price']} ({q['change_pct']}%)\")\n```\n\n---\n\n## 常用代码速查\n\n### A 股指数\n\n| 名称 | 代码 |\n|------|------|\n| 上证指数 | `sh000001` |\n| 深证成指 | `sz399001` |\n| 创业板指 | `sz399006` |\n| 沪深300 | `sh000300` |\n| 科创50 | `sh000688` |\n| 北证50 | `sz899050` |\n\n### A 股个股\n\n| 名称 | 代码 |\n|------|------|\n| 贵州茅台 | `sh600519` |\n| 宁德时代 | `sz300750` |\n| 比亚迪 | `sz002594` |\n| 招商银行 | `sh600036` |\n| 中国平安 | `sh601318` |\n| 工业有色ETF | `sh560860` |\n\n### 港股\n\n| 名称 | 代码 |\n|------|------|\n| 恒生指数 | `hkHSI` |\n| 恒生科技 | `hkHSTECH` |\n| 腾讯控股 | `hk00700` |\n| 阿里巴巴 | `hk09988` |\n| 美团 | `hk03690` |\n| 小米集团 | `hk01810` |\n| 京东集团 | `hk09618` |\n| 快手 | `hk01024` |\n\n### ETF\n\n| 名称 | 代码 |\n|------|------|\n| 工业有色ETF | `sh560860` |\n| 沪深300ETF | `sh510300` |\n| 恒生ETF | `sh159920` |\n\n---\n\n## 定时任务中的用法\n\n在 cron 任务中调用腾讯接口获取行情数据：\n\n```python\nimport requests\n\ncodes = [\"sh000001\", \"sz399001\", \"hkHSI\", \"hkHSTECH\"]\nurl = \"https:\u002F\u002Fqt.gtimg.cn\u002Fq=\" + \",\".join(codes)\nresp = requests.get(url, timeout=10)\n# 解析并输出\n```\n\n---\n\n## 注意事项\n\n1. **查询频率**：建议每次调用间隔 100ms 以上，高频调用可能被封 IP\n2. **数据用途**：仅供参考，不构成投资建议\n3. **接口稳定**：腾讯接口稳定性和速度均优于国内大多数免费 API\n4. **字段缺失**：部分股票（如港股一些股票）字段可能不全，返回空字符串时跳过即可\n5. **时区**：港股交易时间 9:30-16:00 香港时间（A 股 9:30-15:00 北京时间）\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftencent-finance",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tencent-finance",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tencent-finance",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tencent-finance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftencent-finance\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]