matlab - MATLAB 2018b - Datafeed Toolbox:从 Bloomberg 检索特定时间范围的刻度数据
问题描述
我正在尝试使用 MATLAB 2018b 及其 Datafeed 工具箱从 Bloomberg 检索特定时间范围内特定代码的刻度数据。在 Datafeed Toolbox 中“timeseries”函数的文档中,我找到了一个完全符合我需要的示例:
https://nl.mathworks.com/help/datafeed/blp.timeseries.html#mw_8b6c8864-9224-4345-973a-086c90603948
但是,在运行示例代码时,也可以使用以下命令在 MATLAB 中打开示例本身
openExample('datafeed/RetrieveTimeSeriesTickDataForDateTimeRangeWithFieldExample')
我收到以下错误:
Error using blp/timeseries (line 463)
Java exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
Error in deleteme (line 9)
d = timeseries(c,s,{startdate:enddate,starttime,endtime},interval,field);
有没有人熟悉这个错误和可能的修复?或者有没有可用的解决方法?
提前感谢您的回复!
解决方案
推荐阅读
- linux - 结合两个否定的文件检查条件(-f 和 -s)似乎返回不正确的结果
- arrays - 返回数组中数字的总和,忽略数字部分除外
- javascript - 如何在本地存储从 API 检索到的数据并使用 Javascript 以相等的时间间隔更新这些数据?
- ruby-on-rails - 为什么redis返回更多的值而不是计数?
- c# - ASP.NET Core 3 - 带有 Kestrel 和 IIS Express 的 Web.config?
- google-apps-script - 如何显示在特定单元格中运行宏的用户的名称?
- r - 如何计算多个数据帧中值的出现次数
- css - 有没有办法让文本粘在 div“边框”上?
- java - 弱订阅 Observable
- flutter - 如何编辑捕获的图像,如 WhatsApp?意味着裁剪图像,画线,在颤动中捕获的图像上添加文本,表情符号和过滤器