Can I use the function HISTORY with multiple security inputs for IQFEED data in MATLAB (R2013a)?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 25 日
編集済み: MathWorks Support Team
2021 年 3 月 2 日
I want to use the IQFeed commands to get history or real-time data for a list of securities.
I can connect using IQF and get history data using the HISTORY command. The problem is the data is for a single security and it is returned asynchronously. Therefore, I would have to call history and then wait for it to return data and then call it again for another security.
Is there a way I can call HISTORY with multiple security inputs?
採用された回答
MathWorks Support Team
2013 年 10 月 25 日
Unfortunately, as of MATLAB (R2013a), it is not possible to call the functions HISTORY on IQFEED data, with multiple security inputs.
An enhancement request has been submitted to our developers to consider this feature in future releases.
0 件のコメント
その他の回答 (1 件)
Yair Altman
2020 年 1 月 12 日
編集済み: MathWorks Support Team
2021 年 3 月 2 日
For anyone interested, the IQML (IQFeed-Matlab) connector enables querying multiple securities at once, specified as either a cell-array of symbols, or a single string of comma-delimitted symbols.
These securities can be fetched serially or in parallel (using the Matlab Parallel Computing Toolbox), synchronously or asynchronously (in the background).
A simple usage example:
data = IQML('history', 'symbol','IBM,AAPL,MSFT,GOOG', 'UseParallel',true);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!