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)




"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"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
"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
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
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: gautham
About Contact
Joined: Sep 22, 2004 10:30 AM
Last Post: May 6, 2005 10:08 AM
Last Visit: May 6, 2005 10:08 AM
Website:  
Location:
Occupation:
Interests:
Email: gauthamnookala@sbcglobal.net
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
gautham has contributed to 6 posts out of 21185 total posts (0.03%) in 7,155 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » Order or historic requests May 6, 2005 10:08 AM (Total replies: 3)

When I request historic tick data I get the data in reverse time order. That is, for example,

The ticks will have timestamps like so:
16:00:00
15:59:00
15:58:00

etc.

Is it possible to download them in ascending timestamp order?


What is meant by "regional" exchanges? I am also trying to get data at second level for past tick data for highly trades stocks such as MSFT. I can only get at the minute level. I am using the TCP to connect to the iqfeed.


How do I automate the login process with in my code?
Does it involve com programming?
Can you give me an example?


I would like to automate downloading historical data.
I do not want to be asked userid and password when I download the data.
I would like to download data after close every day.

Is there a way to automate this?


I found out that it is pretty simple. I was not able to get historical data before because after using registerclientapp function I was using the statement
SOCKET iqSocket;
struct sockaddr_in addr;
addr.sin_family = AF_INET;
addr.sin_port = htons( 9100 );
addr.sin_addr.S_un.S_addr = inet_addr("127.0.0.1");
memset(&addr.sin_zero, 0, sizeof(addr.sin_zero));

connect( iqSocket(struct sockaddr*)&addr,sizeof(addr))
// connect to the server
send( iqSocket,"S,KEY\r\n", 7, 0); // Should NOT be using this statement.

and then doing
char iqCommand[ 15 ];
memset( iqCommand, 0, sizeof( iqCommand ) );
strcpy( iqCommand, "HD,IBM,5;" );

send( iqSocket, iqCommand, static_cast<int>( strlen( iqCommand ) ), 0 );
The statement
send( iqSocket,"S,KEY\r\n", 7, 0);
seems to have somehow not get the historical data. After removing this statement I do get historical data.


I am having problem downloading historical data using TCP/IP in Visual C++.
I do not see any example of this in the sample files I got from IQFEED.
I need a complete but simple example showing me how exactly to go about doing this
in a console application.


Time: Wed April 24, 2024 12:31 AM CFBB v1.2.0 6 ms.
© AderSoftware 2002-2003