Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shaoxing-xie avatar

Openclaw Data China Stock

  • 268 installs
  • 50 repo stars
  • Updated May 5, 2026
  • shaoxing-xie/openclaw-data-china-stock

openclaw-data-china-stock is an agent skill that collects unified A-share, ETF, and option market data for OpenClaw agents.

About

openclaw-data-china-stock is an OpenClaw data-collection skill that exposes agent-callable tools for Chinese A-share, ETF, and listed-option markets. Solo and indie builders wiring quant or macro workflows in OpenClaw use it as the unified fetch layer instead of hand-rolling exchange-specific scrapers. The recommended path is `tool_fetch_market_data`, with compatibility aliases for index, ETF, and option series and contract lookup by underlying. When caching is on, read tools load prior Parquet snapshots so agents do not repeat paid or rate-limited pulls. The repo documents a paired analyst suite—macro, technical, scanner, sentinel, fund-flow, strategy backtester MVP, and fundamental skills—so this skill typically sits upstream of those analyzers. Complexity is intermediate: you need OpenClaw plugin conventions, API credentials where providers require them, and discipline about not shipping local data or venv artifacts. Use it whenever Validate or Grow work needs repeatable China market snapshots inside an agent session.

  • `tool_fetch_market_data` as the recommended cross-asset unified entry
  • Dedicated fetch aliases for index, ETF, and option data plus `tool_get_option_contracts` by underlying
  • Read tools for cached Parquet when local persistence is enabled
  • OpenClaw/ClawHub-compatible toolset with packaging ignores for data, logs, and local DB artifacts
  • Pairs with a 7-skill suite (macro, technical, scanner, sentinel, fund-flow, backtester MVP, fundamental)

Openclaw Data China Stock by the numbers

  • 268 all-time installs (skills.sh)
  • +16 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #348 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/shaoxing-xie/openclaw-data-china-stock --skill openclaw-data-china-stock

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs268
repo stars50
Security audit0 / 3 scanners passed
Last updatedMay 5, 2026
Repositoryshaoxing-xie/openclaw-data-china-stock

What it does

Install this when your OpenClaw agent needs unified A-share, ETF, and listed-option market data fetch and optional Parquet cache reads for China markets.

Who is it for?

OpenClaw users prototyping or running China equity, ETF, and option research stacks with cached reads enabled.

Skip if: Skip if you're outside OpenClaw and only need a one-off curl to a public API without agent tool integration or local cache governance.

When should I use this skill?

OpenClaw workflows need cross-asset China market fetch or cached Parquet reads before macro, technical, or scanner skills run.

What you get

Your agent calls a single fetch surface (plus optional Parquet reads) so downstream paired analyst skills can run on normalized market snapshots.

  • Fetched market datasets returned to the agent session
  • Optional local Parquet or DB cache reads when persistence is enabled

