Interactive broker timeseries vs history?

2 ビュー (過去 30 日間)
Azura Hashim
Azura Hashim 2020 年 1 月 27 日
回答済み: Yair Altman 2020 年 1 月 29 日
What is the difference between Interactive Broker timeseries and history functions? They seem to be returning the same data. Didn't get a real answer when I contacted support

回答 (1 件)

Yair Altman
Yair Altman 2020 年 1 月 29 日
Both of these functions in the Trading Toolbox call IB's reqHistoricalDataEx function internally, but for some reason Mathworks chose to make a distinction between historic data for full days (period=day/week/month) and intraday data (barSize<1 day). Note that these 2 functions are not consistent in the order of the input arguments and their name (period/barSize), although they use the same basic internal mechanism.
As an alternative that offers consistency and additional flexibility in the historic data parameters, you could try my independent IB-Matlab connector.

カテゴリ

Help Center および File ExchangeTransaction Cost Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by