Skip to content

close()

Get the closing price from a candlestick aggregate

Since 1.14.0

Get the closing price from a candlestick aggregate.

The syntax is:

close(
candlestick Candlestick
) RETURNS DOUBLE PRECISION
NameTypeDefaultRequiredDescription
candlestickCandlestick-✔Candlestick aggregate
ColumnTypeDescription
closeDOUBLE PRECISIONThe closing price. If more than one tick has the latest timestamp, which price is returned depends on the order in which the aggregate processes the input.