Inter-day time series
An inter-day time-series covers intervals greater than one day, such as one week, one month, or one year. Use the SF_TIMESERIES() function and set the period argument to the desired interval.
=SF_TIMESERIES(symbol, startDate, endDate, period, metric, options)symbolis the stock or coin ticker symbol, either as a cell reference or a string (e.g."AAPL").startDateandendDateare in ISO formatYYYY-MM-DD.periodset to one of the inter-day intervals listed below.metricselects which data to return. Leave blank or use"all"to return every metric.optionsformat the output. Use"-"for descending order and"NH"for no header.
=SF_TIMESERIES("AAPL", "2020-01-01", "2023-10-26", "1week", "all")Inter-day intervals
The supported inter-day intervals are:
1 week (
"1week")1 month (
"1month")1 year (
"1year")
There are no date-range limits for inter-day time series.
Inter-day metrics
The available inter-day metrics are:
All (
"all")Date (
"date")Open (
"open")High (
"high")Low (
"low")Close (
"close")Volume (
"volume")
Sheet space: This function returns multiple rows. If any cell in the target range already contains data, you will see a #REF! error: "Array result was not expanded because it would overwrite data in XX". Clear the area before entering the function.