Skip to content

cotReportUrl ​

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

cotReportUrl(dataset, options?): string

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

Builds the row query for a COT dataset: curated $select columns, date and market $where filters, newest-first $order, and a bounded $limit (default COT_DEFAULT_ROW_LIMIT, ceiling COT_MAX_ROW_LIMIT).

Parameters ​

dataset ​

CotDatasetDefinition | CotDataset

options? ​

CotReportUrlOptions

Returns ​

string

Last updated:

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