- ago
Pls add documentation to StrategyBase Class
0
130
Solved
7 Replies

Reply

Bookmark

Sort
Glitch8
 ( 12.05% )
- ago
#1
All of the required members of StrategyBase are already documented in the class that you actually use to create Strategies, UserStrategyBase.
0
Best Answer
- ago
#2
public Backtester Backtester { get; set; }
Is absent from documentation of UserStrategyBase. Spent couple of hours seaching the documentation on how to get the Backtester instance... Only looking through the declaration of StrategyBase helped me. That was not kind of obvious to me.
Thank you!
0
- ago
#3
https://www.wealth-lab.com/Support/ApiReference/Backtester
0
Glitch8
 ( 12.05% )
- ago
#4
We don’t document every single property. especially those that are mainly for internal use. What’s your use case for needing to access the Backtester instance, It has the potential for unexpected results and corrupting the ongoing strategy run if you do the wrong things with it.
0
- ago
#5
Thank you for fast reply.
QUOTE:
Backtester instance, It has the potential for unexpected results and corrupting the ongoing strategy run if you do the wrong things with it.

I have no other options... First idea was using the Advanced Position sizer.
0
Glitch8
 ( 12.05% )
- ago
#6
I’m not sure what you mean. You select an Advanced Position Sizer in the Strategy Settings. Then it does the work as the Strategy executed, there’s nothing for you to do? What are you trying to accomplish?
0
- ago
#7
Was trying to do this
https://www.wealth-lab.com/Discussion/Advanced-Position-Sizer-Parameters-optimization-10917
0

Reply

Bookmark

Sort