Date Set

Create sets of dates for use in other tools.

1. Overview

The Date Set tool lets you define collections of dates using filters, similar to how the Explorer filters objects. Date sets can be used in Charts as overlays, in Tables, and in HHLang expressions.

2. Getting Started

  1. Open Date Set from the Start Menu.
  2. Click filter buttons in the ribbon to add date filters.
  3. The result panel at the bottom shows the computed dates, updating live as you adjust filters.
  4. Save the document to reuse this date set in other tools.

3. How It Works

Like the Explorer, the Date Set uses a chain of filters applied sequentially. Start with all possible dates, then narrow down using filters. Each filter appears as a collapsible panel where you configure its parameters.

The result updates live as you adjust filter settings.

4. Filter Types

FilterDescription
Dates in RangeSpecify a start and end date to include only dates within that range.
Relative DatesSelect dates relative to today (e.g., last 30 days, this quarter, year to date).
By Property/MetricSelect dates where a metric meets a condition (e.g., days when the S&P 500 return was positive).
HolidaysInclude or exclude market holidays from the set.
FrequencyFilter to specific frequencies (daily, weekly, monthly).
Union/IntersectionCombine multiple date sets using set operations.
Custom ExpressionDefine dates programmatically with HHLang code.

Available filter types are built dynamically based on system configuration. The filters shown in the ribbon may vary.

5. Result Panel

The result panel at the bottom shows all dates that pass through the filter chain, displayed in chronological order. For intraday date sets, times and timezone information are also shown.

6. Evaluation Context

The "value on date" setting controls the date context for metric-based filters. Adjust this when your filters depend on time-sensitive calculations.

7. Exporting

Note: Intraday range date sets cannot be exported.

8. Using Date Sets in Other Tools

9. Tips

10. See Also