com um clique
a-shares-master
Analyze A-share trades with latest trusted online data.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Analyze A-share trades with latest trusted online data.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | a-shares-master |
| description | Analyze A-share trades with latest trusted online data. |
| version | 2.1.0 |
| author | tinylion1024 |
| license | MIT |
| platforms | ["linux","macos"] |
| homepage | https://github.com/tinylion1024/a-share-profit-helper |
| user-invocable | true |
| tags | ["finance","stocks","a-share","trading"] |
| category | research |
| metadata | {"openclaw":{"emoji":"📈","homepage":"https://github.com/tinylion1024/a-share-profit-helper","skillKey":"a-shares-master","os":["linux","macos"],"requires":{"bins":["python3"]},"envVars":[{"name":"A_SHARE_SKILL_OFFLINE_MODE","required":false,"description":"Force fixture mode only for tests or incident fallback."},{"name":"A_SHARE_SKILL_DATA_PATH","required":false,"description":"Path to fixture JSON with market and stock data."},{"name":"A_SHARE_SKILL_LIVE_SOURCE","required":false,"description":"Current trusted upstream, default is tencent."},{"name":"A_SHARE_SKILL_WATCHLIST","required":false,"description":"Comma-separated online watchlist for live stock picking."},{"name":"A_SHARE_SKILL_TIMEOUT_SECONDS","required":false,"description":"HTTP timeout for live upstream requests."},{"name":"IWENCAI_BASE_URL","required":false,"description":"Override iwencai API base URL for semantic search."},{"name":"IWENCAI_API_KEY","required":false,"description":"Enable live iwencai semantic and structured queries."}]},"hermes":{"category":"research","tags":["finance","stocks","a-share","trading"],"related_skills":["browser","spreadsheets"],"config":{"offline_mode":"A_SHARE_SKILL_OFFLINE_MODE","sample_data_path":"A_SHARE_SKILL_DATA_PATH","live_source":"A_SHARE_SKILL_LIVE_SOURCE","watchlist":"A_SHARE_SKILL_WATCHLIST","iwencai_api_key":"IWENCAI_API_KEY"}}} |
This skill uses the latest trusted online A-share data by default, then converts it into 诊股 / 选股 / 风控 / 盘前盘后复盘 / 市场周期判断 / 方法论执行手册 / 新闻 / 公告 / 资金流 / 行业轮动 / 热点强势股 / 淘股吧热点 / 淘股吧舆情 / 淘股吧个股情绪 / 淘股吧大V观点 / 概念板块 / 研报 / 龙虎榜 / 融资融券 / 大宗交易 / 股东户数 / 分红 / 解禁 / 北向资金 / 个股信息 / 批量实时行情 / K线 / 五档盘口 / 逐笔成交 / 季报快照 / F10 公司资料 / 财报三表 / 一致预期 / 估值 / 批量对比 / 主题研报批量检索 / 快速调研 / iwencai 检索 output. Local fixtures remain available only for tests or controlled fallback.
The six flagship workflows are now market-cycle, leaders, diagnose, playbook, quick-research, and theme-research. They are the preferred external entrypoints. valuation, reports, fund-flow, taoguba-*, and the rest remain available as supporting tools behind those flagship workflows. self-check also reports dependency state, credential state, capability checks, flagship workflows, and health summary.
terminal with a single, stable entrypoint that works in both OpenClaw and Hermes-style environments.{baseDir} or the repository root.quarterly-snapshot and f10 use optional mootdx; install it with pip install .[mootdx].A_SHARE_SKILL_OFFLINE_MODE=true.Prefer the unified entrypoint:
cd {baseDir}
pip install .
a-shares-skill self-check
a-shares-skill valuation --code 300750
# Repository mode
python3 scripts/run_skill.py self-check
python3 scripts/run_skill.py flagship
python3 scripts/run_skill.py risk --code 300750
python3 scripts/run_skill.py diagnose --code 300750 --date 2026-05-28
python3 scripts/run_skill.py pick --filters basic,tech,catalyst
python3 scripts/run_skill.py market-cycle --date 2026-05-28
python3 scripts/run_skill.py leaders --date 2026-05-28
python3 scripts/run_skill.py pre-market --date 2026-05-28
python3 scripts/run_skill.py post-market --date 2026-05-28
python3 scripts/run_skill.py plan --code 300750 --date 2026-05-28
python3 scripts/run_skill.py playbook --code 300750 --date 2026-05-28
python3 scripts/run_skill.py review-trade --code 300750 --outcome win --return-pct 8.5 --holding-days 3 --theme 储能
python3 scripts/run_skill.py weekly-review --limit 10
python3 scripts/run_skill.py memory-feedback --limit 10
python3 scripts/run_skill.py news --code 300750 --page-size 3
python3 scripts/run_skill.py telegraph --page-size 5
python3 scripts/run_skill.py global-news --page-size 5
python3 scripts/run_skill.py announcements --code 300750 --page-size 3
python3 scripts/run_skill.py fund-flow --code 300750 --period minute
python3 scripts/run_skill.py sectors --top 5
python3 scripts/run_skill.py hot-stocks --page-size 5
python3 scripts/run_skill.py taoguba-hot --page-size 5
python3 scripts/run_skill.py taoguba-sentiment --page-size 10
python3 scripts/run_skill.py taoguba-stock --code 300750 --page-size 10
python3 scripts/run_skill.py taoguba-vip --code 300750 --page-size 5
python3 scripts/run_skill.py concept-blocks --code 300750
python3 scripts/run_skill.py reports --code 300750 --page-size 3
python3 scripts/run_skill.py dragon-tiger --code 002428 --date 2026-05-28
python3 scripts/run_skill.py daily-dragon-tiger --date 2026-05-28 --min-net-buy 5000
python3 scripts/run_skill.py margin --code 300750 --page-size 3
python3 scripts/run_skill.py block-trades --code 300750 --page-size 3
python3 scripts/run_skill.py holders --code 300750 --page-size 3
python3 scripts/run_skill.py dividends --code 300750 --page-size 3
python3 scripts/run_skill.py lockup --code 002428 --date 2026-05-28 --forward-days 90
python3 scripts/run_skill.py northbound --history-days 5
python3 scripts/run_skill.py stock-info --code 300750
python3 scripts/run_skill.py quotes --codes 300750,sh000300,510300 --kind auto
python3 scripts/run_skill.py valuation --code 300750
python3 scripts/run_skill.py compare --codes 300750,002594
python3 scripts/run_skill.py theme-research --queries "人形机器人产业链深度 2026,人形机器人减速器 丝杠" --channel report --size 5 --supplement-per-stock 2
python3 scripts/run_skill.py quick-research --code 300750 --date 2026-05-29
python3 scripts/run_skill.py kline --code 300750 --frequency 4 --limit 5
python3 scripts/run_skill.py order-book --code 300750
python3 scripts/run_skill.py transactions --code 300750 --start 0 --limit 5
python3 scripts/run_skill.py quarterly-snapshot --code 300750
python3 scripts/run_skill.py f10 --code 300750 --category 最新提示
python3 scripts/run_skill.py finance --code 300750 --report-type lrb --page-size 1
python3 scripts/run_skill.py consensus-eps --code 300750
python3 scripts/run_skill.py iwencai-search --query "人形机器人 行星滚柱丝杠 2026" --channel report --size 3
For machine-readable output:
python3 scripts/run_skill.py --format json risk --code 300750
terminal
Run all commands in this skill through the terminal tool or a shell-capable agent step.scripts/run_skill.py
Single agent-friendly entrypoint.a-shares-skill
Installed console script for non-repo usage.python3 -m src.main
Module entrypoint that mirrors the installed console script.src/skill.py
Unified facade used by all scripts.src/providers/offline.py
Fixture provider kept for tests and incident fallback only.src/providers/live.py
Trusted live provider using Tencent finance plus Eastmoney, THS, mootdx, CNInfo, and CLS endpoints.src/core/
Analysis, rating, risk, and workflow logic.scripts/run_tests.sh
Runs pytest when available, otherwise falls back to unittest.宁德时代能买吗, 比亚迪今天怎么看, or 查一下贵州茅台的 F10, pass the short name directly and let the skill resolve it to a stock code.Examples:
今天市场情绪怎么样,适合进攻还是防守?
Run market-cycle.今天主线和龙头是谁?
Run leaders.宁德时代能买吗?给我买卖建议。
Run diagnose, and use playbook if the user also wants entry/add/reduce/exit rules.帮我看一下比亚迪风险大不大。
Run risk.淘股吧今天最热在聊什么?
Run taoguba-sentiment, and use taoguba-hot if the user wants the underlying posts.宁德时代在淘股吧的情绪怎么样,有没有大V观点?
Run taoguba-stock, and use taoguba-vip if the user wants more VIP posts.今天有哪些值得看的票?
Run pick, optionally followed by hot-stocks or sectors when the user asks for why they are strong.查一下宁德时代最近公告、资金流和研报。
Run announcements, fund-flow, and reports.机器人主题最近有什么研报和标的?
Run theme-research.帮我快速研究一下寒武纪。
Run quick-research.帮我复盘最近交易,看看我适合什么 setup。
Run weekly-review, then memory-feedback.When the user asks 谁更有机会 / 帮我选股 / 高盈亏比 / 舒服买点 for a holding period around 2 to 10 trading days, rank candidates with this priority:
Use these labels explicitly when helpful:
趋势票
Main-line trend, suitable for pullback or confirmation entries.性价比票
Valuation is better, but timing depends on catalyst rotation or trend repair.修复观察票
Logic exists, but structure is still weak; do not rank it ahead of cleaner leaders.If the user asks for a comfortable buy point, default to:
python3 scripts/run_skill.py self-check before using live scenarios.market-cycle, leaders, diagnose, playbook, quick-research, theme-research.risk.diagnose.pick.market-cycle.leaders.playbook.plan.news, telegraph, global-news, or announcements.fund-flow or sectors.hot-stocks.taoguba-hot, taoguba-sentiment, taoguba-stock, or taoguba-vip.concept-blocks.reports.dragon-tiger or daily-dragon-tiger.margin, holders, block-trades, dividends, or lockup.quotes.valuation or compare.theme-research.quick-research.review-trade.weekly-review.memory-feedback.kline, order-book, or transactions.northbound, stock-info, quarterly-snapshot, f10, finance, or consensus-eps.iwencai-search or iwencai-query.--format json when another agent or tool will parse the output.run_skill.py.references/ to change behavior. The executable behavior lives in src/ and scripts/.python3 scripts/run_skill.py self-check.python3 -m src.main --format json self-check.sh scripts/run_tests.sh.pytest is installed, the same tests should also pass via python3 -m pytest -q tests.