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 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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"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
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Excellent datafeed !!!" - Comment from Arely
"Everything is working great with the API. I love it." - Comment from Calvin
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. 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) »IQFeed 3rd Party Software Support »IQFeed connection not working with Matlab
Author Topic: IQFeed connection not working with Matlab (6 messages, Page 1 of 1)

andrei
-Interested User-
Posts: 1
Joined: Aug 24, 2013


Posted: Aug 24, 2013 12:15 PM          Msg. 1 of 6
Trying to get the S&P500 stock components with below logic:

history(q,char(stocks(n)),{'01/01/2011','08/23/2013'},'Daily');

where stocks is a cell array with all 500 components.
put this in a loop, with 4 sec delay, and the history command will stop returning the total amount of days for a specific symbol.

For example:

Symbol: EXPD, Nr.of days collected:665
Symbol: EXPE, Nr.of days collected:665
Symbol: F, Nr.of days collected:1

Symbol: CVS, Nr.of days collected:665
Symbol: CVX, Nr.of days collected:1

Symbol: CBE, Nr.of days collected:665
Symbol: CBG, Nr.of days collected:14

each time the program will reach these particular symbols, the history will stop returning the proper amount of days requested.
The workaround is to close-down Matlab (IQF connection may remain open) and open it again.

Are there any troubleshooting means, any diagnostic commands that could help - for example assess if the connection to IQFeed is still operational ?

I assume I'm not the only one trying to download the components of an index from within matlab - are there any working samples available anywhere?

Thx

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 23, 2013 11:14 AM          Msg. 2 of 6
Hello Andrei,

Sorry to have missed this, were you able to get this worked out since this post?

Tim

mongfa
-Interested User-
Posts: 4
Joined: Jul 27, 2014


Posted: Jul 27, 2014 12:44 PM          Msg. 3 of 6
I also have this problem. could you give us sample code or solution?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 28, 2014 01:28 PM          Msg. 4 of 6
Hello Mongfa,

I am sorry, but I do not have access to MatLab's API documentation so we would recommend going to them for support. All of the samples I would have to illustrate what you are doing require an IQFeed API subscription. But, what I see in the code above appears to make sense, so if you are having the same issue in your loops, I would certainly check with Matlab to see if they have an update or any advice that they could give. If there is a systematic issue with their API interface, I would think this would be a common call for them to receive if so.

Tim
Edited by DTN_Tim Walter on Jul 28, 2014 at 01:29 PM

mongfa
-Interested User-
Posts: 4
Joined: Jul 27, 2014


Posted: Jul 30, 2014 06:25 PM          Msg. 5 of 6
same loops code with another datafeed is working correctly. but it's not work with iqfeed

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 31, 2014 07:39 AM          Msg. 6 of 6
Good morning,

That type of logic works within our API as well, so I do not know what the issue that you are having is. There are features within our API that would allow me to help further, all I can do is hope that MatLab has the same kind of thing within their system to help you get past this.

I am sorry I cannot be of more help here,
Tim
 

 

Time: Fri April 26, 2024 2:20 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003