- ago
Since one could have strategies with the same name under different directories, and the StrategyRunner constructor takes a strategy name (without directory) as its parameter, which strategy is actually used?

0
360
Solved
5 Replies

Reply

Bookmark

Sort
Cone8
 ( 2.88% )
- ago
#1
Indeterminate. If you want to shoot yourself in the foot, that is your right.
0
Glitch8
 ( 6.76% )
- ago
#2
You can specify the qualified name: "DataSet Name\Strategy Name".
0
Best Answer
- ago
#3
Thanks @Glitch

@Cone You're right—I definitely shouldn't do this now that I'm aware of the issue. That said, if the software allows strategies with the same name in different folders, there's a high chance users will do this unintentionally without realizing the potential consequences. From a software design perspective, it might be worth addressing or at least highlight this in the documentation, as it can lead to hard-to-trace errors.

0
- ago
#4
Sorry for the stupid question. What is StrategyRunner?
0
- ago
#5
https://www.wealth-lab.com/Support/ApiReference
>>>
https://www.wealth-lab.com/Support/ApiReference/StrategyRunner
0

Reply

Bookmark

Sort