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: SystemHelpLink:
I have tried with history and it gives the same error.
history(c,'GOOG',5)
Any help is appreciated.
Best Answer