Hi all,

My understanding of SetHoldings()/CalculateOrderQuantity() is that it will use the total portfolio value as its calculations. So if 90% of my portfolio are in existing holdings, and I wanted to SetHoldings(symbol, .2) I will not be able to fulfill the order because it is attempting to use 20% of my total portfolio.

Is there an equivalent method  to using remaining buying power and percentages? In the above example, it was will 20% of the remaining unallocated 10% of my portfolio (2%)?

 

Author