I am trying to figure out how to buy ETFs according to a specified weight of the total portfolio.
Unfortunately, I couldn’t find anything in the forums yet, but maybe I missed something.
Here’s the problem:
I am trying to set up a simulation with two ETFs that rebalance only when the market conditions change (checking weekly).
For example:
market conditions are bullish: go to 80% SPY and 20% IEF
market conditions are bearish: go to 20% SPY and 80% IEF
Currently, the rebalance frequency of my sim is set to weekly, the Ideal Size of a New Position as % of Total Value is set to 50.
How can I determine the desired portfolio weight when a new market cycle is triggered?
Every time the market turns around, I would like the system to sell everything (or at least as much as needed) and then adjust to the new weight for each ETF.
Because P123 position sizing is so primitive, you would have to do something like use 8 ETF’s, 4 STOCK and 4 BOND. Then use 5 holdings in the sim. When you’re ‘bond rule’ triggers, you set max Equity weight <=25%. When you’re stock rule triggers, you set max Bond weight <=25%. ETFAssetClassWeight will let you do this.
Stu, yes this works. I just tested it and I get similar results as for the 80/20 Vanguard index fund combination. I used RSP, the equal weight ETF of the S&P500 and SPY prior to inception of RSP, for an annualized avg return of about 10%.
Stu,
looking great, thanks!
However, using it in a book is no viable way to convert it to a R2G
Geov,
yes, it’s possible to get some pretty results. As you said, the strategy pays off.
How do you switch from SPY to RSP in one sim - by using eval()?