How to fetch TSX financial data or other exchange data
3 views (last 30 days)
Show older comments
How to fetch TSX financial data or other exchange data using datafeed toolbox. It is nice and simple for major stocks, but when it comes to stocks on different exchanges like NASDAQ, TSX, etc. it becomes more complicated and there is no help about it. For example if I want to retrieve MLF-UN.TO, what should I write in the fetch command? Thank you
0 Comments
Answers (1)
Kawee Numpacharoen
on 2 Nov 2016
Edited: Kawee Numpacharoen
on 2 Nov 2016
In case of yahoo finance, you can simply use 2 lines of code here
>> c = yahoo;
>> price = fetch(c,'MLF-UN.TO')
price =
struct with fields:
Symbol: {'MLF-UN.TO'}
Last: 8.41
Date: 736636.00
Time: 0.58
Change: -0.10
Open: 8.50
High: 8.50
Low: 8.41
Volume: 6369.00
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!