I was looking for SetShareSize and it's gone in WL5. I found this in the documentation:
"Notice that the details of Position size (shares) are not specified in the Strategy code. Instead, the size is determined by the Position Size control in the Data Panel (User Guide)."
The data panel's Position Size options are too limited for my needs. If you provided a ShareSize property, I could set it with a calculation. Any plans for this???
Size:
Color:
Although you wouldn't find it answered by
Wealth-Lab Wiki FAQ > "Missing" Features directly, I fear that
SetShareSize and the like is unlikely to ever appear in WL5. Nonetheless, setting position size will be back in WL5.4 as
PosSizers (aka the $imuscripts of old).
If I was to speculate about the reason why, perhaps it has something to do why
ClearPositions is considered not working correctly and has a chance to be removed from future builds of WL5.
Size:
Color:
Although SimuScripts are favored over using SetShareSize in Version 4, I actually think SetShareSize could have special utility in Version 5. By using SetSharesSize from within the script, you'd be able to estimate bar-to-bar Equity while processing the trading logic, and therefore we could actually recover the ability to make trading decisions based on equity and cash again.
I'll bring this up for an idea for next year. There seems to be a lot of bang for the buck here :)
Size:
Color:
Any progress on adding SetShareSize to WL5?
Size:
Color:
It should make 5.4.
Size:
Color:
Great....
I've been waiting for this. I need would like to set share size (position risk) based on other factors such as volume and volatility.
Do we have a release date yet for 5.4?
Size:
Color:
Sorry to disappoint you, this is not coming in 5.4 - rather late this year in another build. On the other hand, 5.4 with the optimizer tool is coming pretty soon.
Size:
Color:
I REALLY need to be able to set my position size. What's the timetable for this?
Size:
Color:
5.5 SetShareSize - next week?
5.6 PosSizers (formerly known as SimuScripts)
Size:
Color:
Great, thanks!
Size:
Color:
In WLP5.5 can we access the current equity from within our WealthScript program? Please?
Size:
Color:
If you know the sizes of the Positions by virtue of the use of SetShareSize, you could calculate an estimate of the Equity Curve. An estimate should be plenty good for any practical purpose.
Size:
Color:
Size:
Color:
Thank you for version 5.5 and SetShareSize. I set Position Size in the control panel to SetShareSize. In my program, I SetShareSize, took a position, and then checked LastPosition.Shares. Shouldn't it be the SetShareSize number? I'm trying to add to a position, take multiple positions in a stock.
CODE:
Please log in to see this code.
Size:
Color:
You did everything properly, but in portfolio simulation mode, all trades are still pre-executed with 1 share per Position. Since position sizing is applied after the fact, custom sizing (999 shares) will be reflected in the system's results - just not while the Strategy is executing.
Size:
Color: