> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-poc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# close()

> Get the closing price from a candlestick aggregate

<Icon icon="tag" iconType="duotone" /> Since [1.14.0][toolkit-1.14.0]

Get the closing price from a candlestick aggregate.

## Arguments

The syntax is:

```sql theme={"dark"}
close(
    candlestick Candlestick
) RETURNS DOUBLE PRECISION
```

| Name        | Type        | Default | Required | Description           |
| ----------- | ----------- | ------- | -------- | --------------------- |
| candlestick | Candlestick | -       | ✔        | Candlestick aggregate |

## Returns

| Column | Type             | Description       |
| ------ | ---------------- | ----------------- |
| close  | DOUBLE PRECISION | The closing price |

[toolkit-1.14.0]: https://github.com/timescale/timescaledb-toolkit/releases/tag/1.14.0
