ES_MI_DateByType
简述
增发事件相关日期,与系统证券pn_stock()无关。
ES_MI_DateByType(BegT:TDateTime;EndT:TDateTime;DateType:Integer):TDateTime
名称 | 类型 | 说明 |
---|
BegT | TDateTime | 日期类型,开始日期 |
EndT | TDateTime | 日期类型,截止日期 |
DateType | Integer | 事件研究_增发日期类型
显示名 |
取值 |
预案公布日 |
0 |
股东大会决议日 |
1 |
实施日 |
2 |
上市日 |
3 |
|
返回 | TDateTime | 整型数据,增发事件相关日期 |
//返回万科A在2006年1月1日至2007年1月1日的预案公布日。
setsysparam(pn_stock(),'SZ000002');
begt:=inttodate(20060101);
endt:=inttodate(20070101);
v:=ES_MI_DateByType(begt,endt,0);
return v;
//结果:20060918