I am calling the 'timeseries' function from the Datafeed toolbox to try to get after-hours bar data for AMZN. However, I am getting the following error:
Error using blp/timeseries (line 267)
Java exception occurred:
com.bloomberglp.blpapi.NotFoundException: Element Definition: includeNonPlottableEvents not found in:
IntradayBarDateTimeChoiceRequest
This is how I am calling 'timeseries':
bbgc = blp;startdate=datenum(datetime(2019,1,31));enddate=datenum(datetime(2019,1,31));starttm='14:00:00';endtm='20:00:00';res.trd = timeseries(bbgc, {'AMZN US Equity'}, {startdate:enddate,starttm,endtm}, 60, 'Trade',...{'includeNonPlottableEvents'},{'true'})
Best Answer