跳到正文
cccskills
免费在 GitHub 公开

股票分析

提供获取用户自选分组(LongPort)、股票市场数据(LongPort + AkShare)、技术指标计算(ta-lib)的技能。分析数并与用户研究交易策略,形成买卖点建议,并可做回测、寻优与报告输出。

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md1.9 KB
  • pyproject.toml286 B
  • references/data_sources.md617 B
  • references/indicators.md1.8 KB
  • references/scripts_guide.md5.6 KB
  • scripts/longport_candlesticks.py4.1 KB
  • scripts/longport_groups.py6.1 KB
  • scripts/talib_calculator.py16.8 KB
  • uv.lock294.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

简介

何时触发

当用户提出下列任意请求时,加载本 Skill:

  • “调用 LongPort 分组接口拿到一批股票,补齐市场数据并做分析”
  • "对分组内所有标的计算技术指标,生成买卖点建议"

能力概览

  • 数据采集与分组:
    • LongPort 分组接口获取标的列表
    • 行情数据:优先 LongPort,缺失时回退 AkShare;支持前复权与时间对齐
  • 指标计算:
    • 使用 TA-Lib,完整指标套件(EMA/MACD/RSI/ATR/OBV/BBANDS)
  • 信号生成:
    • 规则/阈值/指标组合生成买卖点建议(含打分)

资源导航(何时加载)

  • references/data_sources.md — LongPort + AkShare
  • references/indicators.md — 指标使用技介绍
  • scripts/
    • longport_groups.py — 自选分组管理(CLI:list/create/update/get-symbols/delete)
    • longport_candlesticks.py — K 线数据获取(CLI:按周期/数量/输出路径查询)
    • talib_calculator.py — 技术指标计算(支持单指标或 compute_full_suite)
  • assets/(可选)— 报告模板或 Notebook,如需生成报告/演示可补充

工作流示例(触发句)

  • “用 LongPort 拿到分组成份,缺失的用 AkShare 补齐,合并到统一行情表。”
  • "对分组内所有标的计算技术指标,生成买卖点建议列表。"

注意事项与最佳实践

  • 数据一致性:LongPort/AkShare需统一时区、使用前复权;缺失值要先补齐再算指标
  • 指标健壮性:TA-Lib 初期会产生 NaN,计算信号前先截取有效区间或前向填充
  • 凭证安全:LongPort/AkShare 请使用本地 .env 或加密文件,避免提交到仓库

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Comprehensive China A-share stock analysis covering fundamental analysis, technical analysis, policy impact assessment, and market-specific features (T+1 trading, price limits, northbound capital flow). Use when user asks about A股分析, Chinese mainland stocks, Shanghai/Shenzhen listed stocks, or needs analysis considering China market characteristics.

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria. Support multiple screening strategies including value investing, growth investing, momentum trading, and dividend hunting. Use when user wants to find stocks meeting specific criteria like "低PE高ROE股票", "北向资金加仓股", "突破年线的股票".

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

Generate high-converting ad copy for Google Ads, Meta (Facebook/Instagram), LinkedIn, and TikTok. Creates multiple variations with A/B testing in mind. Includes headlines, descriptions, CTAs, and platform-specific formats. Use when creating ads, generating ad variations, or A/B testing ad copy.

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

Add new skills to an existing workflow and update all related documentation. Use when user wants to add skills from GitHub URLs to a workflow (e.g., "add this skill to the workflow", "为工作流添加技能"). Triggers on adding skills to workflows, updating workflow documentation after skill additions.

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

agile

免费

Agile product management, Scrum practices, and team collaboration for iterative product development.

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate user stories, manage sprint backlog, and facilitate daily standups to maximize team productivity and deliver value incrementally.

中文简介正在准备中。当前显示原文说明。

nicepkg/ai-workflow2882026年1月20日 更新

查看 nicepkg 的全部技能

报告此技能的问题