Why do I receive incorrect results when using multiple overrides with the Bloomberg FETCH function in Datafeed Toolbox 3.1 (R2008a)?

When I use the Bloomberg FETCH function to receive data with the following overrides,
c_b = bloomberg
bb_data1 = fetch(c_b, 'ABM LN Equity','GETDATA','Net_income',...
{'EQY_FUND_PER','EQY_FUND_YEAR'},{'SA1','2007'})
I receive NaN values,
bb_data1 =
Net_income: NaN
However, if I use either one of those overrides separately, I receive the correct result. Furthermore, the Excel Bloomberg API gives me the correct result if both overrides are used.

 Accepted Answer

This behavior occurs because 'SA1' is not a valid value for the EQY_FUND_PER override as confirmed with Bloomberg data services. The valid override values are:
Y - returns the last fiscal year end (this is the default)
Q - returns the last quarter end
Q1 - returns the Q1 of the year specified in DS324
Q2 - returns the Q2 of the year
Q3 - returns the Q3 of the year
Q4 - returns the Q4 of the year
S - returns the last semi-annual period
S1 - returns the 1st semi-annual period of the year
S2 - returns the 2nd semi-annual period of the yea
Replacing SA1 with S1 in the above function call returns the expected value.

More Answers (0)

Categories

Products

Release

R2008a

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!