quantlab.utils.watermark.holds#

quantlab.utils.watermark.holds(through, day)[source]#

Return whether a watermark already reaches day.

A snapshot pulled once a day skips a pull whose day its watermark holds.

Examples

>>> holds(date(2026, 10, 16), date(2026, 10, 16))
True
>>> holds(None, date(2026, 10, 16))
False