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
|