fetchDtccCumulativeEvents
Import from: @xbbg/xnews
fetchDtccCumulativeEvents(
businessDate?,options?):Promise<DtccCumulativeRelease>
Defined in: src/sources/dtcc.ts (declaration: sources/dtcc.d.ts:108)
Downloads and parses a cumulative end-of-day file. With a businessDate it fetches exactly that date, resolving undefined when the file is not published (weekends, holidays, or a day whose file is not out yet — DTCC answers 403 or 404 for both). Without one it walks back from today (UTC) and returns the newest published file, honoring ifNewerThan as a skip hint and since/until as date bounds.
Parameters
businessDate?
string
options?
Returns
Promise<DtccCumulativeRelease>
