Skip to content

parseOfacActions ​

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

parseOfacActions(html, subject?, limit?): NewsItem[]

Defined in: src/sources/ofac.ts (declaration: sources/ofac.d.ts:18)

Parses the recent-actions listing.

An empty subject matches everything here rather than nothing: unlike the fixed market-news feeds this page is already scoped to one publisher's actions, so an unfiltered read is the useful default.

Parameters ​

html ​

string

subject? ​

SubjectMatchTerms

limit? ​

number

Returns ​

NewsItem[]

Last updated:

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