股票解套分析助手

SKILL效率
效率 未标注权限 许可证不明确
安装这个技能

股票解套分析助手帮你算清楚「被套的股票还要涨多少才能回本」。输入股票名称、代码、持仓成本价与数量,工具自动抓取腾讯实时行情与近 120 个交易日历史 K 线,计算盈亏平衡所需的目标股价及对应涨幅百分比;并基于历史波动区间、均线(MA5/MA20/MA60)支撑阻力位、MA20 斜率与成交量趋势,给出透明可解释的解套概率评分与分级策略建议(补仓/持有/止损)。同时提供可直接打开使用的网页版(部署成链接)与可运行的 Python 版。数据来自腾讯财经、东方财富公开接口,无需密钥;网络异常时自动降级提示,绝不编造数据。适合被套后想看清回本路径的 A 股投资者。

一句话选型结论

按资料字段整理

股票解套分析助手是效率类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类效率 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_01bc9dc3/stock-break-even-analyzer
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

效率
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_01bc9dc3仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791642861
正文体量5.1 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
整理待办与日程

把零散任务收进清单,排出优先级。

批量处理重复任务

把固定动作做成模板,重复执行。

把流程写成清单

把口头流程整理成可复用的步骤。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在效率场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
股票解套分析助手当前 未标注权限 未标注 未标注 未标注 有
Nano PDF 文档 联网访问 ClawHub 市场 424.9 万 OpenClaw 有
自动更新程序 浏览器控制 ClawHub 市场 296.4 万 OpenClaw 有
Gemini 助手 联网访问 ClawHub 市场 254.7 万 OpenClaw 有
word DOCX 文档 联网访问 ClawHub 市场 239.6 万 OpenClaw 有
Excel XLSX 前端 联网访问 ClawHub 市场 227.0 万 OpenClaw 有

SKILL.md 全文

5.1 KB
模型实际读到的说明书原文,来自技能仓库

股票解套分析 (Stock Break-Even Analyzer)

Overview

Analyze one or more A-share holdings to answer two questions: (1) what price is needed to
break even, and how much must it rise; (2) how likely is that, given recent technicals.
Deliver either a self-contained web app (best for beginners — open link, fill cost, get report)
or a Python script (best for users who want code).

When to use

  • User mentions being "套牢 / 被套 / 回本 / 解套" or asks "还要涨多少才能回本".
  • User provides holdings as name + cost + quantity and wants a break-even target.
  • User asks for a reusable stock break-even / unstuck analysis tool.

Workflow

  1. Collect holdings. For each stock get: 名称, 6位代码, 市场(sh/sz), 持仓成本价, 持仓数量.
    If the user only gave names, ask for cost and quantity (required for break-even math).
  2. Choose deliverable by audience.
    - Non-technical user → build the web app (Step A). This is the default for beginners.
    - User explicitly wants code / a script → also provide the Python script (Step B).
  3. Run / deploy, then present the report (target price, required gain %, probability, strategy).
  4. Append disclaimer: "本报告仅供研究参考,不构成个人投资建议。"

Step A — Web app (preferred for beginners)

  • Copy assets/index.html to a fresh directory (e.g. ./web_app/).
  • Pre-fill the user's holdings into the DEFAULT_STOCKS array near the top of the <script>
    (fields: name, code, market, cost, qty, cur:""). Leave cur:"" so price auto-fetches.
  • Deploy that directory with workbuddy_cloudstudio_deploy (action: deploy, entry: index.html).
    Present the returned 分享链接 to the user. Tell them they just open the link, optionally
    edit holdings in the table, and click "开始分析".
  • Note: the page fetches data client-side via <script> tags (no backend, no CORS issues):
    realtime from 腾讯 qt.gtimg.cn, history K-line from 东方财富 JSONP. Works by double-clicking
    the local index.html too.

Step B — Python script

  • Copy scripts/stock_break_even_analyzer.py to the user's workspace.
  • Edit the STOCKS list at the top with the user's holdings.
  • Run with the managed Python:
    C:\Users\Administrator\.workbuddy\binaries\python\versions\3.13.12\python.exe stock_break_even_analyzer.py
  • The script prints a per-stock report to stdout.

Data sources & field mapping (do not re-derive)

  • Realtime (web): 腾讯 https://qt.gtimg.cn/q=<market><code> returns
    v_sh600172="1~名称~代码~当前~昨收~今开~...". Field indices: 1=名称,
    3=当前价, 4=昨收, 5=今开, 33=最高, 34=最低, 30=时间(YYYYMMDDHHMMSS).
  • Realtime (python): 新浪 https://hq.sinajs.cn/list=<market><code> returns 34 fields;
    date/time are at indices 30 and 31 (NOT the last two). Requires Referer: https://finance.sina.com.cn.
  • History K-line (both): 东方财富 JSONP
    https://push2his.eastmoney.com/api/qt/stock/kline/get?secid=<1|0>.<code>&klt=101&fqt=1&lmt=120&end=20500101&fields1=f1,f2,f3&fields2=f51,f52,f53,f54,f55,f56&cb=<callback>.
    secid prefix: sh→1, sz→0. klines entries: 日期,开,收,高,低,量.

Probability model (transparent, 0–100)

Four dimensions, summed and clamped:
- Distance (0–50): target vs historical window high. a = (1 - need%/headroom%)*50
when target ≤ window high; else decays. headroom% = (histHigh - current)/current*100.
- MA / trend (0–25): +15 if price above all of MA5/20/60; +8 if above some; +0 if below all.
Plus clamp(MA20_slope%, 0, 10).
- Volume (0–15): clamp((vol5/vol20 - 0.8)*15, 0, 15).
- Volatility (0–10): clamp((histHigh-histLow)/histLow% / 5, 0, 10).
Already-profitable (current ≥ target) → 100. Strategy thresholds: ≥60 hold/wait breakout,
40–60 watch + stop-loss, <40 hard / consider stop or averaging-down (caution).

Pitfalls

  • The agent's sandbox often blocks 东方财富 (push2his "Remote end closed"). This does NOT
    affect the deployed web page (runs in the user's real browser). If the Python script's K-line
    fetch fails in-sandbox, report it as [MISSING] and fall back to realtime-only; the user's
    browser/web version still works.
  • Do not invent prices. If a fetch fails, mark it [MISSING]; never fabricate.
  • 嘉林杰 is commonly a typo for 嘉麟杰 (002486.SZ) — confirm with the user if ambiguous.

Bundled resources

  • assets/index.html — self-contained web app (realtime + K-line + full report, no backend).
  • scripts/stock_break_even_analyzer.py — equivalent Python version with comments.

常见问题

5 问
答案由本站依据条目字段整理
股票解套分析助手怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_01bc9dc3/stock-break-even-analyzer。安装方式为未标注。装完刷新技能列表或重开客户端。

股票解套分析助手支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

股票解套分析助手权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

股票解套分析助手收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

股票解套分析助手用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。