quant-research

quant-research is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 75 tokens per session (880 once invoked), scanned A, original, MIT.

A workflow guide for quantitative research, which uses data and statistical tests to study investment strategies. It covers factors, backtests, risk analysis, fund simulations, and testing results on data not used for training.

In plain words
What is it for?
It is for fetching and checking market data, evaluating trading factors, running backtests and walk-forward validation, analysing risk, and producing research reports and charts.
Why use it?
It reduces errors such as using future information, misaligning signals with returns, or treating training results as proof of performance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It is for fetching and checking market data, evaluating trading factors, running backtests and walk-forward validation, analysing risk, and producing research reports and charts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/quant-research
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 SparkElf/deepseek-harness-plus --skill quant-research
Clone the repo
git clone --depth 1 https://github.com/SparkElf/deepseek-harness-plus

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 quant-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/quant-research/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/quant-research)
Your own site
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/quant-research"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/quant-research/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 quant-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/quant-research"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/quant-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 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.00075 $0.00880
Opus 5.5 $0.00030 $0.00352
Sonnet 5.5 $0.00015 $0.00176
Haiku 4.5 $0.00007 $0.00088

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

Security

Grade A, and why

quant-research 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 2d 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.

downstream/packages/forks/dsh-quant-plus/skill/quant-research/SKILL.md · 54 lines

What it actually says

Quant Research with dsh-quant

dsh-quant 的量化研究标准工作流:工具按域组合成 PDAT→PET 链路,每步都有 对齐契约与验证金标准。规划(planning)时按链路排布任务;执行(tool use) 时严格按契约传参。

1. 规划:PDAT→PET 链路

planning: 数据 → 质量 → 特征/因子 → 模型/回测 → 风控 → 交付
tool use: quant_market_fetch → quant_data_quality → quant_factor_evaluate/
          quant_factor_neutralize → quant_backtest*/quant_walk_forward →
          quant_risk/quant_drawdown → quant_fund/quant_report/quant_chart
  • 单标的完整研究:一条 quant_research_pipeline 跑通全链路(含报告与图表)。
  • 多标的并行:每个标的交给一个 subagent 调 quant_research_pipeline (纯 TS 侧可用 researchMultiAsset),单标的失败不阻断其他标的。
  • 研究结论的样本外证据必须来自 quant_walk_forward 的 OOS IC/RankIC, 训练集 R2 只是参考。

2. Tool use 契约(不可违反)

  • 对齐:所有输出与输入等长,头部无法计算的窗口位置为 null——按索引 直接对齐,模型不需要补 padding。空序列/超窗是合法结果(全 null),不是错误。
  • 无未来函数:factorValues[i] 预测 forwardReturns[i+1]; 回测信号在 bar i 确认、bar i+1 收盘成交。
  • 联合类型用 oneOf:items: { oneOf: [{ type: 'number' }, { type: 'null' }] }; 输出对象每个字段都要 required: true。
  • 非有限数在 registry 层即被拒绝(lossless JSON),NaN/Infinity 不可达 execute。
  • 数据源:加密(binance/okx/bybit 自动容错)、A股(sina/tencent 前复权)、 美股/全球(yahoo);深度数据走渠道知识库 quant_data_guide。

3. 验证金标准

  • 因子:ic(Pearson)+ rankIc(Spearman)+ icDecay(衰减应平滑)+ longShort(多空价差)+ turnover(换手成本校验)。
  • 模型:quant_walk_forward 滚动训练/样本外预测;禁止随机 K 折 (时序数据随机切分泄漏未来);多次试验需 Deflated Sharpe 校正。
  • 策略:quant_metrics(收益/回撤/夏普/卡玛)+ quant_risk(VaR/CVaR/β/IR)
    • quant_drawdown(回撤段/恢复)+ Kupiec 检验(quant_var_backtest)。
  • 交付:quant_fund(1 亿起 NAV 1.00 双费高水位)+ quant_report + quant_chart 图表数据。

4. 边界

公开方法与框架,不公开生产策略;生产策略/特征库/RL 实现属内部 PCPT。 过拟合诊断清单与 RL 问题形式化见 docs/ML_GUIDE.md。

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. 2d ago First seen · 54 lines · 75 tokens per session scan A 364eb9c1afa1

Subscribe to this mod's changes

quant-research is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 880 once invoked, about $0.0003 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-11-27.

Related

quant-research compared with skills from other repositories

quant-research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quant-researchSparkElf/deepseek-harness-plusSkill1todayMITA75Claude Code, Codex
dsh-tui-guideccch1mneyyy/dsh-TUISkill8.4ktodayMITA41Claude Code, Codex
cash-flow-snapshotsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A52Claude Code
stock-analysissandbaseai/sandbase-skillsSkill2137d agoApache-2.0A55Claude Code
currency-convertersandbaseai/sandbase-skillsSkill2137d agoApache-2.0A40Claude Code
qpanda-quboxi-zhao/OpenQuantumSkill75yesterdayMITA128Codex
review-changesamplifthq/oh-my-dshSkill201mo agoMITA22Claude Code, Codex