/factor-researcher:factor-miningfrom factor-researcher
Discovers alpha factors by running the FactorMiner research engine (Ralph or Helix loop) to generate a factor library from a validated dataset.
Ships in factor-researcher. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill runs FactorMiner's self-evolving discovery loop: it retrieves memory priors, proposes candidate factor formulas with an LLM, evaluates them, and admits the survivors to a factor library.
See references/loop-architecture.md for the stage-by-stage loop design and references/dsl-operators.md for the factor-formula operator vocabulary.
| Use | When |
|---|---|
mine (Ralph loop) | Default. Paper-faithful Algorithm 1 — retrieve, generate, evaluate, admit, evolve memory. |
helix (Helix loop) | When you want Phase 2 features: do-calculus causal validation, regime-conditional evaluation, multi-specialist debate generation, or SymPy canonicalization. Drop-in superset of Ralph. |
The dataset must already pass factor-data validation. Confirm the iteration budget — mining cost scales with iterations × batch-size.
factorminer -o output/run1 mine \
--data path/to/market_data.csv \
--iterations 40 --batch-size 16 --target 30
--iterations — maximum mining iterations (the loop also stops early once --target factors are admitted).--batch-size — candidate factors proposed per iteration.--target — desired library size.--resume path/to/factor_library.json — continue a previous run.--mock — synthetic data + mock LLM, no API calls. Use only for smoke tests.factorminer -o output/run1 helix \
--data path/to/market_data.csv \
--iterations 40 --batch-size 16 --target 30 \
--causal --regime --debate --canonicalize
Each --feature / --no-feature flag overrides the config; omit a flag to keep the config default. Phase 2 features cost extra compute and LLM calls — enable the ones the research question needs.
factorminer session inspect output/run1 --json
Report library size, iteration count, and yield rate. The factor library is written to output/run1/factor_library.json; the run log to session_log.json.
factor-evaluation on the held-out split.ic_threshold / correlation_threshold in config, do not silently relax them in a report.--mock output is never a research result; never present mock metrics as real.When the FactorMiner MCP server is connected, mine_factors and helix_mine expose the same workflow as tools, returning a structured session summary directly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
factor-mining, alpha-discovery, quant-research, helix-loop, ralph-loop
7 skills in this plugin
/factor-backtestCombine a factor library into a composite signal and quintile-backtest it under transaction costs — long-short return, monotonicity, turnover, and tearsheets. Use for the portfolio-level view that single-factor IC does not give. Triggers on "backtest", "composite signal", "combine factors", "long-short return", "portfolio", "quintile", "tearsheet", "transaction costs"./factor-benchmarkRun FactorMiner benchmark workflows — the Table 1 Top-K freeze benchmark, memory and strategy ablations, transaction-cost pressure tests, and the full suite. Use to compare FactorMiner against baselines or to reproduce paper results. Triggers on "benchmark", "ablation", "compare to baseline", "reproduce table 1", "cost pressure", "benchmark suite"./factor-dataValidate, resample, and ingest market data for factor mining. Schema-checks OHLCV files (CSV/Parquet/HDF5), resamples bar frequencies, and pulls live data from external MCP connectors (FactSet, Daloopa, Morningstar). Use before any mining run. Triggers on "validate data", "check my dataset", "resample", "load market data", "fetch data", "ingest prices", "is this dataset usable"./factor-evaluationEvaluate a factor library — recompute Information Coefficient (IC), ICIR, win rate, and turnover on held-out data, and surface train→test decay. Use to judge how good a mined library actually is out of sample. Triggers on "evaluate factors", "compute IC", "how good is this library", "factor metrics", "ICIR", "is this factor overfit", "out-of-sample"./factor-reportGenerate static reports, tearsheets, and exports from FactorMiner artifacts — markdown/HTML research notes, plots, and library exports (JSON/CSV/formulas). Use to package a finished research run for review. Triggers on "generate report", "factor report", "research note", "tearsheet", "visualize factors", "export library", "write up the results"./research-ingestionAbsorb external research reports/papers into structured, retrievable hypothesis cues via FactorMiner's Report-to-Memory Absorption (RMA) service — an OHLCV-eligibility gate, a mechanism-family classifier, and research-path cues that feed factor generation prompts. Use to turn a report fragment into a research hypothesis before mining, not to mine factors directly. Triggers on "ingest research", "absorb this report", "is this idea OHLCV-representable", "research archetype", "hypothesis cue", "report-to-memory", "RMA".npx claudepluginhub minihellboy/factorminer --plugin factor-researcherOther plugins' skills for the same job