بنقرة واحدة
openclaw-data-china-stock
A-share/ETF/Option market data collection plugin for OpenClaw.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
A-share/ETF/Option market data collection plugin for OpenClaw.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
宏观政策解读师,基于中国宏观数据工具输出结构化四段分析。
资金流分析师,聚焦主力、北向、板块与个股的多层资金结构分析。
基本面分析师,基于财务指标与报表输出结构化财务健康度和估值分析。
市场扫描仪,提供盘前/盘中/盘后三阶段市场扫描、异动识别与情绪状态判断。
市场情绪哨兵,聚合涨停/资金/北向/板块四源,输出综合评分、阶段判定与反证(非交易指令)。
策略回测师,基于历史行情与技术指标执行轻回测编排并输出绩效评估。
| name | openclaw-data-china-stock |
| description | A-share/ETF/Option market data collection plugin for OpenClaw. |
| tags | ["data","china","etf","option","openclaw"] |
This plugin provides a ClawHub/OpenClaw compatible toolset for collecting A-share, ETF, and listed option data.
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).skills/china-macro-analyst/SKILL.mdskills/technical-analyst/SKILL.mdskills/market-scanner/SKILL.mdskills/market-sentinel/SKILL.mdskills/fund-flow-analyst/SKILL.mdskills/strategy-backtester/SKILL.md (MVP mode)skills/fundamental-analyst/SKILL.mdtool_fetch_macro_data / tool_fetch_macro_snapshottool_fetch_macro_* (21 tools; kept for backward compatibility)skills/china-macro-analyst/SKILL.md (institutional 4-section narrative template; rules in macro_config.yaml)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。
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_*_ths—not the same as locally computed MACD/RSI from OHLC (use tool_stock_data_fetcher / tool_calculate_technical_indicators for those).The plugin is designed to run independently (no dependency on any other repository):
~/.openclaw/.env.tool_fetch_market_data) to reduce “tool switching” friction.data_cache.enabled=false) to minimize local data pollution risk.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
data_cache.enabled=false
data_cache.enabled=true