基金净值(query/fund_all_netvalue) 在线调试

支持全市场基金,返回历史基金净值,单位累计净值,最近7日年收益率等

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/info/v2/query/fund_all_netvalue

是否需要业务登录

HTTP请求方式

GET

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
page_no Integer 10 1 页面编号
返回结果的页码,默认为1
page_count Integer 8 10 页内记录数
单页返回的记录条数,最大不超过200,默认为10
en_prod_code String 2000 产品代码集
基金代码(基金代码输入需要添加后缀 上交所:.SH 深交所:.SZ 场外:.OF 。可多入 用,间隔。

返回参数

参数名 类型 最大长度 默认值 中文名 描述
function_id Integer 功能ID
功能ID,无作用
prod_code String 基金代码
基金代码
data_array Object 净值数组

请求示例

/info/v2/query/fund_all_netvalue?en_prod_code=000001.OF,000011.OF&page_no=1&page_count=1

正确返回示例

{"data":[{"data_array":[{"a_unit_nv":"3.88100000","daily_profit":"","end_date":"2020-11-20 00:00:00","latest_weekly_yield":"","secu_abbr":"华夏成长","secu_code":"000001.OF","unit_nv":"1.42000000"}],"function_id":"20203001","prod_code":"000001.OF"},{"data_array":[{"a_unit_nv":"26.08300000","daily_profit":"","end_date":"2020-11-20 00:00:00","latest_weekly_yield":"","secu_abbr":"华夏大盘","secu_code":"000011.OF","unit_nv":"21.14300000"}],"function_id":"20203001","prod_code":"000011.OF"}],"error_no":"0"}