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'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
"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
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"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
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
"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
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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: Dec 3, 2019 10:47 AM
Last Visit: Dec 3, 2019 10:47 AM
Website:  
Location:
Occupation:
Interests:
Avatar:
Email: gary.stephen@dtn.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
DTN_Gary_Stephen has contributed to 44 posts out of 19346 total posts (0.23%) in 161 days (0.27 posts per day).

20 Most recent posts:

Yes, I apologize for not replying until now. But I can answer your question:

The HIT function defaults to having the time label at the beginning of the interval. So in your example:

HIT,@VX#C,60,20191022 102800,20191022 103400,,,,1

2019-10-22 10:28:00,18.300,18.250,18.250,18.300,13607,11,0,
2019-10-22 10:29:00,18.300,18.250,18.250,18.250,13783,3,0,
2019-10-22 10:30:00,18.250,18.250,18.250,18.250,13950,16,0,
2019-10-22 10:31:00,18.300,18.250,18.250,18.250,15371,1177,0,
2019-10-22 10:32:00,18.250,18.250,18.250,18.250,16036,637,0,
2019-10-22 10:33:00,18.300,18.250,18.250,18.300,16461,338,0,
2019-10-22 10:34:00,18.300,18.300,18.300,18.300,17083,593,0,

The time period designated 10:29:00 is the beginning of the interval; this interval covers the time from 10:29:00 to 10:29:59.99999. It is possible to make this request such that the time period labeled 10:29:00 ends at 10:29 instead of starting at 10:29. That parameter is called LabelAtBeginning, and you have to enter a 0 there:

HIT,@VX#C,60,20191022 102800,20191022 103400,,,,1,,,,0

This will return:

2019-10-22 10:29:00,18.300,18.250,18.250,18.300,13607,11,0,
2019-10-22 10:30:00,18.300,18.250,18.250,18.250,13783,3,0,
2019-10-22 10:31:00,18.250,18.250,18.250,18.250,13950,16,0,
2019-10-22 10:32:00,18.300,18.250,18.250,18.250,15371,1177,0,
2019-10-22 10:33:00,18.250,18.250,18.250,18.250,16036,637,0,
2019-10-22 10:34:00,18.300,18.250,18.250,18.300,16461,338,0,
2019-10-22 10:35:00,18.300,18.300,18.300,18.300,17083,593,0,

The time period designated 10:29:00 is now the time period beginning at 10:28:00.0000001 and ending at 10:29:00. You can see that the time period with 11 volume is labeled 10:28 in the first example and 10:29 in the second. So you can make the timeframes of the history command match those of a watch command if you want.

Sincerely,
Gary Stephen
DTN IQFeed API Support

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



Yes, that is a correct statement. If you like, I can put in a request to add more historical split dates to the data the API can return.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



An updated version of the file is available: ftp://www.dtniq.com/beta/IEOPTION.zip

The folder ftp://www.dtniq.com/beta/ also contains some dated past versions of this file.



Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on Nov 20, 2019 at 11:07 AM
Edited by DTN_Gary_Stephen on Nov 20, 2019 at 11:07 AM


I have requested that a new version of the file be generated.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



The short answer is: that's an incorrect assumption.

The Close of a minute is not necessarily the Open of the next minute, even within the same day. Minute data is built from individual trade data within that minute. For example, the last transaction of the 10:00 minute can have a price $5.00, and the first transaction of the 10:01 minute can have a price of $5.01. That would give you a 10:00 Close of $5.00 and a 10:01 Open of $5.01. This is common.

In other words, IQFeed doesn't publish an Open based on the Close of the previous interval. An Open only occurs when a new transaction happens, and that new transaction may be at a different price level than the previous.

Sometimes the Open of a minute (or any interval) will match the Close of the previous one, but this is by circumstance only.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » API on Linux Oct 31, 2019 09:23 AM (Total replies: 1)

Marcin,

IQFeed has always been developed as a Windows program. The app IQConnect.exe is what makes the connection to the API servers. The only thing you have to do is launch it with some parameters to make the connection with the IQFeed servers.

IQFeed does have a number of Linux users, and there is a long-term plan to implement IQFeed for it, though there is currently no ETA. So, in the meantime, you’ll have to use Wine or a comparable solution to run IQConnect.exe in Linux. I can help with this.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist



I am looking into this now, and will post an answer soon.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Futures Options symbol construction Oct 14, 2019 11:26 AM (Total replies: 3)

Yes, that name convention appears to be correct. I'm finding option symbols for:

@JPUJ20P9300 JPY/USD PREMIUM SYLE 2PM FIX APRIL 2020 PUT 9300
@GBUJ20C12400 GBP/USD PREMIUM STYLE 2 PM FIX APRIL 2020 CALL 12400

By the way, I was able to locate these with the IQFeed.net symbol lookup tool at:
http://iqfeed.net/symbolguide/index.cfm?symbolguide=lookup&displayaction=support§ion=guide&web=iqfeed

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Allow me to introduce myself. Oct 14, 2019 10:39 AM (Total replies: 0)

Hello! This is Gary Stephen with DTN. It occurs to me that I jumped into this forum without properly introducing myself, so I will do so now.

I joined the IQFeed team at DTN in July of this year. I specialize in supporting the IQFeed API, and to a lesser extent IQFeed in general, and other DTN product APIs. I worked for DTN from 2012-17 in a different capacity, and am happy to have rejoined the company. I am based in Omaha, where our corporate office is, but I'm from Florida originally. Much of my background is in websites; I like working with HTML/CSS, PHP, MySQL, and JavaScript.

I am tasked with answering emails, chats, and forum posts. I try to get to everything as quickly as possible. The developer support address comes directly to me. Feel free to send me any questions you may have about the API! It's great to be here, and I hope I can help you get the most out of the product!


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Steve_S on Oct 14, 2019 at 11:01 AM


I can give you a little information about the Trade Aggressor field. As of Protocol 6.1, which was released about a month ago, the Trade Aggressor is explicitly reported. The field is available in both watch and historical requests, but the watch command has to be customized to do so via a http://www.iqfeed.net/dev/api/docs/DynamicFieldsets.cfm]Dynamic Fieldset. This will be available for the ICE and CME exchanges going forward; there is relatively little historical data as the exchanges only recently started reporting this.

To your other question:

Quote: Can anyone tell me why comparing the price to the bid and ask in a tick record does not seem to work?


There have been entire academic studies devoted to that question, such as:

https://pdfs.semanticscholar.org/b9b9/257d161bb6fee796dd9a1b9bb725abf3b7b3.pdf

https://quant.stackexchange.com/questions/14512/algorithm-to-detect-the-aggressor-side-of-a-trade

I can't really advise you on how to design an algorithm, so I hope the above links are helpful. I can answer any questions you may have about the data the API returns.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Futures Options symbol construction Oct 14, 2019 09:41 AM (Total replies: 3)

Try:

@EUUZ19P11100
@EUUZ19C11200

Note the extra U after the base @EU, before the month code.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » News Story Download Limit. Oct 11, 2019 11:28 AM (Total replies: 6)

The Error code 15 means "empty XML document." It means the request didn't return anything. There's no matching stories for the parameters you specified (date, symbol, provider, etc.) If you're not sure why you're getting such an error, post the command you're doing and I can take a look. Let me know your Protocol also, or if you are not specifying one.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » What does this error mean? Oct 10, 2019 08:49 AM (Total replies: 3)

WSAEWOULDBLOCK is a windows socket error code. It means that IQConnect tried to send data to your application, but there was no space left on the socket buffer to receive it. When this happens, IQFeed queues any further data until that data can be delivered, or the app disconnects. The next two lines indicate that this happened (the socket closed and the app disconnected). The remaining lines describe IQConnect/IQFeed shutting down. This is all normal behavior.

So the underlying problem is that the socket buffer is filling, meaning that data is coming in faster than the program is processing it.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » News Story Download Limit. Oct 7, 2019 05:31 PM (Total replies: 6)

That sounds like an error on our end. There isn't a news story limit that I know of. I will investigate and follow up on this thread.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » What does this error mean? Oct 7, 2019 03:44 PM (Total replies: 3)

I will review this log and let you know my findings. We may want to get a more complete log from you as well.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Average Volume field in fundamental data Oct 7, 2019 03:43 PM (Total replies: 1)

We are discussing making an update to this effect. Adding units for clarity is a good idea, but we want to do it for all columns that might benefit from it.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » NHL Request Documentation. Oct 7, 2019 03:25 PM (Total replies: 4)

Yes, this is correct. The text on the help page is unclear. I will have it corrected.

You can specify news from any specific date (20191007) or any date range, which is separated by a dash (20191001-20191007). If you want more than one specific date, or date range, you separate them with a colon:

For example:

NHL,,QQQ,,10,20191007 (returns stories from October 7)

NHL,,QQQ,,10,20191001-20191007 (returns stories from October 1 through October 7, inclusive of all dates in between)

NHL,,QQQ,,10,20190612:20191007 (returns stories from October 7 and June 12, but no dates in between)

NHL,,QQQ,,10,20190612:20191001-20191007 (returns stories from June 12, and October 1 through October 7)

NHL,,QQQ,,10,20190601-20190607:20191001-20191007 (returns stories from June 1 through June 7, and October 1 through October 7)

And so forth. You can also have three or more dates/date ranges.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » HTT Trade Aggressor Oct 3, 2019 02:17 PM (Total replies: 5)

My only guess is that maybe you were using a different protocol, but there's no past protocol that would produce the comma-separated list you provided for an HTT command. So I really don't know what happened. Definitely let me know if it happens again.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Bugs in SBS (Symbols by SIC lookup) query Oct 2, 2019 04:15 PM (Total replies: 4)

UPDATE: I've been advised by our data people that the missing company names is a known behavior. These are all new symbols, and apparently sometimes it takes a day or two for the company name field to populate. So this is nothing unusual.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist


IQFeed Developer Support » Bugs in SBS (Symbols by SIC lookup) query Oct 2, 2019 10:32 AM (Total replies: 4)

OK, I see what you're saying. I will report a bug as:

1. SBS returns no data for 01, 02, 03, 07, 08, 09. I even tried doing SBS,1 instead of SBS,01, but that returns an "invalid code" error. (43, 93, and 94 return no data, but given the public-sector nature of those categories, I suspect that is correct.)

2. I found a total of 152 codes in the SBS command that do not appear in the SSC query. I'll send you an email so we can compare lists.

3. The missing name problem seems to be larger in scope. I got some missing names too, but not the same symbols; for me it happens to YKLTF, AMPO, LCHD. If I run the command again, they are still missing, so it isn't random. If I run a Watch command on those symbols, there's no company name there either. The symbols you listed now show names, and I don't see that any of the symbols have recently activated or deactivated. I will report this also, but I don't think it's necessarily an SBS/SSC problem.


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on Oct 2, 2019 at 10:38 AM


Time: Tue December 10, 2019 6:58 AM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003