Skip to content

查询板块局部关系图

sector.graph

返回选中板块的一跳层级、产业、演化和市场关联。

调用契约

项目
MethodGET
Path/api/gendangzou/sectors/{sector_id}/graph
业务域sector
数据更新随完整数据版本发布

受控意图:get_sector_graphanalyze_sector_relationships

请求参数

参数位置类型必填约束与默认值
sector_idpathstring最短 3 字符;最长 128 字符
snapshot_idquerystring最短 8 字符;最长 128 字符
as_ofquerystring返回此日期或此前最近的完整快照;格式 date
detailquerystringfull 保留完整 Web 响应;compact 返回供 Agent 使用的稳定快照引用;默认 full;可选 fullcompact
includequerystring逗号分隔的精简版本扩展:sector_dynamics、coverage;最长 80 字符

最小调用

bash
curl --fail --silent --show-error \
  -H "Authorization: Bearer $MOBIUSQUANT_TOKEN" \
  "https://api.mobiusquant.ai/api/gendangzou/sectors/<sector_id>/graph?detail=compact"

将路径中的 <...> 替换为实际资源 ID。

响应

字段类型必有含义
snapshotSnapshotContext / SnapshotReference本次查询实际使用的数据版本。
focus_sector_idstring局部图谱的中心板块。
nodesarray<SectorGraphNode>局部板块图谱中的节点。
edgesarray<SectorGraphEdge>局部板块图谱中的关系边。
summarySectorGraphSummary当前查询的聚合统计。

SectorGraphNode

字段类型必有含义
sector_idstring板块稳定标识。
namestring对象名称。
layerstring板块层级。
statusstring对象或关系的当前状态。
object_typestring板块对象类型。
parent_idstring / null直接上级板块标识。
parent_namestring / null直接上级板块名称。
definitionstring板块定义。
current_in_snapshotboolean该板块是否存在于本次数据版本。
lifecycle_statestring-
rolesarray<string>-
policy_heatHeatValue / null板块的政策热度。
market_attentionHeatValue / null板块的即时市场关注度。
market_tradingHeatValue / null板块的资金确认度。

HeatValue

字段类型必有含义
levelnumber-
momentumnumber相对上一可比版本的变化量。
contribution_countinteger进入当前热度计算的贡献项数量。

SectorGraphEdge

字段类型必有含义
edge_idstring-
source_sector_idstring-
source_sector_namestring-
target_sector_idstring-
target_sector_namestring-
categorystring对象或关系分类。
relationstring板块节点之间的关系类型。
confidencestring / number / null结果置信度;不能与关系分或热度分互换。
rationalestring当前判断或关系的依据。
effective_fromstring-
lifecycle_relationboolean-
generic_relationboolean-
patternstring-
linkage_scorenumber / null-
stock_overlapnumber / null-
independent_signalboolean / null-
market_trade_datestring资金维度实际使用的最近交易日。

SectorGraphSummary

字段类型必有含义
node_countinteger-
edge_countinteger-
category_countsobject-
generic_relation_countinteger-
market_relation_countinteger-

调用要点

  • Agent 建议使用 detail=compact 控制上下文体积。
  • 需要解释结论时,再调用关联证据能力。

关联能力

机器可读契约

AI 交易的基础设施平台