Skip to content

parseDtccSliceCatalog ​

Import from: @xbbg/xnews, @xbbg/xnews/parsers

parseDtccSliceCatalog(body, options?): DtccSliceCatalogEntry[]

Defined in: src/sources/dtcc.ts (declaration: sources/dtcc.d.ts:67)

Parses a PPD slice-catalog JSON body. Entries are returned ascending by sliceId — publication order — regardless of the API's ordering. Entries without the catalog's own download URL get one built from agency (default "cftc") and dataBaseUrl.

Parameters ​

body ​

string

options? ​

Pick<DtccFetchOptions, "agency" | "dataBaseUrl">

Returns ​

DtccSliceCatalogEntry[]

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.