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)




"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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 "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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: codingcorners
About Contact
Joined: Aug 5, 2016 08:46 AM
Last Post: Aug 5, 2016 09:03 AM
Last Visit: Sep 16, 2016 07:29 PM
Website: https://www.shippifly.com
Location: United States
Occupation: Programmer/Developer
Interests: Java, PHP, Javascript
Email: codingcorners@gmail.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
codingcorners has contributed to 1 posts out of 21196 total posts (0.00%) in 2,844 days (0.00 posts per day).

20 Most recent posts:

Hi all, I'm building a Java app for a client based off of the same idea as the sample Level1Socket.java app in the developer examples. The gist of it is basically a socket listener app (command line, no GUI) that..

1. Sets the fieldset to 'Symbol','Last','Total Volume', 'High','Low','Number of Trades Today', and 'VWAP'.

2. It then loads in a CSV 'symbol loader' file that has one symbol per line (about 600 in total right now, but the plan is for there to be closer to 6,000 when at expected capacity) and runs the 'w[SYMBOL]' Watch command on each of them.

3. Next it stores the returned summary lines (either P or Q) in an ArrayList. It ignores all T, F, and n lines.

4. A separate Timer thread every three seconds will loop through this ArrayList and save the data to a MySQL database, Updating if the Symbol already has a row in there, or Inserting if not.


My question is, there's a lot of data that I don't necessarily need to come through the feed. The 'F' Fundamental lines in particular - is there any way to turn those off like there is with Timestamps and News lines?

Another question - Is this the best way to get the most current data from IQFeed in realtime? I was hoping there might be a way to do a batch poll of a bunch of Symbols, specifically looking for a certain fieldset, and to be able to re-poll that data every 2 seconds to look for change, rather than wait on the variability of a socket session to spit out data (which is providing some inconsistent results when we go to save data to our DB).

I'm coming to find that I can't get enough good data saved from the feed to do accurate data processing into my database table, and I'm guessing it's got to be because there's too much other data that the reader is dealing with to be able to keep up with the data as it's coming down the pipeline, so I'm trying to find a way to free it up and save some bandwidth.

Any help would be greatly appreciated, I've been banging my head against the wall all night on this! :)


Time: Sat May 18, 2024 1:20 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003