Skip to content

volume()

Get the total volume from a candlestick aggregate

Since 1.14.0

Get the total volume from a candlestick aggregate.

The syntax is:

volume(
candlestick Candlestick
) RETURNS DOUBLE PRECISION
NameTypeDefaultRequiredDescription
candlestickCandlestick-Candlestick aggregate
ColumnTypeDescription
volumeDOUBLE PRECISIONTotal volume of trades within the period