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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"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
"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
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
"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
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - 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
Viewing User Profile for: altmany
About Contact
Joined: Jul 30, 2018 05:38 AM
Last Post: Mar 11, 2020 02:08 PM
Last Visit: Mar 26, 2020 05:52 AM
Website: https://UndocumentedMatlab.com/IQML
Location:
Occupation: Consultant
Interests: Matlab, finance, trading
Avatar:
IQML - IQFeed-MATLAB connector
Email: altmany@gmail.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
altmany has contributed to 45 posts out of 19450 total posts (0.23%) in 610 days (0.07 posts per day).

20 Most recent posts:
IQFeed Developer Support » Undocumented limit of 4000 headlines? Mar 11, 2020 02:08 PM (Total replies: 3)

Thank you for the clarification Gary.

You may wish to consider updating the official API doc page accordingly: http://www.iqfeed.net/dev/api/docs/NewsLookupviaTCPIP.cfm

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Undocumented limit of 4000 headlines? Mar 6, 2020 05:01 AM (Total replies: 3)

In the following headlines query, I consistently get only 4000 headlines although I requested 5000. Is 4000 an undocumented limit?
NHL,,:,t,5000,,


Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion



I don't want to answer in DTN's stead, but I think you are underestimating the required effort to have HIT support for non-trading ticks. Remember that HIT enables specifying an interval of not just 60 secs but even a couple of secs, as well as any number of ticks (i.e., not a fixed-duration interval) and volume. To support all of these combinations with a custom interval size by the users, IQFeed would be required to store and process every single tick. This may not seem much for out-of-the-money options, but it would be an enormous amount of data for Forex options or S&P 500 equities (for example). In short, except for certain asset classes, it is an unrealistic expectation to support. And if IQFeed were to support non-trading ticks with only these certain asset types, users would naturally complain that all other asset types are not similarly supported.

Note that I am not a DTN employee and this is just my own personal opinion.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion



It is my understanding that only historic trades are stored/reported by IQFeed. The amount of data that would be required to store non-trading ticks would be simply enormous and so AFAIK IQFeed does not offer it.

