I have more than one strategy in the Strategy Monitor, the Streaming Provider is IQFeed.
I save it as Default Workspace with the "Auto-Reactivate Strategy Monitor when Workspace Open" option enabled.
Next time I start WL8, only one strategy in the Strategy Monitor will be activated.
I would like all the strategies to be activated when this option is enabled.
I save it as Default Workspace with the "Auto-Reactivate Strategy Monitor when Workspace Open" option enabled.
Next time I start WL8, only one strategy in the Strategy Monitor will be activated.
I would like all the strategies to be activated when this option is enabled.
Rename
1. Load your Workspace.
2. Activate all Strategies.
3. Save your Workspace (again, now with all Strategies Activated).
Should work.
2. Activate all Strategies.
3. Save your Workspace (again, now with all Strategies Activated).
Should work.
Yes, that is exactly what I'm doing.
In fact, it works fine if the workspace is saved and opened separately.
I guess it only happens when it is a default workspace, and it may have something to do with the IQFeed client auto-login.
I do see all strategies being activated once as soon as the default workspace is opened upon starting WL8 but then immediately all except one strategy are inactivated.
In fact, it works fine if the workspace is saved and opened separately.
I guess it only happens when it is a default workspace, and it may have something to do with the IQFeed client auto-login.
I do see all strategies being activated once as soon as the default workspace is opened upon starting WL8 but then immediately all except one strategy are inactivated.
If I use Yahoo! as the streaming provider, the problem is gone.
So it has something to do with the IQFeed and only happens when the IQFeed client starts up automatically as WL8 requests data from the IQFeed extension the first time.
Is it some sort of race condition between the IQFeed client and the IQFeed extension?
So it has something to do with the IQFeed and only happens when the IQFeed client starts up automatically as WL8 requests data from the IQFeed extension the first time.
Is it some sort of race condition between the IQFeed client and the IQFeed extension?
Probably. It takes some time for the IQFeed client to start. You could solve it by first making sure that IQFeed is running with one it's built-in clients. Then WL could connect to it quickly at start up.
But WL6 works fine with exactly the same configuration.
Any idea why WL8 has the issue and possibly consider fixing it?
Any idea why WL8 has the issue and possibly consider fixing it?
QUOTE:Just tried this but it doesn't fix the problem. Apparently, there is an issue on WL8 side.
You could solve it by first making sure that IQFeed is running with one it's built-in clients. Then WL could connect to it quickly at start up.
While the IQFeed client running after it logs in automatically, I start WL8 but all except one strategy those with IQFeed streaming provider in Strategy Monitor fail to reactivate.
This issue happens for not only the default workspace but also the named workspace if it is opened from the command line option "/W" or if it is the first time opening a workspace that has strategies with the IQFeed streaming provider selected in Strategy Monitor.
The strategy doesn't matter to this issue.
I added several different strategies to the Strategy Monitor, and regardless of the strategy, only one strategy gets activated among all the strategies with the IQFeed streaming provider.
So if you use IQFeed as the streaming provider, you can have only one strategy in the Strategy Monitor if you want it activated automatically.
This is a show-stopper for me to switch from WL6.
I added several different strategies to the Strategy Monitor, and regardless of the strategy, only one strategy gets activated among all the strategies with the IQFeed streaming provider.
So if you use IQFeed as the streaming provider, you can have only one strategy in the Strategy Monitor if you want it activated automatically.
This is a show-stopper for me to switch from WL6.
As for me, I can't duplicate it. These strategies all target IQFeed DataSets. This is the only thing in this default workspace, which activated all strategies when WL started.
Next Run 9/10/2024 00:00:00 looks a little weird, but that's 5 hours after the U.S. Market close, local time.
Next Run 9/10/2024 00:00:00 looks a little weird, but that's 5 hours after the U.S. Market close, local time.
I even tried multiple times with different configurations. For this one, only the first 2 were activated when saving the default workspace. I really don't see a problem here.
You have to have IQFeed as the streaming provider but yours looks like using IB.
If I use Yahoo! as the streaming provider, the problem goes away.
Also, you have to have them all with "Use Streaming Data" not "Use Polling".
If I use Yahoo! as the streaming provider, the problem goes away.
Also, you have to have them all with "Use Streaming Data" not "Use Polling".
For Polling the Streaming Provider is ignored. But I'll try setting up with some intraday strategies, streaming.
Notice how if you post a picture, it helps to understand the problem (hint, nudge).
Notice how if you post a picture, it helps to understand the problem (hint, nudge).
Still works fine. I can't duplicate that (see below)
I was going to tell you to do this procedure, which I just did...
1. Configure your Workspace with Activated strategies.
2. Workspaces > Clear the Default Workspace
3. Workspaces > Save this as the Default Workspace
After doing that, the first of the 3 strategies didn't Activate. At least I've got something to work with now.
I was going to tell you to do this procedure, which I just did...
1. Configure your Workspace with Activated strategies.
2. Workspaces > Clear the Default Workspace
3. Workspaces > Save this as the Default Workspace
After doing that, the first of the 3 strategies didn't Activate. At least I've got something to work with now.
And you see the IQFeed client window come up and automatically log in when the strategy is being activated immediately after the first time you open WL8?
Mine is all C# strategies if it matters.
Mine is all C# strategies if it matters.
Ahh, it seems to happen only on the Daily scale.
If I use 5 Minute scale like yours, the problem goes away.
If I use 5 Minute scale like yours, the problem goes away.
Like you suspected, it was sort of a race condition (hence the variability), trying to subscribe before the streaming socket finished connecting.
Fixed for IQFeed build 26.
Fixed for IQFeed build 26.
Awesome! Thank you very much for fixing it!
Your Response
Post
Edit Post
Login is required