alpha-xone / xbbg

An intuitive Bloomberg API
https://xbbg.readthedocs.io/
Apache License 2.0
244 stars 51 forks source link

BDIP: No data on US Treasuries #104

Open hacen3064 opened 11 months ago

hacen3064 commented 11 months ago

Code blp.bdib(ticker='US912810FE39 Govt', dt='2018-10-17')

Error :

KeyError: 'Cannot find exchange info for US912810FE39 Govt'

Is there a reason why bdib doesn't have data on US government bonds ? Thanks in advance

Marvelgenius commented 7 months ago

Try replacing ISIN No. with CUSIP No. as ticker.