Why do I get the error "Undefined function or variable 'processBarEvents'." when executing Bloomberg data retrieval for intraday tick data with "timeseries"?
조회 수: 2 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2024년 12월 5일
답변: MathWorks Support Team
2024년 12월 12일
I am using the Datafeed toolbox to perform Bloomberg Desktop data retrieval for intraday tick data using the "timeseries" function, however I find that when I run the following code to do this:
c = blp;
temp = timeseries(c, 'SPY US Equity', {datestr(now-(2*365), 'mm/dd/yyyy HH:MM:SS'), ...
datestr(now, 'mm/dd/yyyy HH:MM:SS')}, (5/(24*60))*60*24, 'Trade');
I get the following error:
Undefined function or variable 'processBarEvents'.
Error in blp/timeseries (line 446)
v = bBarTsObj.processBarEvents(blpUuid, blpIdentity, b.session);
Why could this error be occurring?
채택된 답변
MathWorks Support Team
2025년 1월 2일
This issue occurs when using an outdated version of the "blpapi3.jar" file which ensures that Bloomberg commands work correctly.
To resolve this you can get the latest version of the JAR file using the
WAPI <GO>
command from the Bloomberg Terminal.
Please see the Installing Bloomberg and Configuring Connections documentation page for details on how to add the updated JAR file to the MATLAB Java Class Path.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Bloomberg Desktop에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!