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)




"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
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: Tue May 21, 2024 5:03 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003