You can create your own database of bid/ask OHLC bars by streaming all quotes using the w[symbol] (don't use t[symbol] because this streams only trades).

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Market snapshot error on EDS / 5MS command Dec 21, 2019 10:00 AM (Total replies: 10)

Another report of this problem: http://forums.dtn.com/index.cfm?page=topic&topicID=5678

I have also gotten an unrelated independent report on this exact same problem for NASDAQ summary data.

It seems to be a problem that multiple people who use multiple different platforms have experienced. Please look into this matter.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Market Summary Files incomplete Dec 21, 2019 09:56 AM (Total replies: 4)

Cross-reference: http://forums.dtn.com/index.cfm?page=topic&topicID=5649

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » NHL Request Documentation. Oct 6, 2019 07:01 PM (Total replies: 4)

Craig - I agree with you that the description could probably be made clearer. I believe the meaning is simply that the optional Date parameter can be either a single date (YYYYMMDD) or a date range (YYYYMMDD-YYYYMMDD) or any combination of dates and date-ranges, separated by colons. For example, "20190620:20190701-20190731:20190908" means "the single date 2019-06-20, plus the date range 2019-07-01 to 2019-07-31, plus the single date 2019-09-08".

p.s. - in the description, the comma just before the final date is most probably a typo - it should be a colon (:). In IQFeed's API commas are used to separate between parameters and are not allowed within the parameter values. The colon character is used to separate values within a parameter (hence "colon delimited").

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Bugs in SBS (Symbols by SIC lookup) query Sep 29, 2019 05:06 AM (Total replies: 4)

Followup problem #3: SIC groups 00-09 (Agriculture sector) return no symbols at all. For example:
=> SBS,07,x
<= x,E,!NO_DATA!,
<= x,!ENDMSG!

It seems that only SIC groups 10+ are properly processed.

You *do* have information about the Agriculture stocks. For example, you report valid market and fundamental data for AGRO (SIC=0139, i.e. SIC group 01), CVGW (SIC=0179) and FDP (SIC=0179) - It's just that you don't return these symbols in the SBS query since their SIC group < 10.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Bugs in SBS (Symbols by SIC lookup) query Sep 28, 2019 01:46 PM (Total replies: 4)

When I search for symbols by SIC code (SBS query), I can see the following:

=> SBS,28,x 

<= x,2813,AIQUY,3,1,L'AIR LIQUIDE ADR
<= x,2813,FLRE,3,1,FLAMERET INC
<= x,2816,TORM,3,1,TOR MINERALS
...
<= x,2819,ZGSI,3,1,ZERO GRAVITY SOL INC
<= x,2820,CDSAF,3,1,CYDSA SA SER A ORD
<= x,2820,FUPEF,3,1,FUCHS PETROLUB AG
<= x,2820,LNXSF,3,1,LANXESS AG
<= x,2821,ACGJ,3,1,ACI GLOBAL CORP
...
<= x,2834,AIHLF,3,1,
...
<= x,2836,XLRN,1,1,ACCELERON PHARMA INC. COMMON S
<= x,2839,LMDCF,3,1,LINGO MEDIA CORP NEW
<= x,2839,YLWDF,3,1,YELLOW PAGES LTD COMMON SHARE
<= x,2840,DUNIY,3,1,DUNI AB
<= x,2840,HEGIF,3,1,HENGAN INTL
<= x,2841,BTTR,3,1,BETTER CHOICE COMPANY INC. COMMON STOCK
...
<= x,2869,WLKP,7,1,WESTLAKE CHEMICAL PARTNERS
<= x,2870,NHYDY,3,1,NORSK HYDRO ADR
<= x,2870,NHYKF,3,1,NORSK HYDRO ASA ORD
<= x,2873,AGGL,3,1,AGTECH GLOBAL INTERNATIONAL INC. COMMON STOCK
...
<= x,!ENDMSG!

There are 2 problems with these results:

1. SIC group codes 2820,2839,2840,2870 are not listed in the response to a SSC query. I detected 154 such SIC codes that were reported by SBS but not listed by SSC (I can email you this list of 154 if you wish).

2. Some symbols are reported without a company name. I found 4 cases of this problem: AIHLF (SIC code 2834), ELIAF (4911), UTBPP (6798) and FWDE (1311).

I have not tested to check whether similar problems occur with the corresponding NAICS queries (SBN and SNC), but it would not surprise me to discover this.

Please advise...

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Average Volume field in fundamental data Sep 27, 2019 07:55 AM (Total replies: 1)

What is the units of the Average Volume field in the Fundamental data message (http://www.iqfeed.net/dev/api/docs/Level1FundamentalMessage.cfm)? is it shares or USD? is it the nominal value or specified in thousands/millions?

This question chimes with a similar recent query on this forum (http://forums.iqfeed.net/index.cfm?page=topic&topicID=5615), where it was not clear whether the Common Shares Outstanding field is the nominal value or specified in thousands (the latter, in this case).

I therefore suggest adding a <Units> column to the table in the documentation webpage, to make things clearer to users, for these data fields as well as all the others.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » protocol 6.1 problem Sep 8, 2019 01:58 AM (Total replies: 5)

Most likely you are still using the 6.0 client - download and install the 6.1 client from http://www.iqfeed.net/index.cfm?displayaction=support§ion=download

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » S,SERVER DISCONNECTED Aug 12, 2019 03:07 PM (Total replies: 1)

Regarding your 2nd question (Is there a way to get what symbols are currently watched?), you can try a S,REQUEST WATCHES request in the Level1 port - this returns a comma-separated list of all currently-watched symbols.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion



You can use the Exchange_Root field together with the Expiration_Date field (to get the year and month), convert the month into the corresponding letter based on the standard symbology, and concatenate everything together.

For example, @ES# currently reports Exchange_Root='ES' and Expiration_Date='09/20/2019', so the current underlying contract is @ESU19 (U=September). If you compare the data fields of the fundamental report (after placing a simple watch) for @ES# and @ESU19, you'll see that they are identical except for 4 fields that naturally contain different values: Symbol, Historical_Volatility, 52_Week_High, and 52_Week_High_Date.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Silent login (no popup window) Jul 10, 2019 04:50 AM (Total replies: 1)

Is there any way to login to IQFeed without the login window appearing? Today, even if we run IQConnect with -login, -password and/or -autoconnect, the login window still appears for a few seconds until the authentication process completes.

If having a silent login option is not currently possible, then please add it to your next release.



Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

Edited by altmany on Jul 10, 2019 at 04:52 AM

Data and Content Support » Timestamp Resolution for Tick Data Jun 20, 2019 03:31 PM (Total replies: 2)

My hunch is that you are not setting the protocol when you first connect to IQFeed, which then defaults to IQFeed 4.9 behavior. When I run your query using protocol 5.0 I see millisecond timestamp resolution, and with protocol 6.0 or 6.1 I see microsecs resolution.
http://www.iqfeed.net/dev/api/docs/IQFeedProtocols.cfm


Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

Edited by altmany on Jun 20, 2019 at 03:33 PM
Edited by altmany on Jun 20, 2019 at 03:33 PM

Data and Content Support » XGU19 data Jun 13, 2019 06:48 AM (Total replies: 3)

These may be trades done outside regular trading hours (RTH), not via the regular electronic market. The low volume (quantity/size) highlights the difference between such trades (which are infrequent) and trades during normal trading hours.

If you run a streaming query and check the reported MessageContents and TradeCondition fields, you'll probably see that they contain codes that correspond to "Extended/Form-T Trade" (https://www.investopedia.com/terms/f/formt.asp) i.e., traded outside RTH.

Some IQFeed queries have the ability to set a filter (BeginFilterTime, EndFilterTime) that limit the reported results to a specific daily time range (for example, 9:30am to 4pm) - you can set it up so that extended trades are not reported.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion



The MaxDatapoints parameter has precedence over BeginDate/Time, regardless of DataDirection. For example, if MaxDatapoints=3 (as in your example), we’ll only get the 3 latest ticks (before EndDate/Time), regardless of BeginDate/Time. If you don't want this behavior, leave MaxDatapoints empty.

Perhaps DTN should update the documentation with this important clarification, but it seems to me to be a documentation aspect, not a coding bug.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Bug in Level2 BidTime/AskTime? May 15, 2019 06:08 AM (Total replies: 3)

Thanks Steve - here is another example that I have just seen, this time for the FB symbol:

<= 20190515 07:01:01.237 (Level2) Z,FB,CHXE,0.,180.71,0,100,07:00:17.012566,2019-05-15,52,99:99:99.000000,F,T,T

In this new example, the Bid is invalid and the Ask is valid, yet the timestamps appear switched.

As far as I could tell, this problem is evident whenever one Bid/Ask is valid and the other is not. But it is quite possible that the problem of switched BidTime<->AskTime is consistent even when both Bid and Ask are valid, and nobody has reported it so far because it would be nearly impossible to detect except in the specific case of just one of them being invalid.


Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

Edited by altmany on May 15, 2019 at 06:08 AM

IQFeed Developer Support » Bug in Level2 BidTime/AskTime? May 14, 2019 10:28 AM (Total replies: 3)

Hi guys - kindly comment on this...

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion


IQFeed Developer Support » Bug in Level2 BidTime/AskTime? May 2, 2019 04:15 AM (Total replies: 3)

when I ran a level 2 request for MSFT outside regular trading hours, I got the following data row among others:

<= 20190502 04:18:38.700 (Level2) Z,MSFT,BATS,0.,129.39,0,600,18:29:49.000347,2019-05-01,52,99:99:99.000000,F,T,T

According to the documentation (http://www.iqfeed.net/dev/api/docs/Level2UpdateSummaryMessage.cfm), this row translates as follows:

      Symbol: MSFT
MMID: BATS
Bid: 0
Ask: 129.39
BidSize: 0
AskSize: 600
BidTime: 18:29:49.000347
Date: 2019-05-01
Condition: 52 (regular)
AskTime: 99:99:99.000000
BidInfoValid: False
AskInfoValid: True
EndOfMessage: True

The reported BidTime and AskTime make no sense - it is the Bid which is invalid (and should have the invalid time of 99:99:99), and the Ask which is valid (and should have the valid time of 18:29:49). Is this a bug in IQFeed's code?

If I'm correct, perhaps it would be simpler to fix the documentation than to fix the code - switching between BidTime/AskTime in the documentation will seem a bit awkward (because Bid is often reported before Ask), but at least it would be consistent with your current code and would not require you to do any code fixes.

Please advise.

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion



Time: Mon March 30, 2020 12:48 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003