Skip to main content
Since 1.14.0 Get the total volume from a candlestick aggregate.

Arguments

The syntax is:
volume(
    candlestick Candlestick
) RETURNS DOUBLE PRECISION
NameTypeDefaultRequiredDescription
candlestickCandlestick-Candlestick aggregate

Returns

ColumnTypeDescription
volumeDOUBLE PRECISIONTotal volume of trades within the period