kazuna8
 ( 42.83% )
- ago
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.
0
281
Solved
17 Replies

Reply

Bookmark

Sort
Cone8
 ( 5.57% )
- ago
#1
1. Load your Workspace.
2. Activate all Strategies.
3. Save your Workspace (again, now with all Strategies Activated).

Should work.
0
kazuna8
 ( 42.83% )
- ago
#2
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.
0
kazuna8
 ( 42.83% )
- ago
#3
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?
0
Cone8
 ( 5.57% )
- ago
#4
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.
0
kazuna8
 ( 42.83% )
- ago
#5
But WL6 works fine with exactly the same configuration.
Any idea why WL8 has the issue and possibly consider fixing it?
0
kazuna8
 ( 42.83% )
- ago
#6
QUOTE:
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.
Just tried this but it doesn't fix the problem. Apparently, there is an issue on WL8 side.

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.
0
kazuna8
 ( 42.83% )
- ago
#7
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.
0
kazuna8
 ( 42.83% )
- ago
#8
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.
0
Cone8
 ( 5.57% )
- ago
#9
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.
0
Cone8
 ( 5.57% )
- ago
#10
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.

0
kazuna8
 ( 42.83% )
- ago
#11
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".
0
Cone8
 ( 5.57% )
- ago
#12
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).
0
Cone8
 ( 5.57% )
- ago
#13
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.
0
kazuna8
 ( 42.83% )
- ago
#14
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.
0
kazuna8
 ( 42.83% )
- ago
#15
Ahh, it seems to happen only on the Daily scale.
If I use 5 Minute scale like yours, the problem goes away.
0
Cone8
 ( 5.57% )
- ago
#16
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.
1
Best Answer
kazuna8
 ( 42.83% )
- ago
#17
Awesome! Thank you very much for fixing it!
1

Reply

Bookmark

Sort