momentum-reversal

momentum-reversal is a skill for Claude Code, Codex from FeiCoder/Skill-Factory. It costs 51 tokens per session (927 once invoked), scanned A, original, MIT.

A guide to momentum and reversal investing strategies, which choose stocks based on how their prices behaved in the past. Momentum follows recent winners, while reversal looks for previously weak stocks that may recover; A-shares are stocks listed in mainland China.

In plain words
What is it for?
Use it to study or design stock-selection strategies, choose observation and holding periods, group stocks, calculate portfolio returns, and compare long-only and long-short approaches.
Why use it?
It explains the ideas, assumptions, time periods, and risks behind these strategies so they are not treated as simple buy or sell rules. It also highlights concerns such as trading costs, liquidity, and changing market conditions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to study or design stock-selection strategies, choose observation and holding periods, group stocks, calculate portfolio returns, and compare long-only and long-short approaches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/feicoder/skill-factory/momentum-reversal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FeiCoder/Skill-Factory --skill momentum-reversal
Clone the repo
git clone --depth 1 https://github.com/FeiCoder/Skill-Factory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for momentum-reversal

README.md
[![agentmods](https://agentmods.dev/badge/skills/feicoder/skill-factory/momentum-reversal/github.svg)](https://agentmods.dev/skills/feicoder/skill-factory/momentum-reversal)
Your own site
<a href="https://agentmods.dev/skills/feicoder/skill-factory/momentum-reversal"><img src="https://agentmods.dev/badge/skills/feicoder/skill-factory/momentum-reversal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for momentum-reversal

Your own site · 80×15
<a href="https://agentmods.dev/skills/feicoder/skill-factory/momentum-reversal"><img src="https://agentmods.dev/badge/skills/feicoder/skill-factory/momentum-reversal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00927
Opus 5 $0.00026 $0.00464
Sonnet 5 $0.00010 $0.00185
Haiku 4.5 $0.00005 $0.00093

Measured 10d ago against content hash ce9528e22395, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

momentum-reversal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

produced_skill/stock-selection/momentum-reversal/SKILL.md · 144 lines

What it actually says

动量反转策略

基本概念

动量效应

过去一段时间强的股票,在未来一段时间继续保持强势。

反转效应

过去一段时间弱的股票,在未来一段时间会变强。

关键问题

  • 强势/弱势持续多长时间?
  • 幅度有多大?

行为金融学基础

有效市场假说(EMH)

  • Fama于1965年提出
  • 假设投资者理性
  • 价格反映所有信息

市场异象

EMH无法解释的现象:

  • 羊群效应
  • 小公司效应
  • 股权溢价之谜

行为金融理论

1. 羊群效应

  • 投资者观察并模仿他人交易
  • 信息不对称时容易产生
  • 导致股价过度上涨或下跌

2. 小公司效应

  • 小盘股收益率高于大盘股
  • 1月份效应特别明显
  • 部分由信息不对称导致

3. 反应过度与反应不足

  • 过度反应:投资者过分重视近期数据
  • 反应不足:投资者不能及时修正预测

4. 动量与反转效应

  • 动量:短期强势持续
  • 反转:长期趋势反转

阿尔法动量模型

核心理念

利用历史收益率的序贯相关性:

  • 短期(1-12个月):动量效应
  • 长期(3-5年):反转效应

选股策略

  1. 动量策略:买入过去强势股
  2. 反转策略:买入过去弱势股

A股市场特点

动量效应

  • 存在但不明显
  • 持续时间较短
  • 短期(1个月)效果较好

反转效应

  • 中期(3个月)反转较明显
  • 长期效应不明显
  • 热点切换频繁

策略构建

参数选择

参数 范围 说明
观测期 1-12个月 过去收益计算周期
持有期 1-12个月 组合持有周期
分组数 3-5组 股票分组数量

策略类型

  1. 多空策略

    • 买入赢家组合
    • 卖空输家组合
    • 市场中性
  2. 多头策略

    • 只买入赢家组合
    • 不需要融券

收益计算

采用几何平均值:

组合收益 = (Π(1+ri))^(1/n) - 1

实证结论

风格动量

  • 短期(1个月)存在动量
  • 中期(3个月)反转明显
  • 长期不明显

行业动量

  • 1个月动量效应显著
  • 3个月反转效应显著
  • 建议以3个月为周期

注意事项

  1. 交易成本:频繁交易侵蚀收益
  2. 流动性:小盘股可能有流动性风险
  3. 时效性:动量效应可能快速消失
  4. 市场环境:牛熊市表现不同

实践建议

  • 短期动量:1个月观测/持有
  • 中期反转:3个月观测/持有
  • 组合分组:5组分组
  • 配合止损策略
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 144 lines · 51 tokens per session scan A ce9528e22395

Subscribe to this mod's changes

momentum-reversal is a skill published in the GitHub repository FeiCoder/Skill-Factory (10 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 927 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens