quantlab.dataset.sharadar.tables.pull_time#
- quantlab.dataset.sharadar.tables.pull_time(path)[source]#
Return when a raw file was pulled, in UTC.
A window, updated pull or TICKERS snapshot carries it in its name. A bulk file’s is in
BULK_PULL_FILEbeside it; a bulk file pulled before that file existed falls back to its modification time.Examples
>>> pull_time("/d/sharadar/sep/window_20240111T083000000000_2024-01-02_2024-01-11.parquet") datetime.datetime(2024, 1, 11, 8, 30, tzinfo=datetime.timezone.utc)