getLatestPreviousAssetHistoryWithShares

@Nullable
open fun getLatestPreviousAssetHistoryWithShares(@Nullable currentHistory: @Nullable PortfolioAssetHistory): @Nullable 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.