Date alarms require the use of the DATE parameter, an operator, and a date stated MM/DD/YY format. Optionally, you can specify a date and a time by using the AND Boolean operator.Date Alarm Examples
Example | Description |
DATE==12/1/93 | Alarm if the date is December 12, 1993. |
DATE>12/1/93 | Alarm if the date is after December 12, 1993. |
DATE<12/1/93 | Alarm if the date is before December 12, 1993. |
DATE>=12/1/93 | Alarm if the date is December 12, 1993, or if the date is date December 12, 1993. |
DATE<=12/1/93 | Alarm if the date is December 12, 1993, or if the date is before December 12, 1993. |
DATE!=12/1/93 | Alarm if the date is not December 12, 1993. |
where <instrument_symbol> can be any instrument symbol or wildcard symbol delimited with the .EXPIRE code, and <days> is the number of days before expiration. It is important to delimit the instrument symbol or wildcard symbol with the .EXPIRE code. This code provides an expiration date. By subtracting a number of days from this date, the trigger condition can identify a date before the expiration date. As a result, you can use alarms to give you some lead time before futures and options expire.