Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Computes monthly agricultural-futures seasonality from daily prices and overlays crop-calendar context.
Claude hands work to one, or you mention it with @.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
简体中文 | English
农产品期货季节性分析。农产品受种植、生长、收割及南北半球错季驱动,是季节性最强的期货品类。本 skill 从历史行情计算月度季节性规律、检验统计显著性并叠加作物日历,用于判断品种在各月份的历史涨跌倾向及当前所处的季节周期位置。仅输出统计事实与推断,不提供买卖指令。
skill-ag-futures-seasonality 是 QuantSkills 社区的季节性分析 Skill。社区已有的期货 DeepView skill 看的是席位持仓、基差、仓单等微观结构;本 skill 补的是另一个角度——跨年的季节性规律,两者互补不重叠。
"大豆几月容易涨?""现在是不是豆粕的季节性旺季?"——农产品有很强的季节规律,但大多数人只有模糊印象,说不清"7 月偏强"到底是历史规律还是错觉,也不知道这个规律在统计上显不显著、样本够不够。
本 skill 将其转化为可计算、可检验、可解释的统计结果:
scripts/validate.py 用合成数据验证"能识别人造季节性、纯随机不误报、显著性检验用真实 t 分布不高估、HTML 报告自包含且保留严谨性",9/9 通过pip install -r requirements.txt
# 自检(构造已知季节性验证算法)
python scripts/validate.py
# 用自带的豆粕示例
python scripts/seasonality.py --csv examples/data/soybean_meal_M.csv --symbol "M 豆粕"
# 用你自己的数据(列:date, close)
python scripts/seasonality.py --csv your_data.csv --symbol "品种" --out report/
指定 --out 时输出三种格式:seasonality.txt(文字报告)、seasonality.json(结构化数据)、seasonality.html(自包含可视化报告,内联 SVG、离线可用、明暗主题自适应)。HTML 中显著月份实心、不显著月份半透明,样本量与免责说明一并保留(示例见 examples/output/seasonality.html)。
豆粕示例真实输出(2015–2025,11 年样本):
季节性偏强月份:无显著
季节性偏弱月份:11月
逐月季节性:
7月 +1.37% 73% 11年
8月 -1.54% 27% 11年
11月 -3.53% 36% 11年 *
12月 -2.84% 27% 11年
7 月上涨概率虽达 73%,但样本仅 11 年、二项检验 p=0.23,统计不显著,故未标为强月。仅 11 月标星(均值 t 检验 p=0.09);12 月平均涨跌 −2.84%、胜率 27%,但均值 t 检验 p=0.13,未过 0.1 阈值,不标星——小样本下采用 t 分布而非正态近似,避免高估显著性。报告附多重检验提示。
框架中立,输入就是一张主力连续日线 [date, close]:
get_future_daily + get_future_dominant 拼主力连续,get_future_detail 确认品种代码品种代码示例:豆粕 M、豆油 Y、大豆 A、玉米 C、白糖 SR、棉花 CF、棕榈 P、鸡蛋 JD。
skill-ag-futures-seasonality/
├── SKILL.md # Agent 使用说明(核心)
├── README.md / README.en.md
├── agents/
│ ├── openai.yaml # OpenAI-style runtime manifest
│ ├── cursor-rule.mdc # Cursor rule entrypoint
│ └── portable-loader.md # Hermes/OpenClaw portable loader
├── scripts/
│ ├── seasonality.py # 季节性计算 + 显著性检验 + 报告(txt/json/html)
│ └── validate.py # 9 项合成数据自检
├── references/
│ ├── crop-calendar.md # 作物日历与季节性机理(豆/玉米/糖/棉/棕/蛋)
│ └── source_boundary.md
└── examples/
├── data/soybean_meal_M.csv
└── output/ # 豆粕季节性报告示例(txt + json + html)
本 Skill 支持 Claude Code、Codex、Cursor、Hermes 和 OpenClaw。Claude Code、Codex 与原生 Skill 运行时直接加载 SKILL.md;Cursor 使用 agents/cursor-rule.mdc;Hermes/OpenClaw 在无法原生发现 Skill 时使用 agents/portable-loader.md。所有入口最终都回到同一份 SKILL.md、作物日历、来源边界和季节性脚本,不维护平行业务逻辑。
skill-futures-deepview-analyst:席位持仓、基差、仓单、跨期套利等微观结构 —— 看当下博弈skill-pandadata-api:负责取数GPL-3.0。本 skill 为 QuantSkills 社区原创,季节性方法为量化通用做法,作物日历为公开农业常识整理。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
ag-futures-seasonality@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin ag-futures-seasonalityPlugins from other owners that cover similar ground