Listener for receiving real time data through DataFeed Toolbox

5 次查看(过去 30 天)
swen swin
swen swin2019-9-30
回答: Yair Altman ,2020-1-12
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!

回答(1 个)

Yair Altman
Yair Altman 2020-1-12
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!

Translated by