Datafeed toolbox - IQFeed fails with a callback error?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!