Trading Toolbox not working

Hello,
I have a student licence for MATLAB + Trading Toolbox. I downloaded and installed both correctly. I can open matlab and run standard commands.
However, when I try to run commands in the Trading Toolbox I get an error. For example, the code
data = getYahooDailyData('TSLA', '01/01/2011', '10/31/2013', 'dd/mm/yyyy');
returns an error
Undefined function or variable 'getYahooDailyData'.
Something similar happens with other functions, such as the "ibtws" function. Do I have to activate the trading toolbox somehow?
Thank you and best,

3 个评论

fq - have you downloaded the Yahoo functions from Download Daily Data from Google and Yahoo! Finance? Or are they included as part of the "Trading Toolbox"?
I think that they are included in the Trading toolbox.
Can you confirm that you have this function? What does the following return?
which getYahooDailyData -all

请先登录,再进行评论。

回答(1 个)

John D'Errico
John D'Errico 2019-3-9
编辑:John D'Errico 2019-3-9

0 个投票

I don't have the trading toolbox. Can we trade for it? ;-)
Seriously, as far as I can tell, this is not directly part of the trading toolbox. Consider this link, where it is shown as a FEX pick of the week.
So you need to download that function from here:
I'm not sure about ibtws. In fact, I can hardly spell it. ;-) A search for "ibtws matlab" gave me this link however:

类别

在 帮助中心 和 File Exchange 中查找有关 Transaction Cost Analysis 的更多信息

标签

提问:

fq
2019-3-8

Community Treasure Hunt

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

Start Hunting!

Translated by