Install
$ agentstack add skill-minihellboy-factorminer-factor-backtest ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Factor Backtest
A library of individually-decent factors is not a strategy. This skill combines them into one composite signal and backtests the portfolio that signal implies — the level at which transaction costs and capacity actually bite.
Workflow
1. Combine and backtest
factorminer combine output/run1/factor_library.json \
--data path/to/market_data.csv \
--method all --fit-period train --eval-period test
--method—equal-weight,ic-weighted,orthogonal, orallto compare every method.--fit-period— split used to fit weights / run selection (usetrain).--eval-period— split used to score the composite (usetest).--selection— optional pre-filter:lasso,stepwise,xgboost, ornone.--top-k— keep only the top-K factors before combining.
The report gives composite IC Mean, ICIR, Long-Short return, Monotonicity, and Avg Turnover.
2. Generate tearsheets
For the visual portfolio view — quintile returns, IC time series, correlation heatmap:
factorminer -o output/run1 visualize output/run1/factor_library.json \
--data market_data.csv --period test --tearsheet --quintile --correlation
What to look for
- Monotonicity — quintile returns should step up Q1→Q5. A non-monotone composite is fragile regardless of headline IC.
- Long-short return net of turnover — high
Avg Turnovermeans the gross return is optimistic; FactorMiner's transaction-cost model is what makes the net number honest. - Method spread — if
orthogonalandequal-weightdisagree sharply, the library has redundant or unstable factors; revisitfactor-evaluation.
Guardrails
- Fit weights on
train, score ontest— never fit and score on the same split. - The backtest estimates historical behavior; it is not a forward return promise. Present it as a research artifact for review.
- Report net-of-cost numbers as the headline; gross numbers only as context.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: minihellboy
- Source: minihellboy/factorminer
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.