- ago
Hi, I noticed that I keep getting a lot of errors in log viewer which seems to be related to PowerGenes Block Power Weight being added to exit conditions, when it shouldn't be allowed. Is this a bug?

Strategy 71 Exception: Strategy Compile failed. Exception: Block Power Weight applies to Entry Building Block only.
Strategy 68 Exception: Strategy Compile failed. Exception: Only one Power Weight Building Block allowed.

These are the two of the errors I keep getting.


0
451
5 Replies

Reply

Bookmark

Sort
- ago
#1
The log messages are related to this #FeatureRequest:

https://www.wealth-lab.com/Discussion/Strategy-Evolver-signal-unwanted-combinations-9387

Vote for it to get rid of these Messages.

Background
Strategy Evolver chooses Conditions for entries and exits randomly.

Not all of these combinations make sense of course. At the time I created finantic.Powergenes it was possible to throw the Exception you see to avoid Strategy Evolver execute such a strategy.

We need a well-defined mechanism which avoids meaningless combinations.
(see #FeatureRequest above)

1
Glitch8
 ( 9.58% )
- ago
#2
Can you override the CanIncludeCondition virtual property of StrategyGeneBase, check the combinations, and return false if it is not a valid one?
0
- ago
#3
Has there been any resolution with this? My strategy evolver keeps erroring out ever since I installed powergenes
0
Glitch8
 ( 9.58% )
- ago
#4
What do you mean exactly be erroring out? Just producing these errors in the log? Are these (handled) exceptions preventing the evolver from continuing?

If you’re not happy seeing these messages the obvious solution is to remove the extension until DrKoch can address it.
0
- ago
#5
Yes it errors out stopping the evolver from continuing.
0

Reply

Bookmark

Sort