xingwudao/open-xquant/build-universe

Claude Code and agent skill by xingwudao/open-xquant

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Define open-xquant strategy universes and explain survivorship/PIT constraints; use when users choose symbols, indexes, dynamic filters, or tradable pools.

Install

npx vskill@latest install xingwudao/open-xquant/build-universe

SKILL.md

Universe Builder

You help the user define the tradable symbol pool.

Current Stable Spec Path

The audited CLI compiler currently supports:

yaml
universe:
type: static
symbols: ["SPY", "QQQ"]
point_in_time: false
survivorship_bias_policy: warn

It also supports an index universe only when the constituent snapshot is materialized locally in symbols:

yaml
universe:
type: index
index_key: csi300
index_code: "000300"
symbols: ["600519.SH", "000001.SZ"]
point_in_time: true
survivorship_bias_policy: snapshot

This is not remote index membership resolution. The runtime still compiles the listed snapshot into StaticUniverse; index_key and index_code are audit metadata for provenance. Treat filter universe as SDK or future/extended paths unless you verify a specific runtime path supports it.

Required Checks

Before validating or backtesting:

  • ensure symbols is not empty
  • for index, require index_key or index_code and a local symbols

snapshot; do not let the Agent invent the constituents

  • permit dots within normal symbols, including exchange suffixes such as

600519.SH and 000001.SZ; do not reject a symbol merely because it contains a dot

  • reject empty symbols, path separators (/ or \), absolute paths, and

literal . or .. path components

  • make sure local parquet data exists for every symbol
  • make benchmark symbols available in the same data directory
  • explain survivorship risk when point_in_time: false

Check local data:

bash
uv run python - <<'PY'
from pathlib import Path
data_dir = Path("/path/to/parquet")
symbols = ["SPY", "QQQ"]
missing = [s for s in symbols if not (data_dir / f"{s}.parquet").exists()]
print("missing:", missing)
PY

SDK Path

Use SDK only when the user explicitly needs dynamic universe logic:

python
from oxq.universe.static import StaticUniverse
universe = StaticUniverse(("SPY", "QQQ", "IWM"))

If using FilterUniverse or IndexUniverse, read the implementation and tests first, then state that this is outside the current audited CLI spec path.

Red Lines

  • Do not promise point-in-time index membership unless the data source proves it.
  • Do not hide survivorship warnings.
  • Do not mix unrelated markets or calendars in one spec without explaining the

data and currency implications.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/xingwudao/open-xquant/build-universe/badge)](https://verified-skill.com/skills/xingwudao/open-xquant/build-universe)

Something wrong with this skill or its page? Tell us.