moving over bigger portfolio query for api