Hi there
I am calling up the content of the portfolios i created/maintain in PAL (WORKSPACE).
api call : rd.content.fundamental_and_reference.Definition(universe[thisPortfolioCall],fields = refinitivFieldsToGetLoc).get_data()
where:
thisPortfolioCall is a single portfolio like 'Portfolio(SMIconstituents)'
refinitivFieldsToGetLoc is data i need like
['TR.CompanyReportCurrency', 'TR.PriceClose.Currency', 'TR.PortfolioShares', 'TR.PriceClose(SDate=2023-09-18)', 'TR.PriceClose(SDate=2023-09-18, CURN=USD)', 'TR.PortfolioWeight', 'TR.CompanyMarketCap']
It works but it is veeeery slow, like 2 min for 28 portfolios with a total of about 350 assets in them all.
Normal?
Better way?
Cheers for pointers
Alfred