NewReportDateByType2
简述
返回指定日最新指定类型报告期,与系统参数(证券代码)相关。
NewReportDateByType2(EndT:TDateTime;RDateType:Integer):Integer
| 名称 | 类型 | 说明 |
|---|
| EndT | TDateTime | 日期。截止日 |
| RDateType | Integer | 用户自定义。报告期类型,取值如下:
|
显示名 |
取值 | |
最新报告期 |
0 | |
一季度 |
1 | |
中报 |
2 | |
三季度 |
3 | |
年报 |
4 | |
中报+年报 |
5 | |
一季报+三季度报 |
6 | |
年报+一季度 |
7 | |
年报+三季度 |
9 |
|
| 返回 | Integer | 整数。返回指定日最新指定类型报告期。 |
SetSysParam(PN_Stock(),'SH600276');
return NewReportDateByType2(IntToDate(20090217),5);
//最新中报或年报,返回结果为:20080630