setPortfolioValueChange

open fun setPortfolioValueChange(previousPortfolioAssetHistory: PortfolioAssetHistory, portfolioAssetHistory: PortfolioAssetHistory)

Calculate and set value and share deltas on the current history entry using an optional previous entry. If no previous is provided, the current entry's valueChange is set to 0.