By the numbers

  • Documents 7 paired analyst skills in the suite (macro, technical, scanner, sentinel, fund-flow, backtester MVP, fundamen
  • Exposes unified fetch plus index/ETF/option alias tools and contract lookup by underlying

Files

SKILL.mdMarkdownGitHub ↗

OpenClaw Data China Stock

This plugin provides a ClawHub/OpenClaw compatible toolset for collecting A-share, ETF, and listed option data.

Key tools

  • tool_fetch_market_data: Cross-asset unified entry (recommended).
  • tool_fetch_index_data / tool_fetch_etf_data / tool_fetch_option_data: Compatibility/alias unified entries.
  • tool_get_option_contracts: Fetch option contracts by underlying.
  • tool_read_market_data / tool_read_*: Read previously cached Parquet data (when enabled).

Paired skill suite

  • skills/china-macro-analyst/SKILL.md
  • skills/technical-analyst/SKILL.md
  • skills/market-scanner/SKILL.md
  • skills/market-sentinel/SKILL.md
  • skills/fund-flow-analyst/SKILL.md
  • skills/strategy-backtester/SKILL.md (MVP mode)
  • skills/fundamental-analyst/SKILL.md

China macro analyst tools

  • Primary: tool_fetch_macro_data / tool_fetch_macro_snapshot
  • Compatibility wrappers: tool_fetch_macro_* (21 tools; kept for backward compatibility)
  • Skill: skills/china-macro-analyst/SKILL.md (institutional 4-section narrative template; rules in macro_config.yaml)

Multi-factor equity screening (A-share)

  • `tool_screen_equity_factors`: Single entry for oscillation/trend templates (e.g. reversal_5d, fund_flow_3d, sector_momentum_5d) over hs300|zz500|zz1000|a_share|custom; returns quality_score, degraded, config_hash, optional sw_mapping stats. Implemented in plugins/analysis/equity_factor_screening.py; registered in tool_runner.py / config/tools_manifest.yaml (+ JSON). JSON Schema: docs/schemas/tool_screen_equity_factors.schema.json.
  • `tool_batch_fetch`: Batch runner includes tool_screen_equity_factors (see plugins/merged/tool_batch_fetch.py whitelist).
  • 申万一级映射config/sw_industry_level1_mapping.json,由 scripts/update_sw_industry_level1_mapping.py 生成(默认乐咕乐股 sw_index_first_info + sw_index_third_cons;可选 SW_MAP_USE_EM_SPOT=1 走东财快照)。消费侧:plugins/analysis/sw_industry_mapping.py

助手侧夜盘落盘、质量门禁与熔断工具(tool_finalize_screening_nightly / tool_set_screening_emergency_pause)在 etf-options-ai-assistant 仓库注册;规程 Skill `ota_equity_factor_screening_brief` 仅在该助手仓维护并同步到 Gateway。

Fund-flow tools (pick one job, do not duplicate)

  • `tool_capital_flow`: Single-stock summary for workflows that need flow_judgement / risk_flags style outputs (e.g. limit-up strategies).
  • `tool_fetch_a_share_fund_flow`: Tabular / ranking / history for onshore A-share money flow (query_kind selects market/sector/stock tables, big deals, main-force ranks, sector drill-down). Uses Eastmoney/Tonghuashun-style AkShare routes with an explicit attempt chain; raw data is not investment advice.
  • `tool_fetch_northbound_flow`: Stock Connect northbound flows (cross-border), separate from onshore A-share flow tools—keep narratives and citations distinct.
  • `tool_fetch_a_share_technical_screener`: Tonghuashun-style technical stock screeners (new highs, consecutive up days, volume patterns, MA breakouts, etc.) via AkShare stock_rank_*_thsnot the same as locally computed MACD/RSI from OHLC (use tool_stock_data_fetcher / tool_calculate_technical_indicators for those).

Safety and independence

The plugin is designed to run independently (no dependency on any other repository):

  • It does not inject ~/.openclaw/.env.
  • It supports plugin-specific cache/data paths (configured inside the plugin).

Why it helps retail users

  • Unified cross-asset entry (tool_fetch_market_data) to reduce “tool switching” friction.
  • Multi-source provider priority + automatic fallback to avoid single-provider outages breaking your workflow.
  • Default read-only disk cache semantics (data_cache.enabled=false) to minimize local data pollution risk.

Typical usage

Example: fetch A-share index daily historical data:

tools:
  - name: tool_fetch_market_data
    params:
      asset_type: index
      view: historical
      asset_code: "000001"
      period: daily
      start_date: "20260201"
      end_date: "20260228"

Example: fetch ETF 5-minute bars:

tools:
  - name: tool_fetch_market_data
    params:
      asset_type: etf
      view: minute
      asset_code: "510300"
      period: "5"
      start_date: "20260201"
      end_date: "20260228"

Example: fetch latest CPI and use macro snapshot:

tools:
  - name: tool_fetch_macro_data
    params:
      dataset: cpi
      latest_only: true
  - name: tool_fetch_macro_snapshot
    params:
      scope: monthly
      include_quadrant: true

Cache policy

  • Default: data_cache.enabled=false
  • Disk parquet reads are allowed (if cache exists).
  • Disk parquet writes are skipped.
  • Corrupted parquet files are not deleted in this mode.
  • data_cache.enabled=true
  • Disk parquet reads and writes are both enabled.

Related skills

How it compares

Use as the OpenClaw data plugin layer, not as a full fundamental or backtest methodology skill on its own.

FAQ

Who is openclaw-data-china-stock for?

Developers using OpenClaw to automate China A-share, ETF, and option data collection inside agent workflows.

When should I use openclaw-data-china-stock?

During Validate when scoping instruments and data needs, during Idea when researching market structure, and during Grow when refreshing analytics pipelines—any time your agent must fetch or read cached China market series.

Is openclaw-data-china-stock safe to install?

Review the Security Audits panel on this Prism page and inspect packaging excludes; the skill touches network APIs and may write local Parquet or DB caches on disk.

Finance & Tradingpipelinesanalytics

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.