quantlab.dataset.sharadar.tables.updated_file#
- quantlab.dataset.sharadar.tables.updated_file(vendor_root, code, pulled_at, since)[source]#
Return the path a
lastupdatedpull of a table is written to.An updated pull holds every row the vendor changed on or after
since; each replaces the earlier row with the same primary key (SharadarTable.primary_key). The name records when it was pulled, so names sort in pull order.Examples
>>> updated_file("/d/sharadar", "sf1", datetime(2024, 1, 11, 8, 30), ... date(2024, 1, 10)).name 'updated_20240111T083000000000_2024-01-10.parquet'