An executing Strategy blocked a streaming data update. The Strategy run was terminated
Author: Tobey
Creation Date: 3/15/2011 10:05 AM
profile picture

Tobey

#1
Hi Cone & Eugene,

I'm getting Data access errors that lock up the program.

The data is coming from Fidelity here in the USA.

I have several unlinked Charts open with streaming data.

I also have a set of 3 chart in different time frames ( daily, 15 minute, 1 or 5 minutes ) linked to look at the ticker I'm currently interested in.

The charts call get the external data for the .SPX & .IXIC to create relative strength lines.

The Error message I get most often is: "An executing Strategy blocked a streaming data update. The Strategy run was terminated."
Once I get one they just seam to keep coming.

I also get:

The process cannot access the file
\Path\ %2ESPX.WL
because it is being used by another process/
Unable to get data on Demand for symbol: .SPX

or a similar message for .IXIC

How do I start to tackle this problem.

Thanks again for all your help
Tobey

profile picture

Tobey

#2
Hi Guys,

Add to the error list.

The remote server returned and error: (500) Internal Server Error.
Unable to get Data on Demand for symbol: .SPX


This errors lockup the program.

Thanks
Tobey
profile picture

Eugene

#3
QUOTE:
The Error message I get most often is: "An executing Strategy blocked a streaming data update. The Strategy run was terminated."

It's by design. The message is telling that Wealth-Lab is trying to update the Bars object while it was locked by one of your running stategies (a Streaming Strategy window). That could happen when a bar closes while one of your long-running Strategies is still executing or a streaming strategy is being initialized when Wealth-Lab is about to update the bar (end-of-bar update). To avoid a streaming crash, Wealth-Lab aborts the strategy to guarantee that it won't break streaming updates. There's a side-effect to this solution though: multiple Strategy windows are essentially prevented from using the same External symbol.
profile picture

Eugene

#4
QUOTE:
The remote server returned and error: (500) Internal Server Error.
Unable to get Data on Demand for symbol: .SPX

It's not connected to the first one. That's a different error altogether, "500 Internal Server Error" just means that a HTTP server returned some kind of internal error. No further explanation given; usually it's a temporary situation. In this case, looks like some temporary issue of the server you're connected to at Fidelity's server farm.
QUOTE:
Unable to get Data on Demand for symbol: .SPX

Disable that Update Data On Demand and make sure your DataSets are manually updated. You'll notice how much more responsive Wealth-Lab gets with on demand updates disabled.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).