Help calculating haram portion of profit made from mutual fund. Need to donate

My parents had set up a mutual fund (ticker SABPX) for me in October 2016. Having recently discovered that a significant portion of the fund invests in bonds, I sold all my holdings last month. Does anyone know how to calculate what percent of the profit is haram so that I may donate it? Any help or resources are appreciated. Let me know if more information is needed.