Skip to content

xbbg

Python-first Bloomberg APIs powered by a shared Rust engine

This site documents the public surfaces of the xbbg monorepo: the production Python package, xbbg, and the published Node.js package, @xbbg/core. Internal Rust crates, private browser packages, and platform-specific packaging artifacts stay out of the public navigation on purpose.

xbbg (Python)

The primary public package: Bloomberg requests, streaming, async support, and backend selection for pandas, Polars, PyArrow, and more.

@xbbg/core (Node.js)

Direct Node.js access to the same Rust engine. The package is public today, but still marked experimental alpha while the API matures.

Shared Rust engine

Python and Node.js both ride on the same Rust core for transport, Arrow-native data handling, and Bloomberg session management.

Monorepo-aware docs

The navigation is organized around public packages and language surfaces instead of repo folders, so the docs scale with the monorepo.

import xbbg
xbbg.configure(host='localhost', port=8194)
prices = xbbg.bdp(
['AAPL US Equity', 'MSFT US Equity'],
['PX_LAST', 'VOLUME'],
)

The docs use top-level Python helpers like xbbg.bdp(...). If you already use the module-style import from the repository README, from xbbg import blp and blp.bdp(...) continue to work too.

Use the package map when you need to choose the right public package for a workflow, or jump straight into the Python docs or JavaScript docs.