Strategy Parameter as a switch
Author: kazuna
Creation Date: 9/18/2013 1:59 PM
profile picture

kazuna

#1
The following is a code snippet to implement a parameter as a boolean switch.

CODE:
Please log in to see this code.

This doesn't work with Monte Carlo method.

If I change the stepping to 0.99, I see the parameter being between 0 and 1 but real numbers.

Is there a way to get integral numbers? Say 0 or 1?
profile picture

Eugene

#2
Frankly, this won't compile because "switch" is a keyword. The Step value is meaningless for the Monte Carlo method, but this should work for Exhaustive/Genetic methods.
profile picture

kazuna

#3
I was not aware of Genetic Optimizer available as an extension.
I'm going to try it out.

But why it is not included in WLP, by the way?
profile picture

Eugene

#4
QUOTE:
But why it is not included in WLP, by the way?

It's an extension developed by MS123, not Fidelity.
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).