Skip to content

cotDataSource ​

Import from: @xbbg/xnews

cotDataSource(family, options?): DataSource<CotRow>

Defined in: src/sources/cot.ts (declaration: sources/cot.d.ts:86)

Binds one COT dataset (with fixed query options) to the data lane's generic machinery — fetchDataRelease and createDataReleaseWatcher. Per-call transport options override the bound options.

Parameters ​

family ​

CotReportFamily

options? ​

CotFetchOptions

Returns ​

DataSource<CotRow>

Last updated:

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