I have been struggling to find a way to allocate a set percentage of my assets to a particular portfolio so that SetHoldings will only apply to that particular percentage of my total portfolio. For example, I would like to have 90% of my money following a certain trend based strategy basewd on the overall market (lets say just moving average crossovers), and 10% of my money in another trend based strategy following Volatility instruments. Right now (since I am still a novice programmer) my portfolio continually rebalances as long as the condition for doing so is true, unless I have holdings set at absolutely nothing or 100% of one equity/instrument. Any type of solutions to these problems are appreciated - thanks in advance for any help! Let me know if you would like to see the underlying code that I am adding it to!

Author