This stopped working as well (C# app):
iHistoryHandle = eSignal.get_RequestHistory(sSymbol, "D", IESignal.barType.btBARS, 1, -1, -1);
dtStart = DateTime.Now;
while( eSignal.get_IsHistoryReady(iHistoryHandle) == 0 )
{
Application.DoEvents();
if( DateTime.Now > dtStart.AddSeconds(10) )
break;
}
Always times out.
Everything worked fine as of Thursday. Just my luck I was hoping to demo this tomorrow. I would be most appreciative if you could help keep me from looking like a complete idiot tomorrow.
Kevin
iHistoryHandle = eSignal.get_RequestHistory(sSymbol, "D", IESignal.barType.btBARS, 1, -1, -1);
dtStart = DateTime.Now;
while( eSignal.get_IsHistoryReady(iHistoryHandle) == 0 )
{
Application.DoEvents();
if( DateTime.Now > dtStart.AddSeconds(10) )
break;
}
Always times out.
Everything worked fine as of Thursday. Just my luck I was hoping to demo this tomorrow. I would be most appreciative if you could help keep me from looking like a complete idiot tomorrow.
Kevin
Comment