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?
Rename
Indeterminate. If you want to shoot yourself in the foot, that is your right.
You can specify the qualified name: "DataSet Name\Strategy Name".
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.
@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.
Sorry for the stupid question. What is StrategyRunner?
Your Response
Post
Edit Post
Login is required