Skip to content

parseDtccTradeCsv ​

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

parseDtccTradeCsv(text, context?): DtccTradeEvent[]

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

Parses one DTCC trade CSV (the content of a slice or cumulative ZIP) into normalized events. Pure and total — text in, events out. A row without a Dissemination Identifier is format drift and throws rather than silently dropping trades.

Parameters ​

text ​

string

context? ​

fileName? ​

string

limit? ​

number

Returns ​

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.