跳到主要内容

基金净值

信息

工具名:get_fund_performance_nav

对应 REST 端点:GET /api/fund/performance/nav

工具描述

查询基金单位净值和复权净值。不传 range 时只返回最新一个净值日期;传入 range 时返回区间序列。nav_type 控制返回单位净值、复权净值或二者。

参数

参数类型必填默认说明
fund_typeenumotc(场外基金)/ exchange(ETF、LOF)/ reits
thscodestring完整基金 thscode,必须保留市场后缀。
rangeenum最新一条week / month / tmonth / hyear / year / twoyear / tyear / fyear
nav_typeenumunit,adjunit(单位净值)/ adj(复权净值)/ unit,adj

调用示例

工具:get_fund_performance_nav
参数:
- fund_type: "exchange"
- thscode: "510300.SH"
- range: "year"
- nav_type: "unit"

返回

返回 { timestamp, item: [FundNavItem, ...] }。字段含义见 REST 端点 基金净值