Once upon a time (last Thursday) this simple piece of code worked
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote("IBM")
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
Now - it doesn't. Moreover when I run this"
esignal.RequestSymbol "IBM", True
DoEvents
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote("IBM")
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
esignal.ReleaseSymbol "IBM"
It doesn't work either UNLESS I put in a call to sleep around 500 ms after the RequestSymbol and before the call to GetBasicQuote. This blows since I was trying to cycle through about 400 basic quotes, a process that used to take less than a half-minute but with a half-second delay becomes about 4 minutes. What happened? Will the ActiveX continue to be this pathetically slow as this was a planned move. What kind of response times can I get from the high-end direct call (or whatever you want to call it) version?
Thanks,
Kevin
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote("IBM")
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
Now - it doesn't. Moreover when I run this"
esignal.RequestSymbol "IBM", True
DoEvents
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote("IBM")
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
esignal.ReleaseSymbol "IBM"
It doesn't work either UNLESS I put in a call to sleep around 500 ms after the RequestSymbol and before the call to GetBasicQuote. This blows since I was trying to cycle through about 400 basic quotes, a process that used to take less than a half-minute but with a half-second delay becomes about 4 minutes. What happened? Will the ActiveX continue to be this pathetically slow as this was a planned move. What kind of response times can I get from the high-end direct call (or whatever you want to call it) version?
Thanks,
Kevin
Comment