Skip to content
FunCoding

quant-lab

Star
2,173
Category
Science
License
MIT
Last commit
Oct 12, 2026

resources/builtin/marketplace/agents/1040b336306f/skills/quant-lab/SKILL.md

View on GitHub

Quant Lab

Read with market-data for strategy design, backtesting, or experiment review.

Experiment card

Before calculation, state universe, data/adjustment, signal, rebalance timing, execution price assumption, sizing, cash treatment, costs, benchmark, sample, and invalidation rule. A close-derived signal may affect only the next return.

The compact core supports sma_cross, momentum, and rsi_reversion as transparent baselines:

"$ORKAS_NODE" "$ORKAS_PC_DIR/bin/run-skill.cjs" market-data stock -- backtest --input history.json --strategy sma_cross --fast 20 --slow 60 --cost-bps 8 --slippage-bps 5 --include-series --output result.json

Use the baselines to test a claim, not to stretch the engine into an unsupported strategy. For a custom strategy, produce a precise experiment specification and use a user-authorized project framework when available.

Review gate

  • Confirm point-in-time membership and fundamentals; disclose survivorship or restatement exposure when they cannot be reconstructed.
  • Include transaction costs and a relevant passive benchmark. State whether dividends, borrow, market impact, taxes, and FX are absent.
  • Prefer chronological train/validation/test or walk-forward evidence. Keep the final test untouched while tuning.
  • Inspect sensitivity to neighboring parameters, later entry, higher cost, and subperiods. A fragile result is a finding, not something to optimize away.
  • Report CAGR/return, volatility, Sharpe convention, max drawdown, turnover, exposure, trade count, and the exact signal-delay guard.

Never describe a backtest as expected future performance. Preserve the core's result JSON; put supplementary interpretation in a separate dossier or file. --include-series supplies signal date, applied position, turnover and gross, cost and net returns from the same calculation as the summary. Use that ledger for trade explanations rather than rebuilding it with another timing model. --cutoff YYYY-MM-DD selects a requested historical price window in memory; the result records exclusions without changing the input.

Similar Skills

wiki-query

PApaperclipai/paperclip101k2,948 new stars in the last 7 days

Official

clinical-case-report

NEnexu-io/open-design101k1,126 new stars in the last 7 days

systematic-literature-review

BYbytedance/deer-flow84k368 new stars in the last 7 days

academic-paper-review

BYbytedance/deer-flow84k368 new stars in the last 7 days

directory-submissions

COcoreyhaines31/marketingskills54k958 new stars in the last 7 days

academic-paper

IMImbad0202/academic-research-skills52k972 new stars in the last 7 days