Could you show an example of ParameterType.StringChoice? Thanks.
Rename
So did you vote for this feature request?
https://www.wealth-lab.com/Discussion/Accept-string-parameter-in-a-strategy-9759
https://www.wealth-lab.com/Discussion/Accept-string-parameter-in-a-strategy-9759
I saw there's a StringChoice type defined https://www.wealth-lab.com/Support/ApiReference/Enums#ParameterType
Isn't that something that one can use to choose from a list of predefined string values?
Isn't that something that one can use to choose from a list of predefined string values?
Oh "Strategies only support Int32 and Double type parameters."....
QUOTE:
I saw there's a StringChoice type defined
Yes, but the AddParameter method won't take an enum type. Vote for that feature request and follow the example below.
https://www.wealth-lab.com/Discussion/Accept-string-parameter-in-a-strategy-9759#post10
Your Response
Post
Edit Post
Login is required