Combination Strategy Error
Author: dansmo
Creation Date: 6/23/2011 9:58 AM
profile picture

dansmo

#1
While I was trying to integrate one of my strategies in a combination strategy I found the following:

When I create a combination strategy with just this one strategy I get an error message:
QUOTE:
Runtime Error: File not found

and the backtest aborts.
When this same strategy with the same settings is run as a normal strategy I get the error:
QUOTE:
Error processing symbol XY File not found.

and the strategy continious its run and finishes.
Teh strategy reads dates for dividend ex-dates from files. Sometimes the file is missing, that´s when the above error occurs. Until now I did not care much, since the strategy ran anyway.
Is combination strategy much more sensible? Why is that? I would expect the strategy to work exactly the same way as in a single strategy mode.
profile picture

Eugene

#2
Please check out synonymous thread: Combination Strategy error message.
profile picture

dansmo

#3
Sorry, did not see that one. Shall I create a support ticket, too?
profile picture

Eugene

#4
I have to leave this question to Cone who seems like already have a plan.
profile picture

Cone

#5
QUOTE:
Sorry, did not see that one. Shall I create a support ticket, too?
Sure, just to make sure that I get one.

QUOTE:
I have to leave this question to Cone who seems like already have a plan.
No plan, but we're going to have to start testing with scripts that are expected to generate errors. Really guys, it never dawned on me that customers operate with and overlook runtime errors in their scripts on a regular basis.
profile picture

dansmo

#6
QUOTE:
Really guys, it never dawned on me that customers operate with and overlook runtime errors in their scripts on a regular basis.

Well, I guess that is because we are happy if the strategies run dn dont care about minor errors. As non native programmers we dont care much about clean code that deals with every possible try/catch scenario.
profile picture

Cone

#7
If a script doesn't run on a symbol that you are including in your test, it's more than a minor error.
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).