- ago
Almost all of my strategies use rotation in some way. I first looked at the Rotation framework in the New Strategy tab realized that there was no way for me to code my strategies using Building Blocks, and the was no way to concert that type of a strategy to C# code. I then started looking at the Discussion Board figuring that there must be skeleton code somewhere, but no luck.

So where can I find it?

0
70
Solved
8 Replies

Reply

Bookmark

Sort
Glitch8
 ( 6.70% )
- ago
#1
There is no skeleton, our Rotation Strategies are derived from a higher level base class than UserStrategyBase so they cannot be converted to C# Strategies like Building Block Strategies.
0
- ago
#2
Glitch,

Is there no "cheat" that I can use in the standard C# framework that allows me to select the equity with the highest or lowest weight? I need something like this to translate most of my WL6 code to WL8.
0
Glitch8
 ( 6.70% )
- ago
#3
Yes you can use the PreExecute method.
0
Cone8
 ( 3.17% )
- ago
#4
Here are some examples of C# Coded Rotation strategies that you can use for templates -

https://www.wealth-lab.com/Discussion/10285#post1
https://www.wealth-lab.com/Discussion/7316#post22
https://www.wealth-lab.com/Discussion/9515#post2
0
Best Answer
- ago
#5
Thanks Cone!

I could not find anything in the Help file about PreExecute.
0
Glitch8
 ( 6.70% )
- ago
#6
It’s also described in the Blog article “Anatomy of a WealthLab Strategy.”
0
Cone8
 ( 3.17% )
- ago
#7
Re: I could not find anything in the Help file about PreExecute.
See the QuickRef - there's actually a full rotation example that you can conveniently open there.

0
- ago
#8
Thanks Guys!
0

Reply

Bookmark

Sort