MATLAB Answers

Listener for receiving real time data through DataFeed Toolbox

2 views (last 30 days)
swen swin
swen swin on 30 Sep 2019
Answered: Yair Altman on 12 Jan 2020
I'm trying to receive data from IQFeed using the Datafeed toolbox.
I would like to listen to real time data, and the API seems to provide for that, since I can specify an EventListener and an EventHandler. However, I have not been able to set this up correct, I can get the EventListener registered and activated once, but the handler is never called.
Can anyonme point to an example that works for receiving real time data and get code executed whenever new data arrives.
Thanks!

Answers (1)

Yair Altman
Yair Altman on 12 Jan 2020
Consider using my IQML (IQFeed-Matlab) connector as an alternative. IQML enables both synchronous (blocking) and asynchronous (background) queries, that are fetched either serially or in parallel (using the Matlab Parallel Computing Toolbox). A simple usage example:
data = IQML('history', 'symbol','XIV,AAPL,MSFT,GOOG', 'UseParallel',true);
IQML was developed with top performance, reliability and usability in mind, and supports 100% of IQFeed's API functionality. It is fully documented, continuously maintained/improved, and I am happy to provide support.
Note: I am an independent software developer and not a MathWorks employee. Don't get angry at me for bringing an independent alternative to the table...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!