Hi, I'm currently using SetHoldings to update my portfolio weights at given points in time using a list of PortfolioTarget objects. How do I alter the amount of cash I have? Let's say my current equity is comprised of a portfolio with 20% AAPL, 70% TSLA and 10% cash. Let's say I desire 30% AAPL, 40% TSLA and 30% cash for the upcoming time period. Is there anyway, to leverage the power of SetHoldings and alter my cash position across my current equity?

Python solutions are preferable! Thanks!

 

Author