Hi, I just started using Desktop API and would like to know...
Q1:
esignal_OnQuoteChanged(ByVal sSymbol As String)
-> esignal.GetBasicQuote(sSymbol)
I'm only able to get Bid,Ask and Last from this, is there any way to extract day high/low/change realtime?
Q2:
Private Sub QuoteRefresher_Timer()
sSymbol = edtRequestSymbol.Text
esignal.RequestSymbol sSymbol, False
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote(sSymbol)
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
End Sub
Running the above statement multiple times will greatly increase winsig.exe memory load. I'm I wrong to say that this actually take 1 quote from Esignal then disconnects? When I actually loops the above statement over time mem usage increased (4k at a time?) to 400kMem over 48hrs -> Crash!
I know i should be using esignal_OnQuoteChanged. but just my 2 cents on this issue
Q1:
esignal_OnQuoteChanged(ByVal sSymbol As String)
-> esignal.GetBasicQuote(sSymbol)
I'm only able to get Bid,Ask and Last from this, is there any way to extract day high/low/change realtime?
Q2:
Private Sub QuoteRefresher_Timer()
sSymbol = edtRequestSymbol.Text
esignal.RequestSymbol sSymbol, False
Dim quote As IESignal.BasicQuote
quote = esignal.GetBasicQuote(sSymbol)
edtBid.Text = Str$(quote.dBid)
edtAsk.Text = Str$(quote.dAsk)
edtLast.Text = Str$(quote.dLast)
End Sub
Running the above statement multiple times will greatly increase winsig.exe memory load. I'm I wrong to say that this actually take 1 quote from Esignal then disconnects? When I actually loops the above statement over time mem usage increased (4k at a time?) to 400kMem over 48hrs -> Crash!
I know i should be using esignal_OnQuoteChanged. but just my 2 cents on this issue

Comment