get Latest Previous Asset History With Shares
open fun getLatestPreviousAssetHistoryWithShares(currentHistory: PortfolioAssetHistory): PortfolioAssetHistory
Find the most recent preceding history entry for the same asset where shares != 0. Returns null when input is incomplete or no such entry exists.