In my application, I have a requirement for getting yesterday's close and today's open for a given symbol.
I have looked at several of the examples in the file share as well as some posted here and I am requesting history as
esignal.get_RequestHistory("MSFT", "D", IESignal.barType.btDAYS, 2 , -1, -1);
My goal here being to ask for 2 days of data and knowing what today is, I could then get yesterday's close and todays open by using the dates that the bars are stamped with when the events fire.
However, when I use this, I only receive hits on 14-Oct-2004 (i.e. today).
I never seem to get a 'hit' for 13-Oct-2004 (yesterday), although I have asked for 2 days of historical data.
Any help would be appreciated
-Kevin Anstey
I have looked at several of the examples in the file share as well as some posted here and I am requesting history as
esignal.get_RequestHistory("MSFT", "D", IESignal.barType.btDAYS, 2 , -1, -1);
My goal here being to ask for 2 days of data and knowing what today is, I could then get yesterday's close and todays open by using the dates that the bars are stamped with when the events fire.
However, when I use this, I only receive hits on 14-Oct-2004 (i.e. today).
I never seem to get a 'hit' for 13-Oct-2004 (yesterday), although I have asked for 2 days of historical data.
Any help would be appreciated
-Kevin Anstey
Comment