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 have an excellent product !!!!!!" - Comment from Arely
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"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
"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
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: Tue May 14, 2024 7:43 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003