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 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
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"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
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill 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
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Connection reset problem
Author Topic: Connection reset problem (3 messages, Page 1 of 1)

sappjason
-Interested User-
Posts: 8
Joined: Nov 5, 2009


Posted: Jan 6, 2010 03:50 PM          Msg. 1 of 3
Hello,
Perhaps I'm doing something wrong, but I just wanted to make sure. I have an automated trading system (written in Java) that connects to IQFeed as follows:

RegisterClientApp("XXXXXXX", "1.0", "0.11111111");

All is well and good and my ATS runs just fine. The problem is that my ATS doesn't shut itself down until 4:30 PM. However, at 4:05, I have another application that starts up and collects tick data for the current day. This application uses the exact same RegisterClientApp () call.

The problem happens when my ATS shuts down. Basically, when my ATS shuts down, my running data collector application gets a connection reset error on the open socket to IQFeed. I'm just wondering what I'm doing wrong? Should I be calling RegisterClientApp with a different 3rd parameter or is this just the way it works and I'm doing things incorrectly and perhaps I shouldn't be trying to have two different processes connecting to IQFeed at the same time (from the same machine)?

Any thoughts out there?

Jason

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jan 6, 2010 03:55 PM          Msg. 2 of 3
Jason, IQConnect will remain running as long as there is a connection to the Level 1 port. As soon as the last level 1 connection disconnects, IQConnect shuts itself down.

I would recommend simply adding a "dummy" connection to the level 1 port in your history retrieval app that just reads the data off the socket and throws it away (there will be a small amount of data like timestamps delivered even if you don't watch any symbols).

sappjason
-Interested User-
Posts: 8
Joined: Nov 5, 2009


Posted: Jan 7, 2010 11:02 AM          Msg. 3 of 3
Thanks Steve. I'll give that a try.....

Jason
 

 

Time: Sat May 18, 2024 7:28 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003