agentsclimarketplace

Stock daec stocks

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/stock-daec-stocks

查询 A 股行情列表 daec 全字段族,支持全市场、沪市、深市、北交所板块,以及 filter/order_by。Use when user asks about A股行情列表, 全市场行情, 沪深京实时行情, daec stocks, full stock quotes.From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill stock-daec-stocks

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.0 KB, 642 tokens by cl100k_base, as published. Nobody here has run it

查询 A 股行情列表(daec 全字段族)

接口说明

项目说明
接口名称A 股行情列表(daec 全字段族)
外部接口GET /api/v1/market/data/daec/stocks/{board}
请求方式GET
适用场景获取 A 股实时行情全字段列表,包含行情、成交、市值、PE、换手率、板块、上市日期等字段

请求参数

参数名类型是否必填描述示例
--boardstring是板块:all / xshg / xshe / bjseall
--pageint否页码1
--page_sizeint否每页条数20
--filterstring否筛选表达式,与板块内置筛选 AND 合并close > 10
--order_bystring否排序规则change_rate desc
--allflag否自动翻页获取全量-

执行方式

python <RUN_PY> stock-daec-stocks --board all --page 1 --page_size 5 --order_by "change_rate desc"
python <RUN_PY> stock-daec-stocks --board xshg --filter 'name.contains("银行")' --page 1 --page_size 5
python <RUN_PY> stock-daec-stocks --board bjse --filter "close > 5" --page 1 --page_size 5

响应结构

服务端分页信封:

{
  "items": [
    {
      "symbol": "600000.XSHG",
      "name": "浦发银行",
      "close": "9.32",
      "change_rate": -0.0053,
      "turnover": "697403297.5",
      "pe_ttm": 6.2068
    }
  ],
  "total_pages": 100,
  "total_items": 5000
}

注意事项

  • 板块内置筛选不可覆盖;--filter 会与内置筛选自动合并。
  • stock-daec-stocks 返回全字段;如果只需要创业板/科创板/新股精简行情,用 stock-realtime-list。

What ships with it: 1 file

3.4 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.