Lack of IQFeed heartbeat and best method to reset IQConnect process automatically
Ever since I started using IQFeed, I've noticed that the feed both crashes at random points throughout the day and stops sending a heartbeat....however, I haven't noticed any discernable pattern from these crashes.
I'm checking for a connection to the IQConnect application by resetting a volatile java boolean value each time anything is received on any of the three ports (Admin port, L1 port, and L2 port). Since I expect to get a heartbeat from both the admin port and the L1 port every sec, I wait 5 seconds to reset the process / feed if I haven't heard anything.
The odd thing is that there can be a week without any problems, and then lately it has consistent been having problems.
1) Why does the IQConnect application stop sending a heartbeat?
2) What is the best way to reset the IQConnect process?
Also, is this normal? If so, how do people rely on this feed since I'm having serious doubts in its robustness
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.