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)




"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"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
"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
"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
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
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 »NEW IQFEED FORUMS »IQFeed API Questions »How to get Open Interest value?
Author Topic: How to get Open Interest value? (2 messages, Page 1 of 1)

yvo109
-Interested User-
Posts: 1
Joined: Aug 30, 2023


Posted: Aug 30, 2023 09:38 AM          Msg. 1 of 2
Hello,

In 4.9 version I pull Open Interest value from a Summary message (P type) containing about 70 field values. Protocols 5.x+ return Summary message with only a few fields, none of them looking like Open Interest.
What is the correct way of obtaining an Open Interest value in protocol 5.x+ ?

Thank you!

DTN_Gary_Stephen
-DTN Guru-
Posts: 396
Joined: Jul 3, 2019


Posted: Sep 5, 2023 02:05 PM          Msg. 2 of 2
In Protocol 4.9, The P message consists of a pre-determined list of fields, listed at https://www.iqfeed.net/dev/api/docs/docs51/Level1UpdateSummaryMessage.cfm.

In later protocols, the default set of fields varies. However, the S,SELECT UPDATE FIELDS command lets you customize what fields are in the Q message, and this will apply to the P message as well. You just need to do a S,SELECT UPDATE FIELDS command, and include "Open Interest" as one of your field names. Then, when you watch symbols, Open Interest will be part of the message.

The command S,CURRENT UPDATE FIELDNAMES will tell you your current list of field names, whether it is the default set or if you have previously customized.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Sun May 5, 2024 3:58 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003