First I request a symbol, asking for one realtime quote. Then I follow that up immediately with a call to GetBasicQuote.
If the symbol is being tracked (i.e., has had a realtime request previously) then the object fills immediately, presumably with the directly previous value. If it's not, I get zeroes for a short time before the object gets the correct values.
This call to GetBasicQuote returns immediately in either case. Is there any way to make it synchronous, i.e., block the thread until the values are updated? If this scenario is analogous to history and time/sales retrieval, is there some IsQuoteReady equivalent I've missed? Thanks.
If the symbol is being tracked (i.e., has had a realtime request previously) then the object fills immediately, presumably with the directly previous value. If it's not, I get zeroes for a short time before the object gets the correct values.
This call to GetBasicQuote returns immediately in either case. Is there any way to make it synchronous, i.e., block the thread until the values are updated? If this scenario is analogous to history and time/sales retrieval, is there some IsQuoteReady equivalent I've missed? Thanks.
Comment