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 cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"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
"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
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
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 Developer Support »Streaming Interval Bars
Author Topic: Streaming Interval Bars (4 messages, Page 1 of 1)

Ryan
-Interested User-
Posts: 14
Joined: May 17, 2012


Posted: Aug 10, 2016 02:41 PM          Msg. 1 of 4
Before I struggle with this any longer, I figured that I would solicit your feedback.

I am unable to receive streaming interval bars with my current code. I am able to connect and receive Level 1 streaming data with--in part--with the following message:

message = 'tSPY\r\n'

It is my understanding that I should be able to receive 1-minute streaming interval bars with:

message = 'BW,SPY,60\r\n'

To this message, I receive no response from the server. Is there a different port that I need to connect to? Or a different initialization message?

Ryan
-Interested User-
Posts: 14
Joined: May 17, 2012


Posted: Aug 10, 2016 03:11 PM          Msg. 2 of 4
I will answer my own question. Port 9400.

I'm not sure why my local copy of IQFeed Developer Docs for 5.1 does not have this port listed but has the documentation for the Derivative / Streaming Interval bars. Frustrating.

As it is after hours now, it seems that I will need to test tomorrow.

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


Posted: Aug 10, 2016 03:11 PM          Msg. 3 of 4
Good afternoon,

The streaming bar request requires you to connect to the derivative port which defaults to 9400.

Tim

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


Posted: Aug 10, 2016 03:13 PM          Msg. 4 of 4
I am sorry, never saw the second post before I replied.

We no longer have local documentation for just that reason. It becomes out of date and then caused more confusion than anything else.

I would honestly recommend just deleting it as much has already changed.

Tim
 

 

Time: Thu May 9, 2024 8:15 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003