Are synchronous IQFEED data queries possible in Datafeed Toolbox 4.5 (R2013a)?
Show older comments
All IQFEED data query functions, including 'history' and 'timeseries', return data asynchronously. This is in contrast to the implementations of 'history' and 'timeseries' for Bloomberg connections. I would like to know if there is a way to achieve synchronous behavior (i.e. concurrent function return and data variable creation) with an IQFEED connection.
Accepted Answer
More Answers (1)
Yair Altman
on 12 Jan 2020
Edited: MathWorks Support Team
on 19 Apr 2021
For anyone interested, the IQML (IQFeed-Matlab) connector enables both synchronous (blocking) and asynchronous (background) queries. A simple usage example:
data = IQML('history', 'symbol','IBM,AAPL,MSFT,GOOG'); % synchronous (blocking)
IQML('history', 'symbol','IBM,AAPL,MSFT,GOOG'); % asynchronous (non-blocking)
This ability is especially important for different queries. For example, we typically want history and market snapshot queries synchronously, but streaming quotes asynchronously. IQML enables full flexibility in this regard, as well as supporting parallelization (using the Parallel Computing Toolbox) for top performance of synchronous queries.
Categories
Find more on Time Series Collections in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!