Baselight
Sign In
Loading...Loading chart...
1SELECT
2  DATE_TRUNC('month', date) AS month,
3  ROUND(AVG(close), 2) AS avg_price,
4  ROUND(MAX(close), 2) AS high_price,
5  ROUND(MIN(close), 2) AS low_price
6FROM
7  "@yahoo.finance.daily_prices"
8WHERE
9  symbol = 'BAR'
10GROUP BY
11  DATE_TRUNC('month', date)
12ORDER BY
13  month ASC
monthavg_pricehigh_pricelow_price
2017-09-01 00:00:00+0013.1513.512.82
2017-10-01 00:00:00+0012.813.0112.68
2017-11-01 00:00:00+0012.8212.9512.68
2017-12-01 00:00:00+0012.6413.0312.37
2018-01-01 00:00:00+0013.313.5413.09
2018-02-01 00:00:00+0013.2913.5313.12
2018-03-01 00:00:00+0013.2413.5413.1
2018-04-01 00:00:00+0013.3413.4913.16
2018-05-01 00:00:00+0013.0313.1912.87
2018-06-01 00:00:00+0012.7913.0112.47
2018-07-01 00:00:00+0012.3512.5712.2
2018-08-01 00:00:00+0011.9812.1411.72
2018-09-01 00:00:00+0011.9512.0511.82
2018-10-01 00:00:00+0012.1312.3111.86
2018-11-01 00:00:00+0012.1812.3111.97
2018-12-01 00:00:00+0012.4912.7912.27
2019-01-01 00:00:00+0012.913.1612.77
2019-02-01 00:00:00+0013.1513.3813.02
2019-03-01 00:00:00+0012.9713.1912.82
2019-04-01 00:00:00+0012.8213.0512.69
2019-05-01 00:00:00+0012.813.0212.67
2019-06-01 00:00:00+0013.5714.1813.21
2019-07-01 00:00:00+0014.1114.4113.8
2019-08-01 00:00:00+0014.9915.3914.37
2019-09-01 00:00:00+0015.0115.4914.71
2019-10-01 00:00:00+0014.8915.0514.75
2019-11-01 00:00:00+0014.6515.0614.48
2019-12-01 00:00:00+0014.7615.1114.55
2020-01-01 00:00:00+0015.5615.8115.23
2020-02-01 00:00:00+0015.8916.5115.48
2020-03-01 00:00:00+0015.8216.7114.63
2020-04-01 00:00:00+0016.8117.2815.85
2020-05-01 00:00:00+0017.1117.4216.84
2020-06-01 00:00:00+0017.2917.7416.73
2020-07-01 00:00:00+0018.4119.6517.65
2020-08-01 00:00:00+0019.5920.5118.98
2020-09-01 00:00:00+0019.1219.618.51
2020-10-01 00:00:00+0018.919.1818.59
2020-11-01 00:00:00+0018.5719.417.67
2020-12-01 00:00:00+0018.4918.8918.03
2021-01-01 00:00:00+0018.5519.3918.14
2021-02-01 00:00:00+0017.9518.4717.17
2021-03-01 00:00:00+0017.117.3416.7
2021-04-01 00:00:00+0017.517.8417.16
2021-05-01 00:00:00+0018.3918.9217.67
2021-06-01 00:00:00+0018.2118.9617.5
2021-07-01 00:00:00+0017.9518.1717.64
2021-08-01 00:00:00+0017.7418.0717.17
2021-09-01 00:00:00+0017.6318.1617.14
2021-10-01 00:00:00+0017.6317.9317.41
2021-11-01 00:00:00+0018.0618.5317.57
2021-12-01 00:00:00+0017.7918.1517.55
2022-01-01 00:00:00+0018.0218.3317.74
2022-02-01 00:00:00+0018.4318.9517.88
2022-03-01 00:00:00+0019.3620.3519.01
2022-04-01 00:00:00+0019.1919.6218.71
2022-05-01 00:00:00+0018.3218.6917.94
2022-06-01 00:00:00+0018.2118.5617.91
2022-07-01 00:00:00+0017.1717.916.82
2022-08-01 00:00:00+0017.4817.8716.94
2022-09-01 00:00:00+0016.6417.0916.09
2022-10-01 00:00:00+0016.5117.116.11
2022-11-01 00:00:00+0017.1217.6116.17
2022-12-01 00:00:00+0017.818.0517.5
2023-01-01 00:00:00+0018.8419.2818.16
2023-02-01 00:00:00+0018.3619.3617.94
2023-03-01 00:00:00+0018.9619.7917.95
2023-04-01 00:00:00+0019.8120.2119.62
2023-05-01 00:00:00+0019.7320.2919.21
2023-06-01 00:00:00+0019.2119.5818.88
2023-07-01 00:00:00+0019.319.5818.9
2023-08-01 00:00:00+0018.9819.2418.69
2023-09-01 00:00:00+0018.9219.2118.28
2023-10-01 00:00:00+0018.9619.8618
2023-11-01 00:00:00+0019.6320.2319.15
2023-12-01 00:00:00+0020.1120.5519.57
2024-01-01 00:00:00+0020.0720.3419.83
2024-02-01 00:00:00+0020.0220.3119.69
2024-03-01 00:00:00+0021.3821.9620.59
2024-04-01 00:00:00+0023.0723.6122.18
2024-05-01 00:00:00+0023.2223.9822.75
2024-06-01 00:00:00+0022.9823.4222.61
2024-07-01 00:00:00+0023.6624.3823.01
2024-08-01 00:00:00+0024.424.9323.55
2024-09-01 00:00:00+0025.4226.424.6
2024-10-01 00:00:00+0026.5727.5125.76
2024-11-01 00:00:00+0026.1727.0925.3
2024-12-01 00:00:00+0026.0426.8125.58
2025-01-01 00:00:00+0026.7827.6526.01
2025-02-01 00:00:00+0028.5829.1227.81
2025-03-01 00:00:00+0029.4630.8428.47
2025-04-01 00:00:00+0031.7833.7829.34
2025-05-01 00:00:00+0032.4133.7631.38
2025-06-01 00:00:00+0033.0633.8732.26
2025-07-01 00:00:00+0032.9533.8532.23
2025-08-01 00:00:00+0033.2334.0732.7
2025-09-01 00:00:00+0036.2738.0634.89
2025-10-01 00:00:00+0039.9943.1738
2025-11-01 00:00:00+0040.2441.5538.83
2025-12-01 00:00:00+0041.6642.3741.31

Share link

Anyone who has the link will be able to view this.