Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »DTN Satellite Products »Pre-market/post-market trades
Author Topic: Pre-market/post-market trades (2 messages, Page 1 of 1)

tfjield
-Interested User-
Posts: 4
Joined: Jan 10, 2008


Posted: Jan 10, 2008 06:22 PM          Msg. 1 of 2
Hi,

Does the DTN satellite developer's feed transmit pre- and post- market trades? If so, I am unable to catch them.

I'm thinking that it is perhaps due to a flag that I'm checking for to make sure the trade is a current, valid trade, but I'm not sure which it could be.

That flags I'm looking at are illustrated in the following code:

if(csSymbol.CompareNoCase("QMON")) // Don't process the test quote
if(csSymbol.CompareNoCase("ZZZZZZZZ")) // Don't process the test quote
if(!(cUpdateInfoType & 0x60)) // Normal Updates only
if(iQuoteStatus != 0xFFFF) // Quote status is valid
if(iQuoteStatus & 0x0002) // Trade bit
if(iQuoteStatus & 0x0400) // Instant Quote
if(!(iQuoteStatus & 0x0800)) // Not a correction
if(iMarketCondition != 11) // Not out of sequence
if(iMarketCondition != 3) // Not a BunchedSold trade (reported late)
if(iMarketCondition != 6) // Not a PriorReference trade
if(fLast >= 0.0f) // No negative quotes
Process Quote Here...

If anyone has any suggestions, I would appreciate the help. I have already asked Jim F, but I can't seem to get an answer. :(

Thank you!

tfjield
-Interested User-
Posts: 4
Joined: Jan 10, 2008


Posted: Jan 11, 2008 04:45 PM          Msg. 2 of 2
Jim got back to me. There's a bit that I was missing: Quote Status Bit 13 0x2000 After Market Trade. Didn't even see if after I don't know how many readthroughs of the spec!

So the line above was changed to:

if(iQuoteStatus & 0x0002 || iQuoteStatus & 0x2000) // Trade bit or After Hours Trade bit

and all is good.

Anyway, thank you Jim and everyone else!
 

 

Time: Sat May 4, 2024 10:48 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003