Skip to content
cccskills
FreePublished on GitHub

tuige-shortline-trading

基于退哥短线交易规则的A股场景化决策技能。Use when 用户要按交易场景查看短线规则、做选股、判断趋势回踩、涨停回调、连板接力、洗盘结束、卖出失效或仓位纪律。

The English summary is being prepared. Showing the original description.

See how to install

Files included (10)

  • SKILL.md4.4 KB
  • api-reference/exit-failure-rules.md2.0 KB
  • api-reference/glossary.md3.1 KB
  • api-reference/limit-up-pullback-setups.md2.2 KB
  • api-reference/market-regime.md2.7 KB
  • api-reference/position-discipline.md2.2 KB
  • api-reference/relay-setups.md2.3 KB
  • api-reference/stock-selection.md2.0 KB
  • api-reference/trend-setups.md2.0 KB
  • api-reference/washout-breakout-setups.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Tuige Shortline Trading

适用范围

这个 skill 用来把退哥体系中的短线规则整理成可复用的决策框架,重点回答 4 类问题:

  • 当前市场环境适合做什么
  • 哪些股票值得进入观察和候选池
  • 不同交易场景下的触发条件与失效条件
  • 仓位、纪律、退出规则如何统一约束

能力边界

  • 输出的是决策参考,不是收益承诺
  • 优先使用结构化规则,不直接复述口号
  • 不自动下单,不替代回测,不代替投顾
  • 遇到模糊概念时先回到 glossary.md

推荐使用顺序

  1. 先读 market-regime.md
  2. 再读 stock-selection.md
  3. 根据场景进入以下文档:
  4. 最后用 exit-failure-rules.md 和 position-discipline.md 复核
  5. 如需统一术语,查 glossary.md

场景地图

  • api-reference/market-regime.md
    • 先判断今天是否允许激进短线、仅允许回调确认,还是应该空仓
  • api-reference/stock-selection.md
    • 统一股票池构建、强势股筛选、回避规则
  • api-reference/trend-setups.md
    • 处理趋势延续、回踩均线、缩量整理后的再起
  • api-reference/limit-up-pullback-setups.md
    • 处理涨停后整理结构,例如三阴不破阳、揉搓线、缩倍量回调
  • api-reference/relay-setups.md
    • 处理一进二、二进三、2+2 这类高风险接力
  • api-reference/washout-breakout-setups.md
    • 处理黄金坑、假跌破、极度缩量后放量突破等洗盘末端确认
  • api-reference/exit-failure-rules.md
    • 统一止盈兑现、趋势失效、结构失败、风险离场
  • api-reference/position-discipline.md
    • 统一仓位等级、试错纪律、降频规则

标准输出模板

输出时统一包含以下结构:

  1. 当前市场环境
  2. 今日允许使用的场景模块
  3. 候选池分级
  4. 当前结构类型
  5. 触发条件
  6. 失效条件
  7. 卖出观察点
  8. 仓位建议
  9. 明确回避原因

单只标的建议使用以下字段组织:

  • 标的
  • 所属题材
  • 当前结构
  • 入场依据
  • trigger
  • invalidation
  • 卖出参考
  • risk
  • position_grade

使用约束

  • 所有结论尽量写成“条件 / 风险 / 失效”
  • 没有触发,不算买点
  • 市场环境是总开关,环境不支持时不强行升级结论
  • 同一只标的若同时命中多个场景,优先保留风险更低、定义更清晰的场景解释

工程化转换

当前目录已提供可执行脚本,采用统一的 daily_decisions / realtime_quotes / strategy_lab 结构:

  • scripts/daily_decisions.py
    • 主板流动性池扫描 + trend_pullback 信号
    • 输出两类买入参考:from_previous_day_close 与 from_last_close
    • 支持持仓文件卖出信号检查
    • 默认最大持仓上限 8(可通过 --max-holdings 下调)
  • scripts/realtime_quotes.py
    • 对指定代码批量拉取现价快照
  • scripts/strategy_lab/strategy_params.py
    • 参数与仓位上限配置
  • scripts/strategy_lab/strategies.py
    • 规则引擎核心(当前版本:趋势回踩 + RSI 区间 + 失效退出)

运行

SKILL_DIR="<本 skill 绝对路径>"
python3 "$SKILL_DIR/scripts/daily_decisions.py" --json

常用参数:

  • --top-n:股票池大小,默认 120
  • --max-holdings:最大持仓上限,默认 8
  • --max-buys:买入输出上限,默认 8(最终会再受 max-holdings 约束)
  • --holdings:持仓文件路径,一行一个代码
  • --roundtrip-cost-bps:成本过滤,默认 45
  • --entry-consensus-min:鲁棒一致性阈值,默认 0.67
  • --disable-robust-check:关闭鲁棒性检查(仅调试)

说明

  • 当前工程化版本是 tuige_shortline_v1,优先落地“可量化且可复测”的部分。
  • 题材语义、公告语义、盘口封单博弈等仍属于下一阶段增强项。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

查询A股行情、历史K线与复权、财务指标、公司新闻公告、概念及入选依据、行业分类与成分、解禁、回购、股东增减持、涨停炸板详情、龙虎榜席位、板块热力图、指数、宏观及A+H上市信息。用于股票数据查询、原始数据测试和数据源异常排查。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

A股模拟盘交易与回测技能。Use when 用户要启动模拟仓服务、创建多账户、下限价单/市价单、撤单、查询持仓资金、验证涨跌停成交逻辑或运行A股回测。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

A 股全市场高流动性池内按趋势回踩(trend_pullback)产出买入候选与持仓卖出信号;另有 realtime_quotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when 用户要选股、看实时报价、判断买卖信号或检查持仓是否触发离场条件。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

A 股主板流动性池内按趋势回踩(trend_pullback)产出买入候选与持仓卖出信号;另有 realtime_quotes 批量拉取现价快照。供下单前决策;不跑回测、不自动下单。Use when 用户要选股、看实时报价、判断买卖信号或检查持仓是否触发离场条件。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

A股“MACD底背离 + 零轴下二次金叉”实战分析与交易执行技能。用于把用户的盘感描述转成可执行的三档决策(上观察名单/可试错出手/必须放弃)、盘中检查单、入场与风控规则。适用于用户提到“二次金叉”“水下二次金叉”“底背离”“第一脚第二脚”“回踩验底”“MACD背离”“抄底修复”“想做但怕假信号”等场景。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

基于“均线定方向,MACD定节奏”的A股选股与交易计划技能。Use when 用户要求把均线与MACD结合做选股、筛票、盘前候选池、趋势跟随、回踩再上、金叉确认、顶背离减仓、或希望把技术判断沉淀成可执行规则与风控模板。

The English summary is being prepared. Showing the original description.

shouldnotappearcalm/a-share-skill249Updated Oct 11, 2026

See all skills by shouldnotappearcalm

Report a problem with this skill