detect_time_gaps: Detect Time Gaps

View source: R/core_local.R

detect_time_gapsR Documentation

Detect Time Gaps

Description

Detects gaps in a local time series using either a fixed or calendar frequency.

Usage

detect_time_gaps(dt, time_col, frequency, tolerance = 1e-04, tz = "UTC")

Arguments

dt

A data.table-compatible object.

time_col

Name of the time column.

frequency

Frequency string or candle interval.

tolerance

Numeric tolerance applied to fixed-interval gaps.

tz

Time zone used when coercing timestamps.

Value

A data.table describing detected gaps.


investdatar documentation built on Aug. 21, 2026, 5:17 p.m.