Retrieving the investment details of a loan account