Skip to content

parseDtccTradeZip ​

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

parseDtccTradeZip(bytes, context?): Promise<DtccTradeEvent[]>

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

Parses a DTCC slice or cumulative ZIP into normalized events. The archive is expected to carry exactly one CSV; extra non-CSV members are ignored and a CSV-less archive throws.

Parameters ​

bytes ​

Uint8Array

context? ​

fileName? ​

string

limit? ​

number

Returns ​

Promise<DtccTradeEvent[]>

Last updated:

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