Repository navigation
xbbg 1.0.0a3
Pre-release
Pre-release
Added
bqr()/abqr()Bloomberg Quote Request: Tick-level dealer quotes withdate_offset(-2d,-1w,-3h),start_date/end_datedate ranges, and optionalinclude_broker_codes,include_spread_price,include_yield,include_condition_codes,include_exchange_codesparameters. Generic extractor fallback reshaped via_reshape_bqr_generic()bflds()/abflds()unified field metadata lookup: Single function for both field info (fields=[...]) and keyword search (search_spec='...').bfld/abfldprovided as backward-compatible aliases. Convenience wrappersfieldInfo()/fieldSearch()preservedinclude_security_errorsoption forbdp()/arequest(): Optionally surface per-security failures as rows in the result DataFrame instead of silently dropping them- Extension modules (
xbbg.ext):bonds(6 functions),options(6 functions + 5 enums),cdx(8 functions) for fixed income, equity options, and credit default swap index analytics - Streaming performance enhancements: Per-subscription config (
flush_threshold,overflow_policy,stream_capacity), observability metrics via shared atomics,tick_modesupport - Live integration tests: 69 tests across
test_ext_bonds.py(21),test_ext_options.py(20),test_ext_cdx.py(22) covering all ext module functions - Streaming tests: Tests for
tick_mode, per-subscription config, and observability metrics - Rust exchange/session APIs: Added low-level exchange resolution support with
ExchangeInfometadata, runtime exchange overrides, session timezone conversion utilities, andmarket_timinghelpers in the Rust layer (xbbg-ext,xbbg-async,pyo3-xbbg) - Live exchange smoke test: Added
py-xbbg/tests/live/test_exchange_resolution.pycovering override precedence, UTC session conversion, liveresolve_exchange,fetch_market_info, andmarket_timing
Changed
- README: Updated API reference tables with
bflds(), expanded BQR section with spread/yield/broker parameters and examples - Futures resolver: Aligned with
release/0.xchain methodology (FUT_CHAIN_LAST_TRADE_DATES) - CDX resolver: Aligned methodology with
release/0.x
Removed
- Legacy
xbbg/Python package directory: Fully removed; all code now lives inpy-xbbg/src/xbbg/
Fixed
- Empty
RecordBatchconstruction: Handle empty ordered RecordBatch inxbbg-asyncwithout panic - Security failure surfacing:
refdataextractor now properly surfaces per-security errors instead of silently dropping them FIELD_SEARCHextractor: Corrected to useExtractorHint.FIELD_INFOinstead of generic extractor- Unused
loggingimport inext/options.py: Removed to pass ruff lint - Test imports:
BlpInternalErrorimported from_core(Rust) instead ofexceptions(Python) - CI fixes: Resolved 4 Python test failures, clippy warnings (
too_many_arguments,SubscriptionMetricsre-export), ruff check/format violations, cargo fmt formatting, module path fortest_markets.py, Linux test runtime setup - Exchange refdata parsing shape support:
resolve_exchangenow handles both WIDE and LONG refdata responses by mapping(field, value)rows when Bloomberg returns long-shape metadata
Full Changelog: v0.12.1...v1.0.0a3