Investment Studio > Expressions > Functions > Lookup > PORTFOLIO_SYMBOL
string portfolio_symbol(integer portfolio_index)
Returns the symbol of the portfolio identified by portfolio_index.
Portfolio indices are references to entries in Investment Studio's internal table of loaded portfolios. The table is automatically created and maintained behind the scene, and may be rearranged at any time. Portfolio indices should therefore never be specified using constants, but rather obtained through the interface methods provided by the object hosting the expression. See e.g. the discussion of lookup cells in Grid objects.
See also portfolio_currency, portfolio_first_trade, portfolio_last_trade, portfolio_name.