use graph api for portfolio