PendingCorpAct(ca_type[, ca_retvalue])
PastCorpAct(ca_type[, ca_status, lookback, ca_retvalue])
DaysFromMergerAnn
Use these functions to screen for or eliminate stocks that have specific corporate actions. The functions find the corporate action with the closest announce date to the observation date (point in time date). They were primarily designed for automated systems where it’s desirable to avoid/sell stocks that are:
| ca_type |
Required parameter. Must be one of the following:
Action Groups #MANDA - any of the individual actions except #SPLIT #MANDAEXSPIN - any of the individual actions except #SPLIT & #SPINOFF Individual Action #SPINOFF #LIQUIDATION #MERGER #BUYOFF #NEWOFFER #MERGEREL - merger elect #SPLIT | |
ca_status |
Defaults to #STATUSOK Status Groups #STATUSANY #STATUSOK - either #COMPLETION or #APPROVAL #STATUSFAIL - either #TERMINATION or #REJECTION Individual Status #COMPLETION #APPROVAL #TERMINATION #REJECTION #MEETING #OTHER #STATUSNA - status not specified by data provider | |
lookback |
Maximum number of days since the close date of the action, defaults to 182 (six months) | |
ca_retvalue |
Specifies what to return, defaults to #TRUEFALSE These always return a value #TRUEFALSE - TRUE if a match is found, FALSE otherwise #ACTIONCNT - number of actions that matched or 0 These return a value if an action was found, NA otherwise #ANNCEDAYS - number of days since the announce date #CLOSEDAYS - number of days since the close date #ACTIONTYPE - action type #ACTIONSTATUS - status of the action #ACTIONRATIO - only meaningful for splits at the moment #ESTIMATEDCLOSE - TRUE if the close date was estimated by us #ACTIONUID - for internal use only |