hurst-timing

hurst-timing is a skill for Claude Code, Codex from FeiCoder/Skill-Factory. It costs 47 tokens per session (880 once invoked), scanned A, original, MIT.

A market-timing method using the Hurst exponent, a statistic that estimates whether price movements tend to continue, reverse, or behave randomly.

In plain words
What is it for?
Use it to calculate rolling Hurst values, interpret trend persistence or mean reversion, create buy and sell signals, and combine them with other indicators.
Why use it?
It provides a way to assess broad market trends and possible turning points, while making clear that signals can be delayed and imprecise.

Skill for Claude CodeCodex

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

Good fit Use it to calculate rolling Hurst values, interpret trend persistence or mean reversion, create buy and sell signals, and combine them with other indicators.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/feicoder/skill-factory/hurst-timing
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 hurst-timing
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 hurst-timing

README.md
[![agentmods](https://agentmods.dev/badge/skills/feicoder/skill-factory/hurst-timing/github.svg)](https://agentmods.dev/skills/feicoder/skill-factory/hurst-timing)
Your own site
<a href="https://agentmods.dev/skills/feicoder/skill-factory/hurst-timing"><img src="https://agentmods.dev/badge/skills/feicoder/skill-factory/hurst-timing/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 hurst-timing

Your own site · 80×15
<a href="https://agentmods.dev/skills/feicoder/skill-factory/hurst-timing"><img src="https://agentmods.dev/badge/skills/feicoder/skill-factory/hurst-timing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 880 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.00047 $0.00880
Opus 5.5 $0.00019 $0.00352
Sonnet 5.5 $0.00009 $0.00176
Haiku 4.5 $0.00005 $0.00088

Measured 1mo ago against content hash ea2fa6829ab7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hurst-timing 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 1mo 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/timing/hurst-timing/SKILL.md · 128 lines

What it actually says

Hurst指数择时

基本概念

Hurst指数基于分形市场理论,用于判断市场趋势的持续性和转折点。

分形市场理论

  • 市场由不同投资期限的投资者组成
  • 信息对不同投资者影响不同
  • 价格变化具有长期记忆性
  • 不是随机游走

Hurst指数含义

H ∈ (0, 1)
- H = 0.5: 随机游走,无记忆
- H > 0.5: 趋势持续(动量)
- H < 0.5: 反转持续(均值回归)

R/S分析方法

重标极差法

计算步骤:

  1. 将时间序列分为n个子区间
  2. 计算每个子区间的均值和累积离差
  3. 计算极差R
  4. 计算标准差S
  5. 计算R/S

长期记忆长度

Hurst指数峰值对应的n值:

  • A股市场:n ≈ 233个交易日
  • 含义:约1年的平均循环周期

策略模型

Local Hurst指数

移动计算Hurst指数,反映市场短期记忆性变化。

趋势判断

H > 0.55: 趋势持续 → 顺势操作
H < 0.55: 趋势可能反转 → 谨慎
H ≈ 0.5: 无明显趋势 → 观望

交易信号

买入信号

  • Local Hurst指数连续5日低于E(H)
  • 且市场较233日前上涨
  • 第6个交易日发出买入信号

卖出信号

  • Local Hurst指数连续5日低于E(H)
  • 且市场较233日前上涨
  • 满仓状态下第6个交易日发出卖出信号

A股实证

长期记忆特征

  • 上证综指:H = 0.61(n=233)
  • 深证成指:H = 0.61(n=233)
  • 结论:A股具有长期记忆性

市场转折识别

  • Hurst指数低位(<0.55)与市场反转期吻合
  • 市场反转时H接近0.5
  • 说明A股不完全有效

策略特点

优点

  1. 理论扎实:基于分形市场理论
  2. 长期视角:考虑市场长期记忆性
  3. 转折识别:能识别主要市场拐点

局限

  1. 参数选择:n值影响结果
  2. 信号延迟:转折后才会出现信号
  3. 不精准:只能判断大致位置

实践建议

参数设置

  • n值:200-250个交易日
  • 阈值:0.55-0.60
  • 连续天数:5-10天

配合使用

  • 结合趋势指标确认信号
  • 结合成交量验证
  • 设置止损

注意事项

  1. 市场环境:对趋势明显的市场更有效
  2. 参数稳定:不需频繁调整
  3. 辅助工具:作为辅助判断工具使用

适用场景

  • 大盘趋势判断
  • 主要转折点识别
  • 长期择时
  • 配合其他择时指标
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. 1mo ago First seen · 128 lines · 47 tokens per session scan A ea2fa6829ab7

Subscribe to this mod's changes

hurst-timing is a skill published in the GitHub repository FeiCoder/Skill-Factory (11 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 880 once invoked, about $0.0002 per session on Opus 5.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

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 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

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens