资产配置(portfolio/asset_allocation) 在线调试
基金资产的大类配置情况,包括股票、债券、银行存款和清算备付金、其他资产、买入返售证券、卖出回购证券、国债及货币资金、可转换债券等
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/gildatafund/v1/portfolio/asset_allocation |
---|
是否需要业务登录
否 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
en_prod_code | String | 是 | 001712.OF | 证劵代码 |
基金代码,根据交易代码和交易市场组合而成,上市交易基金的后缀根据上市交易所是 .SZ或者 .SH,非上市.OF,支持输入多个基金代码,以半角逗号隔开。
|
|
report_date | String | 是 | 申报日期 |
报告期,格式为YYYY-MM-DD,如2015-12-31,支持同时输入多个报告期。
|
||
unit | Integer | 否 | 10 | 0 | 单位 |
{"元":"0","十元":"1","百元":"2","千元":"3","万元":"4","十万元":"5","百万元":"6","千万元":"7","亿元":"8","十亿元":"9"}
|
fields | String | 否 | 字段集合 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
prod_code | String | 001712.OF | 产品代码 |
基金代码,根据交易代码和交易市场组合而成,上市交易基金的后缀根据上市交易所是 .SZ或者 .SH,非上市.OF,支持输入多个基金代码,以半角逗号隔开。
|
|
report_date | String | 申报日期 |
报告期,格式为YYYY-MM-DD,如2015-12-31,支持同时输入多个报告期。
|
||
total_asset | Float | 16.6 | 425414675.68 | 基金资产总值 |
基金资产总值
|
net_asset | Float | 16.6 | 414567071.75 | 基金资产净值 |
基金资产净值
|
stock_value | Float | 16.6 | 310131926.07 | 股票投资市值 |
股票投资市值
|
bond_value | Float | 16.6 | 债券投资市值 |
债券投资市值
|
|
deposit | Float | 16.6 | 41369024.29 | 银行存款 |
银行存款
|
warrent_value | Float | 16.6 | 权证投资市值 |
权证投资市值
|
|
fund_value | Float | 16.6 | 基金投资市值 |
基金投资市值
|
|
other_value | Float | 16.6 | 12313725.32 | 其他资产市值 |
其他资产市值
|
stock_net_asset_ratio | Float | 16.6 | 74.809 | 股票市值占基金资产净值比例 |
股票市值占基金资产净值比例
|
bond_net_asset_ratio | Float | 16.6 | 债券市值占基金资产净值比例 |
债券市值占基金资产净值比例
|
|
deposit_net_asset_ratio | Float | 16.6 | 9.979 | 银行存款占基金资产净值比例 |
银行存款占基金资产净值比例
|
warrent_net_asset_ratio | Float | 16.6 | 权证市值占基金资产净值比例 |
权证市值占基金资产净值比例
|
|
fund_net_asset_ratio | Float | 16.6 | 基金市值占基金资产净值比例 |
基金市值占基金资产净值比例
|
|
other_net_asset_ratio | Float | 16.6 | 2.97 | 其他资产占基金资产净值比例 |
其他资产占基金资产净值比例
|
stock_total_asset_ratio | Float | 16.6 | 72.901 | 股票市值占基金资产总值比例 |
股票市值占基金资产总值比例
|
bond_total_asset_ratio | Float | 16.6 | 债券市值占基金资产总值比例 |
债券市值占基金资产总值比例
|
|
deposit_total_asset_ratio | Float | 16.6 | 9.724 | 银行存款占基金资产总值比例 |
银行存款占基金资产总值比例
|
warrent_total_asset_ratio | Float | 16.6 | 权证市值占基金资产总值比例 |
权证市值占基金资产总值比例
|
|
fund_totalt_asset_ratio | Float | 16.6 | 基金市值占基金资产总值比例 |
基金市值占基金资产总值比例
|
|
other_total_asset_ratio | Float | 16.6 | 2.894 | 其他资产占基金资产总值比例 |
其他资产占基金资产总值比例
|
请求示例
/gildatafund/v1/portfolio/asset_allocation?en_prod_code=001712.OF&report_date=2017-3-31
正确返回示例
{"data":[{"en_prod_code":"001712.OF","report_date":"2017-3-31","total_asset":"425414675.680000","net_asset":"414567071.750000","stock_value":"310131926.070000","bond_value":"","deposit":"41369024.290000","warrent_value":"","fund_value":"","other_value":"12313725.320000","stock_net_asset_ratio":"74.808600","bond_net_asset_ratio":"","deposit_net_asset_ratio":"9.978800","warrent_net_asset_ratio":"","fund_net_asset_ratio":"","other_net_asset_ratio":"2.970300","stock_total_asset_ratio":"72.901100","bond_total_asset_ratio":"","deposit_total_asset_ratio":"9.724400","warrent_total_asset_ratio":"","fund_totalt_asset_ratio":"","other_total_asset_ratio":"2.894500"}]}