cc86
-Interested User-
Posts: 4
Joined: Mar 7, 2006
|
Posted: Mar 7, 2006 04:53 PM
Msg. 1 of 4
Hi,
I try to use IQExplorer to test some messages, since I want to write some code using the socket connection. I can put in "wINTC" to get the level I data, But when I type in "HD,INTC,5;" trying to get the historical data for the past 5 days, I don't get any response. Wonder if anyone can tell me what I am doing wrong here?
I also tried this with a socket connection session to a IQclient, I can get it connected ok and I can see message come from the IQclient, like "S,KEY, 10161" and "S, IP ...", when I response with the "S,KEY, 10161", I can see the "S,KEYOK" come back. But when I send "HD,INTC,5;", I will not get any response, it's the same problem as my IQExplorer issue, wonder if any one has any experience on this.
Thanks.
John@ccdirect.com
|
cc86
-Interested User-
Posts: 4
Joined: Mar 7, 2006
|
Posted: Mar 7, 2006 04:56 PM
Msg. 2 of 4
BTW, I forgot to mentioned, when I test the demo code "Historical Socket" program, I can see the historical data come back, so looks like I am enabled with the feature. Thanks.
John@ccdirect.com
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Mar 7, 2006 05:07 PM
Msg. 3 of 4
Hello John, The issue here is that you are trying to request Historical data on the Level1 socket.
Historical Data requires a second socket connection to the Lookup Port.
IQExplorer only handles Level1 Data.
You can check the API documentation labeled History via TCP/IP for more info on creating the History connection.
|
cc86
-Interested User-
Posts: 4
Joined: Mar 7, 2006
|
Posted: Mar 8, 2006 12:00 AM
Msg. 4 of 4
Thanks a lot for the help. I over look the port, thought it's the same one. I connected to port 9100 and I got the history data come back.
John@ccdirect.com
|