kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: Jun 12, 2010 10:34 PM
Msg. 1 of 4
Hello,
I just ran the following test:
I launched the Level1Socket sample. I set to watch a stock. I triggered the command to list watched stocks. the stock I watched was there. I closed the app, launched it again, triggered the command to list the watched stocks and the stock I selected was not there.
I also tried launching 2 instances of the Level1Socket sample. When I selected stocks to watch on one instance of the app, they don't show-up on the the other instance of the Level1Socket when I list the watched stocks.
So, I've come to the following conclusions:
IQFeed does not have a 'memory'. The symbols you want to watch have to be entered fresh each time you launch an application.
The watch is not associated with the single account, but rather with each individual app that is attached to IQConnector.
Is this correct?
take care, lee
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Jun 14, 2010 08:47 AM
Msg. 2 of 4
Yes, that is the design. Each client connection to the feed creates its own watchlist (and it's own set of fields) to be watched.
|
kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: Jun 14, 2010 09:08 AM
Msg. 3 of 4
Hello,
Thanks. Is there anything I should keep in mind when my app makes several hundred watch requests when it first connects?
take care, lee
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: Jun 14, 2010 01:08 PM
Msg. 4 of 4
You shouldn't have to worry about making too many requests too quickly but it will depend somewhat on your network connection (if you experience problems, you might have to slow down your requests).
|