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)




"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"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
"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
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"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
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"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
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: rkamaly
About Contact
Joined: Aug 10, 2014 01:12 PM
Last Post: Aug 12, 2014 01:21 PM
Last Visit: Aug 12, 2014 02:13 PM
Website:  
Location:
Occupation:
Interests:
Email: necessity.and.chance@gmail.com
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
rkamaly has contributed to 6 posts out of 21185 total posts (0.03%) in 3,547 days (0.00 posts per day).

20 Most recent posts:
IQFeed Developer Support » java connection leak Aug 12, 2014 01:21 PM (Total replies: 5)

Attaching the client status window for further information.

Also if I were to exit the client from the system tray. The process still lingers on, and I have to kill it with task manager.

IQFeed Developer Support » java connection leak Aug 12, 2014 01:16 PM (Total replies: 5)

Hi Tim,

Thank you for your prompt response. I have changed the number of open connections to 3 now and am still facing these issues.

Have send out an email with the relevant java code packages attached.


Thanks for the assistance again.

^_^

IQFeed Developer Support » java connection leak Aug 12, 2014 09:34 AM (Total replies: 5)

Btw, am using 20 threads simultaneously, whilst opening and closing em for every HTT request

IQFeed Developer Support » java connection leak Aug 12, 2014 12:02 AM (Total replies: 5)

Hi,

I am currently using java to connect to iqfeed to retrieve historical data. Am using multiple threads to fetch a HTT request. Each thread creates a Feed object whose life cycle looks like this

public void open() throws IOException {
this.socket = new Socket(InetAddress.getByName(FEED_HOST), FEED_PORT);
this.socketReader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
this.socketWriter = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
}

public void close() throws IOException {
this.socket.shutdownOutput();
this.socket.shutdownInput();
this.socket.close();
this.socketReader.close();
this.socketWriter.close();
LOGGER.debug("closing connection");
}


After running the process for about 10 symbols and their related option chain, the code just balks. Upon inspection of the feed client ui, it indeed does say there are some connections open. These connections still appear to be active, after the java proc is killed.

Strangeness ensues, when I try to kill the iqconnect.exe from the tray. It looks like it's gone, but is still visible in the windows task manager tab. After I kill it from there, I am able to rerun the historical data pull.

Please advice on how to resolve this.

Thanks!


I would like to express interest in this feature as well. As building option chains from symbology sometimes is not feasible.


Time: Thu April 25, 2024 10:40 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003