Back to builder reference
Value ref
volumeTraded volume of the current bar, or of a bar offset bars back.
Volume is in base-asset units (shares, or coins for crypto) unless the run is configured for quote units, in which case it is multiplied by that bar's close. Reading past the start of loaded history returns NaN.
Backing types
VolumeValueRef
Required fields
None.
Optional fields
FieldTypeDescription
kindstring-offsetinteger-resolutionanyOf (2 variants)Optional higher-timeframe override for this value ref. Set it inside left/right refs such as {'kind': 'indicator', ..., 'resolution': '4h'} or {'kind': 'price', 'field': 'close', 'resolution': '4h'}. Do not put timeframe/source_timeframe on the parent condition. None = strategy timeframe.symbolanyOf (2 variants)Optional reference symbol this value ref reads from (e.g. 'SPY'). None = the traded/primary symbol. Mutually exclusive with resolution.Backing types
The IR ValueRef classes this builder field resolves to.
VolumeValueRef