用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aifinlab/FinClaw --skill akshare-trend-judgment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | akshare-trend-judgment |
| description | 用于基于AkShare数据的趋势判断场景。适用于金融工作中的基础任务单元。 |
本 Skill 使用 AkShare 提供的 A 股公开市场数据接口,核心包括:
stock_zh_a_hist:获取沪深京 A 股历史日频行情,用于计算均线、收益率、波动率、回撤与突破信号。stock_zh_a_spot_em:获取 A 股实时/最新股票列表与名称,用于证券代码校验和名称补全。AkShare 官方文档说明,stock_zh_a_hist 可按股票代码、周期、日期区间与复权方式获取沪深京 A 股历史日频数据;stock_zh_a_spot_em 可获取 A 股市场行情快照与股票代码信息。数据源来自公开可访问的网站与行情页面,经 AkShare 封装后供 Python 调用。
参考:AkShare 股票数据文档与数据说明。
本 Skill 面向 单只 A 股证券 做规则化趋势判断,输出结构化结果,适合研究、投研辅助、风控预警和策略原型验证。
symbol: 股票代码name: 股票名称as_of: 截止日期trend_label: 趋势标签confidence: 置信度close, ma5, ma10, ma20, ma60ret_5d, ret_20d, ret_60dannualized_volatilitymax_drawdown_60dsignalssummarypip install akshare pandas numpy
python script/a_share_trend_judgment.py --symbol 600519 --start-date 20240101 --end-date 20260301
python script/a_share_trend_judgment.py \
--symbol 000001 \
--start-date 20240101 \
--end-date 20260301 \
--output result.json
{
"symbol": "600519",
"name": "贵州茅台",
"as_of": "2026-03-01",
"trend_label": "震荡偏强",
"confidence": 0.69,
"close": 1688.0,
"ma5": 1679.2,
"ma10": 1662.8,
"ma20": 1645.6,
"ma60": 1602.3,
"ret_5d": 0.0132,
"ret_20d": 0.0528,
"ret_60d": 0.1085,
"annualized_volatility": 0.2214,
"max_drawdown_60d":
qfq。MIT License
Copyright (c) 2026
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.