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 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
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"Everything is working great with the API. I love it." - Comment from Calvin
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"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
"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
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
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
Viewing User Profile for: DTN_Gary_Stephen
About Contact
Joined: Jul 3, 2019 11:09 AM
Last Post: Sep 28, 2020 07:14 PM
Last Visit: Yesterday @ 02:50 PM
Website:  
Location:
Occupation:
Interests:
Avatar:
Email: gary.stephen@dtn.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
DTN_Gary_Stephen has contributed to 141 posts out of 19823 total posts (0.71%) in 480 days (0.29 posts per day).

20 Most recent posts:
Data and Content Support » Phone/Email support temporarily unavailable Sep 28, 2020 07:14 PM (Total replies: 1)

UPDATE: This issue is now resolved, and our support team is available as normal.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



UPDATE: This issue is now resolved, and our support team is available as normal.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



IQFeed/DTN IQ/ProphetX Support cannot be reached at this time due to a widespread issue with Office 365 (https://twitter.com/MSFT365Status/status/1310696819135901696?s=20). We will respond as soon as possible. We apologize for any inconvenience this may cause.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


Data and Content Support » Phone/Email support temporarily unavailable Sep 28, 2020 06:58 PM (Total replies: 1)

IQFeed/DTN IQ/ProphetX Support cannot be reached at this time due to a widespread issue with Office 365 (https://twitter.com/MSFT365Status/status/1310696819135901696?s=20). We will respond as soon as possible. We apologize for any inconvenience this may cause.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Get consistent historical daily data Sep 28, 2020 02:25 PM (Total replies: 3)

Great! Let me know if you have any more questions about the DTN IQFeed API itself!

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Get consistent historical daily data Sep 28, 2020 07:14 AM (Total replies: 3)

HDX is a daily data command. It returns the last X number of days. HDX,AAPL,1460 would return the last 1,460 days, not different times within the same day.

Having said that, do you send this command multiple times within a day? What you may be collecting are partial datapoints for the current day. If you are specifying S,SET PROTOCOL 6.1 (which you should be doing, unless you have backwards compatibility reasons for doing otherwise), then the HDX command will include a partial datapoint for today. The HDX command doesn't return a time, so I'm guessing the timestamp in your DB is the time you sent the request.

Having said that, I'm not sure how you could get different results for 5-28, unless you were making these requests on 5-28.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


DTN.IQ Client Software Support » IQConnect not working on a new system Sep 14, 2020 02:04 PM (Total replies: 12)

Rohan,

OK, thanks for letting me know. I'll see what I can do to help.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


DTN.IQ Client Software Support » IQConnect not working on a new system Sep 14, 2020 01:38 PM (Total replies: 12)

Rohan,

You can't have multiple connections to IQFeed's server from two different computers at once, using the same loginID. You can have multiple active, simultaneous connections from the same computer.

I reviewed the log you sent me. It only tells me that you're being disconnected by the server. The most likely cause is that a second connection, from a different machine, using the same loginID is happening. Are you trying to make multiple connections at once in a way that could be interpreted as coming from two different machines? If so, that would explain the disconnections.

Generally, the only other reason the server will disconnect you is if you have a server connection and no active socket connections for 30 seconds. From your log, that does not appear to be the case.

Having a second login ID would allow you to have two connections from different machines at once, but you'd have to get a second ID, or a demo ID, from sales.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


DTN.IQ Client Software Support » IQConnect not working on a new system Sep 9, 2020 02:05 PM (Total replies: 12)

Rohan,

Those logs don't tell me very much. I'd like to get a complete IQFeed log from you if possible. Set the Logging Groups to All Level 1. This can be done with the API command:

S,SET LOG LEVELS,60

That file will be iqconnect.txt, stored in the Wine equivalent of MyDocs. See http://www.iqfeed.net/dev/api/docs//IQConnectLogging.cfm for more details about sending log commands via the API. You can email the log file to the developer support email address and I will review it.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



The values you see in a 5MS report are the same values you would see if you were watching the symbols on the level 1 port at the time the snapshot was taken. In other words, the 5MS reports are the Summary (P,) message you would get if you followed the symbol at that moment.

As a result, the OHLC are for the current day up to that point, with Close being the previous day until the current day is actually closed. Bid/ask would also be current values. Any bid/ask values that aren’t cleared out by the exchange overnight would still be there the following morning (because they are still valid). So in that way, it is possible for a Bid/Ask to be from a previous day.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



I believe they are the OHLC for each 5-minute bar, but I will confirm that. I also think any Bid or Ask shown is from that 5-minute period, meaning that is from the same day (because the 5-minute bars start/end at midnight and do not split across days).

How would Bid Time and Ask Time fields work for a 5-minute summary? Are you wanting to know the time of the peak Bid and Ask within each 5-minute bar?

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


DTN.IQ Client Software Support » IQConnect not working on a new system Sep 9, 2020 08:02 AM (Total replies: 12)

Regarding #2, the key log entry is:

Quote: Error while connecting to IQHistory: Connection refused: 127.0.0.1:9100


This is usually caused by one of the following (in no particular order):

The port is in use. Make sure nothing else is using port 9100. To do this, use the IQFeed Diagnostics app, with IQFeed otherwise not running. The "Start Listening" button should give you success on all ports. If it fails on 9100 but not the others, something else may be occupying that port.

Firewall interference. Make sure you are whitelisting IQFeed API's IP addresses, which are 66.112.156.* and 66.112.148.*, ports 5000-5050 and 60000-60050, inclusive.

No socket connections exist. If you close all socket connections, the server will disconnect you after 30 seconds. This is easy to identify in the logs. Your iqconnect.exe parameters are correct to establish a connection, so I don't think that's the problem in your case, but I include it for completeness.

Look into those and let me know your results.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


DTN.IQ Client Software Support » IQConnect not working on a new system Sep 9, 2020 06:33 AM (Total replies: 12)

To answer Issue 1:

Quote:
I run iqconnect.exe
I get the window, but the connect button is greyed out. I can't make it active by typing in any text boxes. The "Quit" button is fully active & functional though


This is normal behavior. The Connect button will be grayed out if you don't have any connections active. To make it active, launch one of the IQFeed apps or connect to one of the ports via the API. That will make the Connect button visible.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Is there a way to limit SBF lookup responses? Sep 8, 2020 11:20 AM (Total replies: 2)

You can filter SBF searches by Security Type or Exchange, but not both. To use a random example:

SBF,s,SK

Without any filters, this returns 6,984 matches. If you know you're looking for an equity, you can do this:

SBF,s,SK,t,1

The t means "security type" and the 1 is type 1, which is equities. The command SST returns a list of these codes and what they mean. That search returns only 160 matches, all of which are equities.

You can use multiple codes:

SBF,s,SK,t,1 2 3

And you'll get matches from any of those three security type (equities, index/equity options, mutual funds).

Similarly, you can use the letter e to limit responses to one or more listed markets:

SBF,s,SK,e,7

This will return only the 22 symbols traded on NYSE. You can also use the same space-separated list to search for symbols that may be on any of multiple exchanges. The command SLM returns the list of exchange codes.

All of these techniques also work with text searches:

SBF,d,mini,e,7

This only returns about 30 matches, all of which are NYSE symbols.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed 3rd Party Software Support » Daily (not Intraday) Splits Sep 8, 2020 10:38 AM (Total replies: 22)

Okay, I have an update on this thread. It seems my earlier answer was incomplete.

We handle splits differently for NYSE-listed stocks than for NASDAQ-listed stocks. It has to do with how we receive the split data. For NASDAQ, we split data directly from the exchange, and do not update the fundamental message until the split date. For NYSE, we receive split information from a third party, and their data can be added to our files ahead of the split date. This is what happened with TREX.

I hope that clears this up!

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



If you only need the most recent Bid and Ask - and you don't need it on an ongoing basis - a historical HTX command will work.

HTX,AAPL,1
2020-09-02 14:53:23.319623,130.8698,379,167406211,130.8400,130.8700,397564,C,19,01,0,2,
!ENDMSG!,

This returns the most recent tick for that symbol. Please note that this will occasionally return !NO_DATA!, because HTX only returns Last Qualified, Extended, and Other trades, and sometimes the most recent tick isn't one of those. If you're writing code around this approach, you'll have to account for that possibility.

If you want to get regular Bid and Ask updates on some symbols, you can follow the symbol, and send an UPDATE command that will only return Bid and Ask. If you want to do this for an entire exchange, one of the Market Summary commands would be your best option.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed 3rd Party Software Support » Daily (not Intraday) Splits Sep 2, 2020 08:08 PM (Total replies: 22)

Roberts,

Good question, since that clearly contradicts what I just posted. I will work with our data team to get to the bottom of this, and post my findings.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



To clarify a few questions I have received about this change:

1. Only NYSE symbols are affected. You will still get Short Interest data for other symbols.
2. The Short Interest data point will not be removed from the API response. It will just be blank for NYSE symbols (as it has been for NASDAQ symbols for a couple years now). So no change to any code is required.


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on Sep 2, 2020 at 01:20 PM


NYSE has informed DTN that NYSE Short Interest data will now require a charge and registration to receive the data. For many years, DTN has provided this data as part of the fundamental data within your service. As we do not want to have our customers incur more fees, we have chosen to remove this data from your current service. The removal of the data will occur on September 4th. We understand that any change in service could affect you, and we do not take these decisions lightly. As always, DTN will continue to look for and add markets that would be important to your business. If you have questions, please feel free to contact us.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Complete Errors List? Aug 31, 2020 03:19 PM (Total replies: 2)

There isn't a complete list I can compile for you. But all error message will start with E, and your code can watch for that.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



Time: Sat October 24, 2020 9:12 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003