Datafeed toolbox - IQFeed fails with a callback error?
显示 更早的评论
Hi,
I have just started using MATLAB Datafeed toolbox to connect to IQFeed. My script is taken from examples in help.
c = iqf('REMOVED','REMOVED');
sec = 'IBM';
fromdate = now-0.05; % beginning of date range for intraday data
% (approximately one hour ago)
todate = now; % ending of date range for intraday data (current time today)
timeseries(c,sec,{fromdate,todate})
close(c);
However I get following error on execution.
Warning: Error occurred while executing delegate callback:
Message: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
Source: System
HelpLink:
I have tried with history and it gives the same error.
history(c,'GOOG',5)
Any help is appreciated.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!