I'm building an FX Cross-Currency Basis (CIP) dashboard in CodeBook using the lseg.data Python library. The dashboard needs to anchor a "Net Change since London 00:00" calculation across ~50 OTC RICs.
What's working
I've found that lseg.data.content.historical_pricing.summaries.Definition() works beautifully for OTC FX instruments at 1-minute resolution:
from lseg.data.content import historical_pricingreq = historical_pricing.summaries.Definition( universe="EUR1MV=", interval=historical_pricing.Intervals.MINUTE, start="2026-05-07T00:00:00", end="2026-05-07T00:05:00",)resp = req.get_data()df = resp.data.df
This returns the exact London 00:00 minute bar for FX outrights, swap points, spot, and even direct CBS RICs (GBPCBS3M=, JPYCBS3M=).
My questions
1. OIS rates are illiquid at 00:00 London — ~15 of my 49 RICs return empty at exactly 00:00 London because OIS doesn't quote overnight. Examples:
EUREON1M=GBP1MOIS=CHF1MOIS=USD1MOIS=
What is the recommended approach? Should I:
- (a) Look back X minutes/hours until I find a quote?
- (b) Use the previous day's
DAILY close as the baseline? - (c) Use a specific fixing RIC I'm unaware of?
2. Why does ld.get_history() return empty for these RICs but historical_pricing.summaries works? Is there a documented difference in entitlements or data sources between the two paths?
3. Direct CBS RICs (GBPCBS3M=, JPYCBS3M=) — these work for GBP and JPY but most other G10 currencies return empty for sub-1Y tenors. Is this a data availability issue or am I using the wrong RIC family for, say, EUR or AUD short-tenor basis?
4. IPA cross module — I'm using lseg.data.content.ipa.financial_contracts.cross.Definition to compute live FX forwards (spot + swap points + outright). For the historical baseline, is there an IPA equivalent that lets me pass valuation_date="2026-05-07T00:00:00" to get the historical fair value, or is the historical_pricing.summaries approach the only path?
Environment
- LSEG Workspace + CodeBook
lseg-data version 2.0.1- Python 3.8
Any guidance from the LSEG team or other community members would be greatly appreciated.
Thanks!