Whenever I invest in a pie, I would like to invest in a way that it rebalances the pie. While we can have a 2 step process for it - first invest and rebalance or vice versa, we lose transaction fee on buying something that’s already high in the pie and then selling it.
Can we have something that rebalances the pie while investing? (Invest only the remaining amount needed in each share. Sell only if necessary)