Why do I get an Invalid Field error when using FETCH command with a field from Bloomberg using Datafeed Toolbox 3.4 (R2009b)?
4 views (last 30 days)
Show older comments
I am using the Bloomberg FETCH function as follows:
D = fetch(C,strcat(tick_cmdty, 'Comdty'),'HISTORY',{'30DAY_IMPVOL_100.0MNY_DF','3MTH_IMPVOL_100.0%MNY_DF','6MTH_IMPVOL_100.0%MNY_DF','12MTH_IMPVOL_100.0%MNY_DF'}, date_start,date_end);
and I get the following error:
??? Error using ==> bloomberg.fetch>getfieldids at 868
Invalid field - 30DAY_IMPVOL_100.0%MNY_DF
Error in ==> bloomberg.fetch at 408
[fids,f,ftypes,bbcurrency] = getfieldids(1,varargin);
Error in ==> Export_02232010mn at 147
D = fetch(C,strcat(tick_cmdty, 'Comdty'),'HISTORY',{'30DAY_IMPVOL_100.0%MNY_DF','3MTH_IMPVOL_100.0%MNY_DF','6MTH_IMPVOL_100.0%MNY_DF','12MTH_IMPVOL_100.0%MNY_DF'}, date_start, date_end);
Accepted Answer
MathWorks Support Team
on 17 Nov 2010
Bloomberg may have updated the fields after the release of Datafeed Toolbox 3.4 (R2009b).
Open the folder which contains the file 'bbfields.mat'. You may do so by executing the following on the MATLAB command prompt:
winopen([matlabroot '\toolbox\datafeed\datafeed\@bloomberg'])
Rename the file to 'bbfields.mat.old'.
Download the attached file in this folder and reload the data in MATLAB.
load @bloomberg/bbfields
0 Comments
More Answers (0)
See Also
See Also
Categories
Find more on Bloomberg Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!