- ago
Could you show an example of ParameterType.StringChoice? Thanks.
0
95
4 Replies

Reply

Bookmark

Sort
- ago
#1
So did you vote for this feature request?
https://www.wealth-lab.com/Discussion/Accept-string-parameter-in-a-strategy-9759
0
- ago
#2
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?
0
- ago
#3
Oh "Strategies only support Int32 and Double type parameters."....
0
- ago
#4
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
0

Reply

Bookmark

Sort