Skip to content

Node.js public surface

@xbbg/core brings the shared engine to Node.js.

Use the same Rust-backed Bloomberg data runtime from services written in TypeScript or JavaScript: typed requests, async execution, enterprise connectivity, and Arrow-native output.

What you get

Direct Node.js package

Install @xbbg/core from npm and call Bloomberg data workflows directly inside a Node.js process.

Same request model

Use the same session configuration, auth, transport, retry, subscription, and output semantics as the Python package.

Generated TypeScript reference

The API reference is generated from the published TypeScript surface so docs stay aligned with the package.

Shared Rust / Arrow core

Sessions, worker pools, Bloomberg C++ SDK integration, and Arrow-native data handling are shared across Python and Node.js.

Public surface today

  • Bloomberg data request helpers for point-in-time, historical, bulk, intraday bar, tick, and subscription workflows
  • Structured EngineConfig support for host/port, ordered failover, auth, TLS, ZFP, SOCKS5, and recovery tuning
  • Public namespaces such as xbbg.blp and xbbg.ext for core requests and higher-level helpers
  • Fixed-income and analytics helpers such as YAS, corporate bonds, preferreds, BQR, curves, and government securities where exposed by the generated package surface
  • Arrow-native tables and a generated TypeScript reference for the current package surface

Quick example

ts
import * as xbbg from '@xbbg/core';

xbbg.configure({ host: 'localhost', port: 8194 });

const hist = await xbbg.blp.abdh(
  ['AAPL US Equity'],
  ['PX_LAST'],
  '2024-01-01',
  '2024-01-31',
);

Runtime model

  1. 01Configure once

    Set Terminal, B-PIPE, ZFP, TLS, SOCKS5, failover, and auth settings at process startup.

  2. 02Await requests

    Use async helpers and subscriptions without building a separate Bloomberg integration for Node.js.

  3. 03Consume typed output

    Receive Arrow-backed tables or JavaScript objects depending on the helper and backend choice.

Next steps

npm package

Open the public package page for @xbbg/core.

Installation

Install @xbbg/core and understand the native package distribution model.

API Surface

See every public export from the TypeScript package source.

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