ExpirationDate

From MultiCharts
Revision as of 13:51, 18 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value, indicating the expiration date of the financial instrument the study is applied to. The date is indicated in the YYYMMdd format, where YYY is the nu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns a numerical value, indicating the expiration date of the financial instrument the study is applied to. The date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.

For example, the value returned for the date of October 30th, 2008 will be 1081030, and for April 2nd, 1999 will be 990402.

Usage

ExpirationDate

A valid expiration date will be returned for futures or options only.

Example

ExpirationDate will return a value of 1081030 for October 30th, 2008

ExpirationDate will return a value of 990402 for April 2nd, 1999