New to ActiveX integrated to Excel I need some help on a simple task.
I need to modify the code to the OnQuoteChanged to get streams on real time quotes on about 100 stocks
from the original GetBasicQuote code :
Private Sub esignal_OnQuoteChanged(ByVal sSymbol As String)
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote(sSymbol)
Sheet1.Cells(5, 3) = quote.dBid
Sheet1.Cells(5, 4) = quote.dAsk
Sheet1.Cells(5, 5) = quote.dLast
End Sub
question: must i create a loop inside that private sub that will reprint each cell on each quote change, but then, which quote change would be used by the system? the last symbol entered only???
question 2: there must be a simpler way to do that ? anyone knows ?
question 3: this is the code for a "Basic" quote. Is there the same thing for an "Extended" quote that would provide more daily information ?
Thanks
(Thanks GenSpoo "George" for your previous answer)
_________
Nothing Super about my poor programming skills, only my logon which makes me feel better...
I need to modify the code to the OnQuoteChanged to get streams on real time quotes on about 100 stocks
from the original GetBasicQuote code :
Private Sub esignal_OnQuoteChanged(ByVal sSymbol As String)
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote(sSymbol)
Sheet1.Cells(5, 3) = quote.dBid
Sheet1.Cells(5, 4) = quote.dAsk
Sheet1.Cells(5, 5) = quote.dLast
End Sub
question: must i create a loop inside that private sub that will reprint each cell on each quote change, but then, which quote change would be used by the system? the last symbol entered only???
question 2: there must be a simpler way to do that ? anyone knows ?
question 3: this is the code for a "Basic" quote. Is there the same thing for an "Extended" quote that would provide more daily information ?
Thanks
(Thanks GenSpoo "George" for your previous answer)
_________
Nothing Super about my poor programming skills, only my logon which makes me feel better...
Comment