📝 docs(tsl): add generated codegen reference
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
# 金融函数 - 基金 / 基金净值
|
||||
|
||||
## 函数
|
||||
|
||||
### `fundMaxMinNaw(beg_t, end_t, type, return_type)`
|
||||
|
||||
取区间内单位(累计)净值的最大或最小值,与系统证券pn_stock()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | -------- | ---------- |
|
||||
| `beg_t` | datetime | 开始日期 |
|
||||
| `end_t` | datetime | 截止日期 |
|
||||
| `type` | any | 返回内容 |
|
||||
| `return_type` | any | 返回的类型 |
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNawlj()`
|
||||
|
||||
最新累计净值,与系统证券pn_stock()和系统时间pn_date()相关。
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNawZf3()`
|
||||
|
||||
最新日收益率(%),与系统证券pn_stock()相关。 对于非货币基金 若无分红 今日净值增长率=(今日净值-昨日净值)/昨日净值 若有分红 今日净值增长率=(今日净值-(昨日净值-分红)/拆分)/((昨日净值-分红)/拆分)。 对于货币基金 今日净值增长率=区间内的复合收益率。
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundIpov()`
|
||||
|
||||
时点净值(ETF/LOF),与系统证券pn_stock()、系统时间pn_date()相关
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNawlAccumulativeNetAsset(end_t)`
|
||||
|
||||
基金指定日累计净值,数据取自基金.净值(328)。与系统股票pn_stock()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | ------------------ |
|
||||
| `end_t` | datetime | 日期类型,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNawlNetAsset(end_t)`
|
||||
|
||||
基金截止日单位净值,数据取自基金.净值(328)。与系统股票pn_stock()相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | ------------------ |
|
||||
| `end_t` | datetime | 日期类型,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNawByRateBegtEndt(begt, endt)`
|
||||
|
||||
区间复权单位净值,与系统参数基金代码、复权方式、复权基准日相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `begt` | datetime | date,开始日期 |
|
||||
| `endt` | datetime | date,截止日期 |
|
||||
|
||||
返回:array
|
||||
|
||||
### `fundNawByRateEndT(endt)`
|
||||
|
||||
指定日复权单位净值,与系统参数基金代码、复权方式、复权基准日相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ----------- |
|
||||
| `endt` | datetime | date,截止日 |
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundZjRatio4()`
|
||||
|
||||
ETF时点折价率,与系统参数(证券代码,时间,周期)相关。
|
||||
|
||||
返回:float
|
||||
|
||||
### `fund7DaysAnnualRate(fundid, endt)`
|
||||
|
||||
7日折算的年化收益率(%) 返回指定基金指定日的7日折算的年化收益率(%),非货币型返回0
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ---- | -------- |
|
||||
| `fundid` | any | 基金代码 |
|
||||
| `endt` | any | 截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
### `fundNetAssetperUnitInReportDate(r_date)`
|
||||
|
||||
单位净值(报告期),与系统参数(证券代码)相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | -------- | ------------ |
|
||||
| `r_date` | datetime | 整数。报告期 |
|
||||
|
||||
返回:float
|
||||
Reference in New Issue
Block a user