alpha-xone / xbbg

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

Need to know end date for discontinued tickers for BDH #112

Closed SiddharthSSethi closed 1 month ago

SiddharthSSethi commented 2 months ago

Trying to get data for a LIBOR ticker that stopped in 2021 by providing just the start date and end date defaulting to today - doesn't return anything. But if I give a proper end date (where data was available)- it does return values. Normal BDH function in excel doesn't care about this and returns to the max(last date of available data, end date). Can we please solve this? Otherwise one needs to know the exact last data entry date for all the tickers over which BDH is called. Thanks for your help!

SiddharthSSethi commented 1 month ago

It should work if you just specify the start date. Wouldn't need the end date.