基金行情详情(query/out_counter_fund_single_info)
返回最近五个交易日的数据,基金单位净值,基金类型,单位基金收益等
URL
| https://sandbox.hscloud.cn/info/v2/query/out_counter_fund_single_info |
|---|
是否需要业务登录
| 否 |
|---|
HTTP请求方式
| GET |
|---|
支持格式
| JSON |
|---|
请求参数
| 参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|---|
| en_prod_code | String | 是 | 2000 | 产品代码集 |
该接口基金代码输入需要添加后缀.OF 最多支持20支代码;返回最近五个交易日的数据
|
返回参数
| 参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
|---|---|---|---|---|---|
| secu_code | String | 200 | 证券代码 |
|
|
| secu_abbr | String | 200 | 证券简称 |
|
|
| unit_nv | Integer | 10 | 基金单位净值 |
|
|
| end_date | Integer | 8 | 截止日期 |
|
|
| daily_profit | Float | 16.2 | 每万份基金单位当日收益(元) |
|
|
| latest_weekly_yield | Float | 9.8 | 最近7日折算年收益率 |
|
|
| accumulated_unit_nv | Integer | 10 | 单位累计净值 |
|
|
| chi_name_abbr | Integer | 200 | 中文名称缩写 |
|
|
| ofund_type | String | 1 | 基金类型 |
【限制字典子项:1-股票型 |
|
| unit_profit | Integer | 10 | 单位基金收益(元) |
|
|
| end_shares | Integer | 10 | 期末份额(份) |
|
请求示例
/info/v2/query/out_counter_fund_single_info?en_prod_code=470007.OF
正确返回示例
{
data: [
{
20202002: [
{
470007.OF: [
{
accumulated_unit_nv: "1.082000",
chi_name_abbr: "汇添富上证综合指数",
daily_profit: "",
end_date: "2016-09-09 00:00:00",
end_shares: "1505426328.2300",
latest_weekly_yield: "",
ofund_type: "股票型",
secu_abbr: "汇添富上综",
secu_code: "470007",
unit_nv: "0.972000",
unit_profit: ""
},
{
accumulated_unit_nv: "1.087000",
chi_name_abbr: "汇添富上证综合指数",
daily_profit: "",
end_date: "2016-09-08 00:00:00",
end_shares: "1505426328.2300",
latest_weekly_yield: "",
ofund_type: "股票型",
secu_abbr: "汇添富上综",
secu_code: "470007",
unit_nv: "0.977000",
unit_profit: ""
},
{
accumulated_unit_nv: "1.086000",
chi_name_abbr: "汇添富上证综合指数",
daily_profit: "",
end_date: "2016-09-07 00:00:00",
end_shares: "1505426328.2300",
latest_weekly_yield: "",
ofund_type: "股票型",
secu_abbr: "汇添富上综",
secu_code: "470007",
unit_nv: "0.976000",
unit_profit: ""
},
{
accumulated_unit_nv: "1.086000",
chi_name_abbr: "汇添富上证综合指数",
daily_profit: "",
end_date: "2016-09-06 00:00:00",
end_shares: "1505426328.2300",
latest_weekly_yield: "",
ofund_type: "股票型",
secu_abbr: "汇添富上综",
secu_code: "470007",
unit_nv: "0.976000",
unit_profit: ""
},
{
accumulated_unit_nv: "1.080000",
chi_name_abbr: "汇添富上证综合指数",
daily_profit: "",
end_date: "2016-09-05 00:00:00",
end_shares: "1505426328.2300",
latest_weekly_yield: "",
ofund_type: "股票型",
secu_abbr: "汇添富上综",
secu_code: "470007",
unit_nv: "0.970000",
unit_profit: ""
}
]
}
]
}
]
}
