Hi,

I have started recently and this question might be obvious.

I would like to have portfolio without any leverage and it will always be split among few instruments.

I see SetHoldings() is per instrument, so do I have to liquidate everything before calling setHoldings on each instrument with their weights or is there a better way that 

does not liquidate unnecessarily if weights do not change for example?

Any library function that can be called for example,

Portfolion(symbols_and_weights) 

 

Thank you.