Skip to content

Adapters

One adapter per bank (src/cbtone/sources/<bank>.py), each documented in docs/sources/<bank>.md. All HTTP goes through PoliteFetcher: it honours robots.txt, waits at least 2 s between requests to a host, identifies itself with a descriptive User-Agent, and caches every raw response under data/raw/<bank>/ with its SHA-256.

Counts are from corpus snapshot 2026-10-14+ed5a49c2... (see PROGRESS.md).

Bank Code Documents Languages Role Text redistributable Source notes
Federal Reserve fed 535 en headline yes fed.md
European Central Bank ecb 575 en headline statements yes; press conferences no ecb.md
Bank of England boe 567 en headline no boe.md
Reserve Bank of Australia rba 452 en headline yes (CC BY 4.0) rba.md
Monetary Authority of Singapore mas 62 en headline no mas.md
Bank Indonesia bi 256 en, id headline no bi.md
Bank Negara Malaysia bnm 280 en, ms headline no bnm.md
Bank of Thailand bot 143 th, en opt-in, excluded from headline no bot.md
People's Bank of China pboc 65 zh exploratory no pboc.md
BIS policy rates (decision table input) n/a n/a n/a data source see notes bis.md
Market series n/a n/a n/a data source not committed markets.md

Terms of use for every source, and what is committed for each, are in LICENSES.md. If a site blocks automated access, the adapter stops for that bank and the URLs a human should download are listed in NEEDED.md (MAS is the known case).

To add a bank, see the cookbook.