AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Factor Backtest

skill-minihellboy-factorminer-factor-backtest · by minihellboy

Combine 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".

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-minihellboy-factorminer-factor-backtest

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-minihellboy-factorminer-factor-backtest)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Factor Backtest? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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
  • --methodequal-weight, ic-weighted, orthogonal, or all to compare every method.
  • --fit-period — split used to fit weights / run selection (use train).
  • --eval-period — split used to score the composite (use test).
  • --selection — optional pre-filter: lasso, stepwise, xgboost, or none.
  • --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 Turnover means the gross return is optimistic; FactorMiner's transaction-cost model is what makes the net number honest.
  • Method spread — if orthogonal and equal-weight disagree sharply, the library has redundant or unstable factors; revisit factor-evaluation.

Guardrails

  • Fit weights on train, score on test — 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.