I have an Excel function that I want to move into Python. The BDP function is:
=BDP("IBM US Equity","BEST_EBITDA","BEST_FPERIOD_OVERRIDE","1FY")
from tia.bbg import LocalTerminal
resp = LocalTerminal.get_reference_data("IBM US Equity", "BEST_EBITDA")
how do I add overrides to this request?
Just passing the override as an additional parameter should work:
resp = LocalTerminal.get_reference_data("IBM US Equity", "BEST_EBITDA",
BEST_FPERIOD_OVERRIDE="1FY")