Trading Toolbox not working
Show older comments
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 Comments
Geoff Hayes
on 8 Mar 2019
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"?
fq
on 9 Mar 2019
Geoff Hayes
on 9 Mar 2019
Can you confirm that you have this function? What does the following return?
which getYahooDailyData -all
Answers (1)
John D'Errico
on 9 Mar 2019
Edited: John D'Errico
on 9 Mar 2019
0 votes
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:
Categories
Find more on Transaction Cost Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!