Investment Studio > Expressions > Functions > Lookup > ASSET_VOLUME
float asset_volume(integer asset_index, date quote_date)
Returns the trading volume in the asset identified by asset_index on the specified quote_date.
Note that how volume is measured may vary depending on the data source. While it's customary to report the number of traded shares (or equivalent trading units) there are also other conventions, like the total value of all trades. Be sure to understand which convention is being used by your data providers.
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_close, asset_currency, asset_high, asset_low, asset_nav, asset_open, asset_quotes, asset_units.