I am using "portfolio" to try to pull portfolio information from an Active Bloomberg API, but I am getting an error that says 'Invalid_Security'.
Here is my code:
c = blpp = 'NameOfPortfolio'f = {'PORTFOLIO_MEMBERS','PORTFOLIO_MPOSITION','PORTFOLIO_MWEIGHT','PORTFOLIO_DATA'}d = portfolio(c,p,f)
And the output is:
ERROR: {'INVALID_SECURITY'} PORTFOLIO_MEMBERS: {{0×1 cell}} PORTFOLIO_MPOSITION: {{0×1 cell}} PORTFOLIO_MWEIGHT: {{0×1 cell}} PORTFOLIO_DATA: {{0×1 cell}}
Best Answer