Fund Size Changes
Fund Size Changes
Documentation
API Overview
This API is used to query the historical asset size changes of a specified fund. By passing the fund code, you can obtain the fund's net asset value (in CNY) on different statistical dates and the rate of change compared to the previous statistical period. The data supports paginated returns, making it convenient for developers to integrate into financial terminals or data analysis systems.
Use Cases
- Investment Research Data Analysis: Analyze fund size expansion or contraction trends and assess capital flows.
- Product Comparison Display: Display historical fund size changes on wealth management platforms to assist user decision-making.
- Risk Monitoring: Monitor abnormal fluctuations in fund size and warn of liquidity risks.
Request and Response Details
- Request Method: POST
- Core Parameters:
fundCode(required): Fund code, e.g., "000001".pageNo(optional): Page number, defaults to 1.pageSize(optional): Number of records per page, defaults to 10, maximum 50.- Response Result:
data.list: Contains an array of objects, each includingassetDate(statistical date),asset(fund net assets, in CNY),assetRate(rate of change from the previous period).code: Status code, 200 indicates success.taskNo: Task number for this request, used for troubleshooting.
Integration Suggestions
- Caching Strategy: Fund size data is typically updated quarterly or semi-annually; it is recommended to cache historical data locally to reduce redundant requests.
- Error Handling: Please validate the returned
codefield; if not 200, readmsgto get the error message. - Data Interpretation:
assetRateis a percentage value; positive numbers indicate growth in size, negative numbers indicate reduction. It needs to be formatted for display in conjunction with specific business logic.
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"fundCode": "基金代码",
"pageNo": "页码,默认1",
"pageSize": "每页记录数,默认10,最大50"
}Response Example
{
"code": 200,
"msg": "成功",
"taskNo": "492823910191448773171202",
"data": {
"list": [
{
"assetDate": "2024-06-30",
"assetRate": 95.9969,
"asset": 5920507.22
}
]
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |
| properties | object | {...} |
| properties.fundCode | object | {...} |
| properties.fundCode.type | string | string |
| properties.fundCode.description | string | 基金代码 |
| properties.pageNo | object | {...} |
| properties.pageNo.type | string |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| type | string | object |
| properties | object | {...} |
| properties.code | object | {...} |
| properties.code.type | string | number |
| properties.code.example | number | 200 |
| properties.code.description | string | 返回码,详见返回码说明 |
| properties.msg | object |