There are 3 important parameters: bucket_span, query_delay, and frequency
bucket_span is the analytics aggregation interval
frequency is how often the data is queried via the datafeed
query_delay is the total offset (from "now")
In other words, having a query_delay of 1d doesn't make the query more expensive or the time range bigger. It is purely a lag behind real-time.
