# 金融 / 基金 / 投资组合 / 份额变动 ## `fundssnetassetvalue(rdate)` 声明:function 返回指定报告期基金资产净值(万),与当前证券相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | 返回:real ### 示例 范例01:调用函数 ```tsl // 计算基金OF006872在2019年报的基金资产净值(万) setSysParam(pn_stock(), "OF006872"); return fundssnetassetvalue(20191231); // 输出:19402.6657367436 ``` ## `fundssnetassetvolume(rdate)` 声明:function 返回指定报告期基金总份额,与当前证券相关 | 参数 | 类型 | 说明 | | ------- | ---- | --------------- | | `rdate` | int | 整型,指定报告期 | 返回:float ### 示例 范例01:调用函数 ```tsl 计算基金OF006872在2019年报的基金总份额 SetSysParam(pn_stock(), "OF006872"); return FundSSNetAssetVolume(20191231); ``` ## `fundsspurchasevalue(rdate, rdate_2)` 声明:function 返回指定报告期基金净申购金额(万),与当前证券相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | 返回:real ### 示例 范例01:调用函数 ```tsl // 计算基金OF000001在2019年报的基金净申购金额(万) setSysParam(pn_stock(), "OF000001"); return fundsspurchasevalue(20191231, 20181231); // 输出:53870.359121009 ``` ## `fundsspurchasevolume(rdate, rdate_2)` 声明:function 返回指定报告期基金净申购份额,与当前证券相关 | 参数 | 类型 | 说明 | | --------- | ---- | --------------- | | `rdate` | int | 整型,指定报告期 | | `rdate_2` | int | 整型,同比报告期 | 返回:float ### 示例 范例01:调用函数 ```tsl 计算基金OF000001在2019年报的基金净申购份额 SetSysParam(pn_stock(), "OF000001"); return FundSSPurchaseVolume(20191231, 20181231); ```