/factor-researcher:factor-datafrom factor-researcher
Validates, resamples, and ingests OHLCV market data for factor mining. Schema-checks CSV/Parquet/HDF5 files, resamples bar frequencies, and pulls live data from MCP connectors (FactSet, Daloopa, Morningstar).
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.
None: SKILL.md is the whole skill.
Market data is the input contract for every FactorMiner workflow. This skill makes sure a dataset is schema-valid and split-covered before a mining run burns iterations on a broken file.
FactorMiner expects an OHLCV panel with one row per (asset, timestamp):
| Column | Meaning | Notes |
|---|---|---|
datetime | Bar timestamp | Parseable date/datetime |
asset_id | Instrument id | Aliases: code, ticker, symbol |
open high low close | Prices | — |
volume | Share/contract volume | — |
amount | Dollar/turnover volume | vwap derived as amount / volume when missing |
returns and vwap are derived automatically when absent. Column aliasing is handled by the loader, so near-canonical files pass.
Always validate first:
factorminer validate-data path/to/market_data.csv --json
Read the report. It lists detected columns, applied aliases, derived fields, and train/test split coverage. If either split has zero rows, stop — fix the file or the config's data.train_period / data.test_period before mining. Use --strict to treat warnings as failures in CI.
If the bars are finer than the research horizon (e.g. 5-minute bars for a daily study), resample:
factorminer resample-data raw_5m.csv bars_1h.parquet --rule 1h
To pull data from a financial-data MCP connector instead of a local file, write a small MCP-source config and run fetch-data. The config maps the connector's tool and field names onto the canonical loader-required schema, including volume and amount:
factorminer mcp-connectors
# factset_source.yaml
transport: http
url: https://mcp.factset.com/mcp
headers:
Authorization: "Bearer ${FACTSET_TOKEN}"
tool: get_prices
arguments:
ids: ["AAPL-US", "MSFT-US"]
start: "2022-01-01"
end: "2024-12-31"
frequency: "1d"
records_path: data.prices
field_mapping:
datetime: date
asset_id: fsym_id
open: price_open
high: price_high
low: price_low
close: price_close
volume: volume
amount: turnover
factorminer fetch-data --mcp-config factset_source.yaml --output universe.parquet
factorminer validate-data universe.parquet
${ENV} placeholders keep credentials out of the file. The same pattern works for Daloopa, Morningstar, LSEG, S&P Global, Moody's, Aiera, PitchBook, Chronograph, MT Newswires, Egnyte, or any connector that returns tabular price data — only the tool name and field_mapping change. If the endpoint does not return liquidity fields, switch endpoints or enrich the file before mining rather than fabricating turnover.
mine or helix.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub minihellboy/factorminer --plugin factor-researcher7 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-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-miningDiscover alpha factors by running the FactorMiner research engine — the paper-faithful Ralph loop or the enhanced Helix loop (causal validation, regime conditioning, multi-specialist debate, canonicalization). Use to generate a new factor library from a validated dataset. Triggers on "mine factors", "discover factors", "run mining", "find alpha", "helix loop", "ralph loop", "build a factor library"./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".Other plugins' skills for the same job