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)




"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"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
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) »Data and Content Support »TCPIP streaming data - What is a "P" message?
Author Topic: TCPIP streaming data - What is a "P" message? (2 messages, Page 1 of 1)

sasha
-Interested User-
Posts: 54
Joined: Jul 21, 2004


Posted: Jul 28, 2004 05:13 PM          Msg. 1 of 2
Being new to the API, I'm using the IQExplorer tool for this.

Forgive me if it is in the documentation or forums but I have searched and cannot find the reason/description of a "P" message in the streaming session.

It has the same format as the "Q" Update message.

After watching a symbol using the IQExplorer tool to send the request, the following mesages are seem to be received in all cases:

P,JDSU,F,....
F,JDSU,0F,....
P,JDSU,0F,....
Q,JDSU,F,....

Is there anything special about these two "P" messages or can I treat them like a "Q" Update message?

LonnieS
-King of IQ Development-
Posts: 127
Joined: Jun 2, 2004


Posted: Jul 30, 2004 07:35 AM          Msg. 2 of 2
The P message is a summary message it is used to initially establish the current market values (this is what you are seeing) and to provide corrections and updates not generated by market action.

Q messages are generally market generated messages, trades, quotes, volume adjustments, etc.

The P message is a snapshot of the current market values. Values should be updated but a P message should not generate a historical datapoint, should not update direction indicators (except for those explicitly set), and should not recalculate values. For instance, the trade volume in a P message should not be added to the total volume (it already has been), it simply represents the last trade volume received.

P messages have the same fields as the Q message.

Lonnie Shumate
Development Manager, IQ Systems
DTN Market ACCESS
 

 

Time: Sun May 19, 2024 8:43 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003