Investment Studio > Expressions > Functions > Lookup > ASSET_SYMBOL

string asset_symbol(integer asset_index)

Returns the symbol of the asset identified by asset_index.

Asset indices are references to entries in Investment Studio's internal table of assets in the selected portfolio. The table is automatically created and maintained behind the scene, and may be rearranged at any time. Asset indices should therefore never be specified using constants, but rather obtained through the interface methods provided by the object hosting the expression (if need be with the aid of the transaction_asset function). See e.g. the discussion of lookup cells in Grid objects.

See also asset_currency, asset_first_trade, asset_last_trade, asset_name, asset_percent_bonds, asset_percent_cash, asset_percent_other, asset_percent_stocks.