Last data of IQFeed DataSet blocking Strategy execution
Author: BarisKaya
Creation Date: 3/5/2014 4:58 AM
profile picture

BarisKaya

#1
hi

When running a strategy using strategy monitor, from time to time last data of the dataset is blocking the code and thats why strategy monitor can not display the results. The following is the message under Action column : {4} WIN# 71089 bars 02.28.14 16:10 0 bars added. I deleted this data from dataset, and this time again the last data is blocking.

Can you please help to solve this issue?

thank you
profile picture

Eugene

#2
What is the "last data"? Last symbol?
How did you determine that your code is being "blocked"? Kindly clarify.
What "results" the SM can not display?
What data provider is this? Bar scale of the data?
How did you manage to delete 0 bars?

In other words, need a more clear and intelligible problem description.
profile picture

BarisKaya

#3
1/last symbol is WIN# as i wrote in earlier message.
2/Of course i'm not sure, thats why asking you guys
3/Now got an error like this. Error(3) Thread was being aborted.
4/Data provider is IQ Feed. Time scale is 10 minutes.

thats all i have, if i knew exactly what this is about i wouldnt ask you

thanks
profile picture

BarisKaya

#4
Just an idea, maybe it makes sense for you maybe not...i'm using 2 workspaces at the same time, (1 on my laptop, the other on external display), and just figured out that i'm running the strategy monitor on the additional workspace not the main one. Could it be the problem? Because i'm doing it on main workspace last 10 minutes and its working fine so far

thanks
profile picture

Eugene

#5
Informational (error) messages may rise in the SM but can you formulate what is the problem for you? In other words, what is being "blocked"?

Also, please provide the complete Strategy code (which is the most likely problem source).
profile picture

Cone

#6
Re: WIN# 71089 bars 02.28.14 16:10

It appears that you haven't configured the Market Manager for the market session open/close times, or, the Strategy Monitor currently thinks the market is already open and is expecting an update. Results for the next bar won't be displayed until the strategy actually runs.

If you need help configuring the Market Manager, let us know. (Weren't you having trouble with this yesterday with forex symbols too?)
profile picture

BarisKaya

#7
Thanks Cone. The problem is, i've been using the same strategy with same data for more than a week, and there was never a problem like this, and there was not even a line of change in the code.
The only thing has changed is i started working with an additional WL workspace on an external display. And since i figured this out, i'm running the strategy on main workspace and no problems so far. I've never used Market Manager so i dont know how that one could be a problem all of a sudden.

Regarding fx symbols, apparently i had a realtime fx package but the symbols i have updated were delayed ones, Eugene was right on this yday.

I'll let you know if the problem occurs again in the main workspace.

thank you
profile picture

Cone

#8
Okay, I understand. But I'm looking at that 16:10 bar, which indicates to me that you're including after hours data in your strategies. It's up to you, but that's probably not a good idea. You can filter these data with the Market Manager, and then the Strategy Monitor will actually know when it's time to start running.
profile picture

BarisKaya

#9
well, ok it happened again but nothing to do with the code, because it happens when WL is trying to update the dataset. It stops updating the last data in the dataset and stays like this. See the snapshot please.

thanks
profile picture

Cone

#10
Okay. This doesn't have anything to do with the Strategy Monitor. This is an IQFeed Provider problem when updating a large group of symbols (and probably a symbol or two that no longer is listed). I've seen this before, but had forgotten about it. You have to kill the processes and/or WLD will likely crash. Please create a support ticket so that we can investigate/resolve it.
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).