Full Description
Return the volume for a specific bar. The latest volume is bar 0, 1 the previous, and so on.
Parameters
barsAgo: access the volume of the specified bar.
series: specify a different series (see below)
Series Parameter
By default volume functions access the volume time series of the market object in context. Normally the context is the Stock or ETF currently being evaluated or ranked. In specialized Ranking Nodes the context depends on the node type. For example, in an "Industry Node" (used to rank Industries against each other), the industry benchmarks are the default context.
You can override the default behavior by specifying a different time-series. You can do this two ways:
1) by using the GetSeries("ticker/series") function. For example:
GetSeries("IBM")
2) by using one of the predefined constants below
Id |
Description |
Availability |
Freq |
#Sector |
Stock's Sector |
Stocks |
Daily |
#SubSector |
Stock's SubSector |
Stocks |
Daily |
#Industry |
Stock's Industry |
Stocks |
Daily |
#SubIndustry |
Stock's SubIndustry |
Stocks |
Daily |
#Family |
ETF's Family classification |
ETFs |
Daily |
#Country |
ETF's Country classification |
ETFs |
Daily |
#AssetClass |
ETF's Asset classification |
ETFs |
Daily |
#Region |
ETF's Region classification |
ETFs |
Daily |
#Method |
ETF's Method classification |
ETFs |
Daily |
#Style |
ETF's Style classification |
ETFs |
Daily |
#Size |
ETF's Size classification |
ETFs |
Daily |
#ETFSector |
ETF's Sector classification |
ETFs |
Daily |