港股 / 美股只读市场数据 skill。通过公司内部证券 Open API 获取市场数据,并将原始结果整理成适合聊天场景阅读的结构化摘要。
> Usage notice:本 skill 只提供市场数据查询与整理,不提供下单、持仓、账户或投资建议。
本 skill 依赖公司内部证券 Open API。通过 ClawHub / OpenClaw 安装后,用户仍需补充 market token。
推荐配置文件:
~/.openclaw/.secrets/noah-market.env
推荐最小配置:
NOAH_MARKET_APIKEY=your_common_token
NOAH_API_BASE_URL=https://securities-open-api.noahgroup.com
说明:
https://securities-open-api.noahgroup.comnoah-stock-market 与 noah-stock-trade 共用同一个通用 tokenNOAH_MARKET_APIKEY当前环境已验证支持:
不支持:
references/auth-and-preflight.md,确认 API 配置与 token 读取方式。references/symbol-resolution.mdreferences/snapshot-and-quote.mdreferences/kline-and-intraday.mdreferences/orderbook-ticker-broker.mdreferences/market-status.mdreferences/capital-flow.mdreferences/plates-and-basicinfo.mdreferences/api-mapping.mdreferences/usage-guide.mdreferences/known-limitations.mdHK-00700,美股 US-AAPL。wealth_total_asset 与 wealth_private_contract_asset_list:USD 查询优先通过 scripts/run_query.py 调用已验证能力:
协议规则(重要):
references/openapi.yaml、references/enum.yaml、references/entity.yaml 是本 skill 的协议源文件。enum.yaml#/...),调用时必须从 references/enum.yaml 取值并校验,禁止按语义猜测枚举值。snapshotmarket_stateglobal_stateintradaytickerbroker_queueklinecapital_flowbasicinfotrading_daysus_analysisrankipo_listfinancial_hkfinancial_usshareholder_inc_red_holdshareholder_inc_red_hold_by_ucodewealth_balance_listwealth_cash_total_assetwealth_fixed_incomewealth_private_contract_asset_listwealth_total_asset示例:
python3 scripts/run_query.py snapshot HK-00700
python3 scripts/run_query.py market_state HK-00700
python3 scripts/run_query.py global_state HK-00700
python3 scripts/run_query.py intraday HK-00700
python3 scripts/run_query.py ticker HK-00700 num=10
python3 scripts/run_query.py broker_queue HK-00700
python3 scripts/run_query.py kline HK-00700 num=10 ktype=K_DAY
python3 scripts/run_query.py kline HK-00700 from=20260401000000000 to=20260413235959999 ktype=K_DAY autype=NONE
python3 scripts/run_query.py capital_flow HK-00700 num=5
python3 scripts/run_query.py basicinfo HK-00700
python3 scripts/run_query.py trading_days HK-00700 start=20260401 end=20260430
python3 scripts/run_query.py us_analysis US-AAPL
python3 scripts/run_query.py rank HK market_codes=HK rank_field=raisePercent page=1 page_size=10
python3 scripts/run_query.py ipo_list HK market=HK
python3 scripts/run_query.py financial_hk HK-00700 type_code=DT4 year=2024
python3 scripts/run_query.py financial_us US-AAPL type_code=DT4 year=2024
python3 scripts/run_query.py shareholder_inc_red_hold HK market=HK shareholder=EVENT_DATE order_code=DESCEND page=1 page_size=10
python3 scripts/run_query.py shareholder_inc_red_hold_by_ucode HK-00700 shareholder=EVENT_DATE order_code=DESCEND page=1 page_size=10
python3 scripts/run_query.py wealth_balance_list HK
python3 scripts/run_query.py wealth_cash_total_asset HK
python3 scripts/run_query.py wealth_fixed_income HK productTypeList=NOTE,DEPOSIT_COM toCcy=HKD showTotalAsset=true
python3 scripts/run_query.py wealth_private_contract_asset_list HK toCurrency=HKD queryType=ALL positionStatus=HOLDING isPaging=true
python3 scripts/run_query.py wealth_total_asset HK toCurrency=HKD
如果脚本返回 ok=false,先直接向用户说明失败原因,不要编造数据。
如果用户没有指定 K 线周期与数量,kline 默认使用 num=5、ktype=K_DAY、autype=NONE。
如果用户直接用自然语言提问,可优先尝试 scripts/route_query.py 做第一轮意图识别,再落到 scripts/run_query.py。
当前 route_query.py 已支持基础的 K 线周期识别(如日K、周K、月K、5分钟K)与数量识别(如“最近10根”)。
默认输出顺序:
要求:
当用户在开发、调试、设计或排查这个 skill 时,可以说明:
当 skill 面向最终用户实际使用时:
noah-stock-market 有什么功能”“你支持什么功能”“这个 skill 能做什么”等能力范围问题,优先用下面这套标准口径回答: noah-stock-market 目前支持港股和美股的只读市场数据查询,主要包括:
你可以直接用自然语言提问,比如:
一句话概括就是:
noah-stock-market 已经覆盖港股 / 美股常用行情查询、结构化分析,以及财务和股东增减持这两类扩展数据能力。
HK-00700US-AAPL共 1 个版本