Hi,
I have historic data back to 1900. .SPX in my Metasctock database has a value for 28/02/1900.
When I run the Explore on .SPX it is all fine. When I create a ~Add to Composite with the date of 28/02/1900 i get Invalid DateTime.
All tickers created with ~Add to Composite have invalid date instead of 28/02/1900.
Does any one know a trick to solve this issue? /trick/setting, anything......
@jbenfeld, I don't know if you are aware, but there is a very well documented Excel/OLE related bug handling dates, that for compatibility reasons is also replicated at least in on AmiBroker function (specifically the DaysSince900() one). (See also this Wikipedia article).
This bug refers to a "phantom" Feb 29th, 1900, (that year WAS NOT a leap year).
So I cannot say if this is also the cause of the issue you are facing, but the fact that it is a day after the one that you indicated is at least a bit suspicious....
Unfortunately, I have no idea to handle your specific issue.