I am having trouble requesting historical data using the API. I can get realtime updates but not the initial request. I have code similar to the following:
esignal = new IESignal.HooksClass();
esignal.OnQuoteChanged += new IESignal._IHooksEvents_OnQuoteChangedEventHandler( esignal_OnQuoteChanged);
esignal.OnBarsReceived += new IESignal._IHooksEvents_OnBarsReceivedEventHandler( esignal_OnBarsReceived);
esignal.OnBarsChanged += new IESignal._IHooksEvents_OnBarsChangedEventHandler(e signal_OnBarsChanged);
esignal.SetApplication(user);
esignal.ReleaseAllHistory();
esignal.RequestSymbol(symbol, 1);
int handle = esignal.get_RequestHistory(symbol, "D", IESignal.barType.btDAYS, 3, -1, -1);
The esignal_OnQuoteChanged and esignal_OnBarsChanged functions get called but not the esignal_OnBarsReceived
Even when I use the sample C# program MultipleHistorySample, I get the same result.
Is it related to my account?
esignal = new IESignal.HooksClass();
esignal.OnQuoteChanged += new IESignal._IHooksEvents_OnQuoteChangedEventHandler( esignal_OnQuoteChanged);
esignal.OnBarsReceived += new IESignal._IHooksEvents_OnBarsReceivedEventHandler( esignal_OnBarsReceived);
esignal.OnBarsChanged += new IESignal._IHooksEvents_OnBarsChangedEventHandler(e signal_OnBarsChanged);
esignal.SetApplication(user);
esignal.ReleaseAllHistory();
esignal.RequestSymbol(symbol, 1);
int handle = esignal.get_RequestHistory(symbol, "D", IESignal.barType.btDAYS, 3, -1, -1);
The esignal_OnQuoteChanged and esignal_OnBarsChanged functions get called but not the esignal_OnBarsReceived
Even when I use the sample C# program MultipleHistorySample, I get the same result.
Is it related to my account?