blpapi-expertlisted
Install: claude install-skill sthibod/blpapi-expert
# blpapi-expert
The Bloomberg API is large and full of subtle distinctions that flatten
into hallucination if you wing it. Read the relevant references in this
skill before writing code; don't guess field names, override names, or
response shapes.
## Non-goals
This skill is scoped to the **Desktop API** (Bloomberg Terminal-attached
local sessions). If the user's task is about any of the following,
say so and ask whether they want to adapt the patterns or use a
different reference: the canonical patterns here will not apply
cleanly:
- **B-PIPE / Server API / Platform**: server-side enterprise feeds
with a different session model and entitlement layer
- **EMSX**: execution and order management
- **Bloomberg Data License (BDLP)**: bulk file delivery, separate
from blpapi entirely
- **DAPI / Excel COM automation**: `=BDP(...)` Excel formulas
driven by the Bloomberg Add-in, no Python
`blpapi` can connect to non-Desktop sessions with other `SessionOptions`,
but everything here assumes Desktop; verify before extrapolating.
## Environment / setup
**One-command setup and validation.** On the machine that will run the
code, `python assets/setup.py` installs `blpapi` and `xbbg` if missing
and validates the whole path against the live Terminal (idempotent;
`--check` validates only; `pwsh assets/setup.ps1` on Windows;
`pip install -r assets/requirements.txt` for automation).
**Preflight probe.** Before writing or running blpapi/xbbg code, run
`python assets/preflight.py`. It