Skip to main content
Since 1.14.0 Get the timestamp corresponding to the closing time from a candlestick aggregate.

Arguments

The syntax is:
close_time(
    candlestick Candlestick
) RETURNS TIMESTAMPTZ
NameTypeDefaultRequiredDescription
candlestickCandlestick-Candlestick aggregate

Returns

ColumnTypeDescription
close_timeTIMESTAMPTZThe time at which the closing price occurred