Quant Real Factor 7d Compressed Range Position

Use when computing the 7D Compressed Range Position factor from user-supplied OHLCV data or reviewing its bundled real-data validation metrics.

quantskills 7761f1e 8 files · 17.0 KB Updated

File contents

7D Compressed Range Position

Use this Skill to compute 7日压缩区间位置 / 7D Compressed Range Position from caller-provided OHLCV data.

Workflow

  1. Load a pandas.DataFrame with open, high, low, close, volume; include date and symbol for cross-sectional research.
  2. Call scripts/factor.py::compute_factor(df) to compute the factor column.
  3. Call generate_signals(df) for a simple rank-based long/short signal.
  4. Review validation_real/report.md before using the factor in a model.

Runtime Contract

  • Framework-neutral Python: pandas and numpy.
  • The caller owns data vendor, universe, calendar, costs, slippage, and execution modeling.

quantskills/skill-quant-factor-directional-alpha/tree/main/factors/R503-7d-compressed-range-position commit 7761f1e317

Frequently asked questions

npx skillmds@latest add quantskills/quant-real-factor-7d-compressed-range-position