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)




"Excellent datafeed !!!" - Comment from Arely
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"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
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"Everything is working great with the API. I love it." - Comment from Calvin
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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
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: jpaladin
About Contact
Joined: Jan 30, 2008 09:03 PM
Last Post: Feb 2, 2008 09:36 AM
Last Visit: Feb 2, 2008 09:36 AM
Website:  
Location: Florida
Occupation: java developer
Interests: stock trading
Email: joepaladin@hotmail.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
jpaladin has contributed to 2 posts out of 21185 total posts (0.01%) in 5,930 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » basic socket question Feb 2, 2008 09:36 AM (Total replies: 1)

I am new to sockets, and figuring out this sample application code :

while (true ) {

line = in.readLine();

sout.write(line+"\r\n");
sout.flush();

if (line.trim().equals("x") ) {break;}

}

So, why does in.readLine() block, and what could it possibly be waiting for ?
Setting a break point after in.readLine() it never hits.
I guess socket code blocks by default when you tell it to read, and it is empty ?

I see that "in" is a System.in socket, so I guess it is some kind of global server socket.

When it gets something, it is reflected to the IQFeed socked that I watch for my data, so I would like to know what I might have to deal with while watching the data.

if an "x" arrives my whole feed is going to be shutdown.

So, I would like to better understand this code.

Joe paladin

IQFeed Developer Support » Incorrect Historical Data Time Stamping Feb 2, 2008 09:18 AM (Total replies: 5)

If I read these posts correctly, the datafeed sends the actual trades, with the correct time stamps, but they don't always arrive in time stamp order ?

I believe that my graphing code could tolerate this, since it just draws lines between the next two data points. However, this could throw a big wrench in my analysis routines which assume that ticks loaded to a vector are moving forward in time.

I could add a method to reorder the ticks, which would be fine for graphing at the end of the day. Reordering would to be to expensive to apply in realtime though.

I may need to add a filter that drops any back dated ticks before they get added to my tick stream Vector. This approach might also work for SierraChart.

Joe paladin


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