I am trying to use the blp/history function to define the override option 'BETA_OVERRIDE_START_DT'.
The date string that I have specified, '20120319', works with getdata.
For example,
d = getdata(c,'AC* MM Equity','BETA_ADJ_OVERRIDABLE',{'BETA_OVERRIDE_REL_INDEX','BETA_OVERRIDE_START_DT'},{'MEXBOL Index','20120319'});
However, when I use the same date string with the HISTORY function I get the error:
Cannot convert input into specified date string.
I am using the HISTORY function in the following manner:
d = history(c,'AC* MM Equity','BETA_ADJ_OVERRIDABLE',overrideOption2)
Where overrideOption2 is…
'BETA_OVERRIDE_REL_INDEX' 'MEXBOL Index'
'BETA_OVERRIDE_START_DT' '20120319'
Why do I get this particular error with HISTORY function?
Best Answer